OSDN Git Service

modified: src/strokes.txt
[kp123/kp123.git] / src / Makefile.am
index 364b594..97df8b8 100644 (file)
@@ -1,5 +1,8 @@
 
 bin_PROGRAMS = kp123
+pkgdata_DATA = strokes.txt
+
+DATADIR2 = @datadir@
 
 kp123_SOURCES =        kp123.c \
                padarea.c \
@@ -7,6 +10,8 @@ kp123_SOURCES =        kp123.c \
                recognize_kanji.c \
                recognize_extra.c
 
+DEFS = -DKP123_DATADIR=\"$(DATADIR2)/$(PACKAGE)\"
+
 AM_CFLAGS = @GTK_CFLAGS@ -Wall -funsigned-char
 
 kp123_LDADD = @GTK_LIBS@