Moved test program to t subdirectory.
[gedcom-parse.git] / Makefile.am
index f3b4d3dde9e7eec3f6ffa13844bff9cdd7b110f9..fd2524ab4358a54d3cc8c4b4c317c7dc429c7a34 100644 (file)
@@ -1,13 +1,25 @@
 ## Process this file with automake to produce Makefile.in
 # $Id$
 # $Name$
-SUBDIRS = ansel gedcom . t doc include
+SUBDIRS = intl ansel gedcom include . t doc po
 INCLUDES = -I $(srcdir)/include
+CFLAGS   = -g -O2
 
 pkgdata_DATA = gedcom.enc
 noinst_PROGRAMS = testgedcom
 
-testgedcom_SOURCES = standalone.c
+testgedcom_SOURCES = standalone.c utf8-locale.c
+noinst_HEADERS     = utf8-locale.h
 testgedcom_LDFLAGS = -L gedcom/.libs -lgedcom
+testgedcom_LDADD  = @INTLLIBS@
 
-EXTRA_DIST = $(pkgdata_DATA)
+EXTRA_DIST = $(pkgdata_DATA) Makefile.inc
+VERSIONED_FILES = README
+
+include $(top_srcdir)/Makefile.inc
+
+dist-hook:
+       $(replace-VERSION)
+
+clean-local:
+       rm -f testgedcom.out