*** empty log message ***
[m17n/m17n-test.git] / Makefile.am
index 6a3963c..5fe85e1 100644 (file)
@@ -1,2 +1,22 @@
-bin_PROGRAMS = replace
+noinst_PROGRAMS = \
+       linebreak replace mimdemo mimdaemon fifotest1 fifotest2 \
+       imtest findfont gdkdraw
 
+mimdemo_LDADD = -lgd
+mimdaemon_LDADD = -lgd
+
+gdkdraw_LDADD = -lgd
+gdkdraw_LDFLAGS = `pkg-config --libs gdk-pixbuf-2.0` `pkg-config --libs gtk+-2.0`
+AM_CPPFLAGS = `pkg-config --cflags gdk-pixbuf-2.0` `pkg-config --cflags gtk+-2.0`
+
+verify: linebreak
+       @echo "checking line breaking..."
+       @for arg in "" --sp-cm --korean-sp --ai-as-id; do \
+         if test "x$$arg" = "x"; then \
+           echo "  cheking the default algorithm..."; \
+         else \
+           echo "  cheking $$arg..."; \
+         fi; \
+         ./linebreak $$arg < LBRK.src > temp; \
+         diff -au LBRK$$arg.dst temp; \
+       done