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
Made sources and debian package buildable on current versions of software.
[gedcom-parse.git]
/
gedcom
/
Makefile.am
diff --git
a/gedcom/Makefile.am
b/gedcom/Makefile.am
index a10810e2a2335bdcf115beda4464ec5b56cfb663..c227bd7517f1ebec41bfcf33671aacc5789da912 100644
(file)
--- a/
gedcom/Makefile.am
+++ b/
gedcom/Makefile.am
@@
-5,8
+5,8
@@
SUBDIRS = calendar .
localedir = $(datadir)/locale
SUBDIRS = calendar .
localedir = $(datadir)/locale
-INCLUDES = -I
$(srcdir)/../intl -I $(srcdir)/../include -I
$(srcdir)/calendar \
- -I
$(srcdir)/../utf8 \
+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
@@
-29,9
+29,10
@@
libgedcom_la_SOURCES = lex.gedcom_1byte_.c \
age.c \
compat.c \
buffer.c \
age.c \
compat.c \
buffer.c \
- write.c
+ write.c \
+ encoding_state.c
libgedcom_la_LDFLAGS = -export-dynamic -version-info $(LIBVERSION)
libgedcom_la_LDFLAGS = -export-dynamic -version-info $(LIBVERSION)
-libgedcom_la_LIBADD = calendar/libcalendar.la
../utf8/libutf8.la @INTLLIBS
@
+libgedcom_la_LIBADD = calendar/libcalendar.la
@LTLIBINTL
@
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 \
@@
-41,7
+42,8
@@
BUILT_SOURCES = lex.gedcom_1byte_.c \
gedcom.tabgen.h \
gedcom_date.tab.c \
gedcom_date.tab.h \
gedcom.tabgen.h \
gedcom_date.tab.c \
gedcom_date.tab.h \
- gedcom_date.tabgen.h
+ gedcom_date.tabgen.h \
+ tag_names.h
noinst_HEADERS = encoding.h \
gedcom_internal.h \
interface.h \
noinst_HEADERS = encoding.h \
gedcom_internal.h \
interface.h \
@@
-52,7
+54,8
@@
noinst_HEADERS = encoding.h \
age.h \
compat.h \
buffer.h \
age.h \
compat.h \
buffer.h \
- tag_data.h
+ tag_data.h \
+ encoding_state.h
EXTRA_DIST = gedcom.y \
gedcom_date.y \
gedcom_1byte.lex \
EXTRA_DIST = gedcom.y \
gedcom_date.y \
gedcom_1byte.lex \
@@
-60,6
+63,18
@@
EXTRA_DIST = gedcom.y \
gedcom_lohi.lex \
gedcom_date.lex \
gedcom_lex_common.c \
gedcom_lohi.lex \
gedcom_date.lex \
gedcom_lex_common.c \
+ lex.gedcom_1byte_.c \
+ lex.gedcom_hilo_.c \
+ lex.gedcom_lohi_.c \
+ lex.gedcom_date_.c \
+ gedcom.tab.c \
+ gedcom_date.tab.c \
+ gedcom.tab.h \
+ gedcom_date.tab.h \
+ gedcom.tabgen.h \
+ gedcom_date.tabgen.h \
+ tag_names.h \
+ process_tags
$(BUILT_SOURCES)
include $(top_srcdir)/Makefile.inc
$(BUILT_SOURCES)
include $(top_srcdir)/Makefile.inc
@@
-82,6
+97,11
@@
lex.gedcom_lohi_.c: gedcom_lohi.lex
lex.gedcom_date_.c: gedcom_date.lex
$(LEX) $(LFLAGS) -Pgedcom_date_ $<
lex.gedcom_date_.c: gedcom_date.lex
$(LEX) $(LFLAGS) -Pgedcom_date_ $<
+tag_names.h: $(srcdir)/gedcom.tabgen.h process_tags
+ srcdir=$(srcdir); export srcdir; \
+ perl $(srcdir)/process_tags
+ cd ../include/ && $(MAKE) gedcom-tags.h
+
lex.gedcom_1byte_.c: gedcom.tabgen.h gedcom_lex_common.c
lex.gedcom_hilo_.c: gedcom.tabgen.h gedcom_lex_common.c
lex.gedcom_lohi_.c: gedcom.tabgen.h gedcom_lex_common.c
lex.gedcom_1byte_.c: gedcom.tabgen.h gedcom_lex_common.c
lex.gedcom_hilo_.c: gedcom.tabgen.h gedcom_lex_common.c
lex.gedcom_lohi_.c: gedcom.tabgen.h gedcom_lex_common.c