*** empty log message ***
[gedcom-parse.git] / gedcom / Makefile.am
index 0e532c44df41737f36a63949e39c8fe81bb86e74..d00ac885164b54b56d541cba57107325b1b401b7 100644 (file)
@@ -9,7 +9,7 @@ INCLUDES = -I $(srcdir)/../intl -I $(srcdir)/../include -I $(srcdir)/calendar \
            -DPKGDATADIR=\"$(pkgdatadir)\" -DLOCALEDIR=\"$(localedir)\"
 YFLAGS   = --debug --defines
 LFLAGS   = -8
-CFLAGS   = -g -O2 -W -Wall -pedantic
+CFLAGS   = -g -O2 -W -Wall -pedantic -Wno-long-long @EXTRA_CFLAGS@
 
 lib_LTLIBRARIES = libgedcom.la
 libgedcom_la_SOURCES = lex.gedcom_1byte_.c \
@@ -26,9 +26,10 @@ libgedcom_la_SOURCES = lex.gedcom_1byte_.c \
                       hash.c \
                       xref.c \
                       age.c \
-                      compat.c
-libgedcom_la_LDFLAGS = -version-info $(LIBVERSION)
-libgedcom_la_LIBADD  = calendar/libcalendar.la
+                      compat.c \
+                      buffer.c
+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 \
@@ -47,14 +48,16 @@ noinst_HEADERS = encoding.h \
                 hash.h \
                 xref.h \
                 age.h \
-                compat.h
+                compat.h \
+                buffer.h
 EXTRA_DIST = gedcom.y \
             gedcom_date.y \
             gedcom_1byte.lex \
             gedcom_hilo.lex \
             gedcom_lohi.lex \
             gedcom_date.lex \
-            gedcom_lex_common.c
+            gedcom_lex_common.c \
+            $(BUILT_SOURCES)
 
 include $(top_srcdir)/Makefile.inc