OSDN Git Service

modified: src/strokes.txt
[kp123/kp123.git] / src / Makefile.am
index 4a9a038..97df8b8 100644 (file)
@@ -1,10 +1,16 @@
 
 bin_PROGRAMS = kp123
+pkgdata_DATA = strokes.txt
+
+DATADIR2 = @datadir@
 
 kp123_SOURCES =        kp123.c \
                padarea.c \
                recognize_stroke.c \
-               recognize_kanji.c
+               recognize_kanji.c \
+               recognize_extra.c
+
+DEFS = -DKP123_DATADIR=\"$(DATADIR2)/$(PACKAGE)\"
 
 AM_CFLAGS = @GTK_CFLAGS@ -Wall -funsigned-char