dlugolecki.net.pl
Dziennik
Polecane
Software
projects
/
gedcom-parse.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Extra arguments for the length of non-UTF-8 strings.
[gedcom-parse.git]
/
gedcom
/
Makefile.am
diff --git
a/gedcom/Makefile.am
b/gedcom/Makefile.am
index 7a46ae8bbe76d590a6280d4a89d7a4f0babd8dca..661c7f6bbff731015774ac803455d18b8a154377 100644
(file)
--- a/
gedcom/Makefile.am
+++ b/
gedcom/Makefile.am
@@
-6,10
+6,11
@@
SUBDIRS = calendar .
localedir = $(datadir)/locale
INCLUDES = -I $(srcdir)/../intl -I $(srcdir)/../include -I $(srcdir)/calendar \
localedir = $(datadir)/locale
INCLUDES = -I $(srcdir)/../intl -I $(srcdir)/../include -I $(srcdir)/calendar \
+ -I $(srcdir)/../utf8 \
-DPKGDATADIR=\"$(pkgdatadir)\" -DLOCALEDIR=\"$(localedir)\"
YFLAGS = --debug --defines
LFLAGS = -8
-DPKGDATADIR=\"$(pkgdatadir)\" -DLOCALEDIR=\"$(localedir)\"
YFLAGS = --debug --defines
LFLAGS = -8
-CFLAGS = -g -O2 -W -Wall -pedantic -Wno-long-long
+CFLAGS = -g -O2 -W -Wall -pedantic -Wno-long-long
@EXTRA_CFLAGS@
lib_LTLIBRARIES = libgedcom.la
libgedcom_la_SOURCES = lex.gedcom_1byte_.c \
lib_LTLIBRARIES = libgedcom.la
libgedcom_la_SOURCES = lex.gedcom_1byte_.c \
@@
-26,9
+27,10
@@
libgedcom_la_SOURCES = lex.gedcom_1byte_.c \
hash.c \
xref.c \
age.c \
hash.c \
xref.c \
age.c \
- compat.c
+ compat.c \
+ buffer.c
libgedcom_la_LDFLAGS = -export-dynamic -version-info $(LIBVERSION) $(LIBICONV)
libgedcom_la_LDFLAGS = -export-dynamic -version-info $(LIBVERSION) $(LIBICONV)
-libgedcom_la_LIBADD = calendar/libcalendar.la
+libgedcom_la_LIBADD = calendar/libcalendar.la
../utf8/libutf8.la @INTLLIBS@
BUILT_SOURCES = lex.gedcom_1byte_.c \
lex.gedcom_hilo_.c \
lex.gedcom_lohi_.c \
BUILT_SOURCES = lex.gedcom_1byte_.c \
lex.gedcom_hilo_.c \
lex.gedcom_lohi_.c \
@@
-47,14
+49,18
@@
noinst_HEADERS = encoding.h \
hash.h \
xref.h \
age.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 \
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
gedcom.tab.c gedcom.tab.h: gedcom.y
$(YACC) $(YFLAGS) --name-prefix=gedcom_ $<
gedcom.tab.c gedcom.tab.h: gedcom.y
$(YACC) $(YFLAGS) --name-prefix=gedcom_ $<
@@
-98,14
+104,3
@@
lex.gedcom_lohi_.test.o: lex.gedcom_lohi_.c
clean-local:
rm -f $(EXTRA_PROGRAMS)
clean-local:
rm -f $(EXTRA_PROGRAMS)
-
-%.tabgen.h: %.tab.h
- if [ ! -r $(srcdir)/$@ ] ; \
- then \
- touch $(srcdir)/$@; \
- fi
- if ! diff -q $< $(srcdir)/$@ > /dev/null; \
- then \
- rm $(srcdir)/$@; \
- cp $(srcdir)/$< $(srcdir)/$@; \
- fi