-DPKGDATADIR=\"$(pkgdatadir)\" -DLOCALEDIR=\"$(localedir)\"
YFLAGS = --debug --defines
LFLAGS = -8
-CFLAGS = -g -O2 -W -Wall -pedantic
+CFLAGS = -g -O2 -W -Wall -pedantic -Wno-long-long
lib_LTLIBRARIES = libgedcom.la
libgedcom_la_SOURCES = lex.gedcom_1byte_.c \
date.c \
hash.c \
xref.c \
+ age.c \
compat.c
-libgedcom_la_LDFLAGS = -version-info $(LIBVERSION)
-libgedcom_la_LIBADD = calendar/libcalendar.la
+libgedcom_la_LDFLAGS = -export-dynamic -version-info $(LIBVERSION) $(LIBICONV)
+libgedcom_la_LIBADD = calendar/libcalendar.la @INTLLIBS@
BUILT_SOURCES = lex.gedcom_1byte_.c \
lex.gedcom_hilo_.c \
lex.gedcom_lohi_.c \
gedcom.tab.h \
gedcom.tabgen.h \
gedcom_date.tab.c \
- gedcom_date.tab.h
+ gedcom_date.tab.h \
+ gedcom_date.tabgen.h
noinst_HEADERS = encoding.h \
gedcom_internal.h \
interface.h \
date.h \
hash.h \
xref.h \
+ age.h \
compat.h
EXTRA_DIST = gedcom.y \
gedcom_date.y \