Build python files into source tree, add propper depenencies.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23240 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -4,30 +4,36 @@ include $(top_srcdir)/Makefile.am.common
|
|||||||
|
|
||||||
lib_LTLIBRARIES = libwind.la
|
lib_LTLIBRARIES = libwind.la
|
||||||
|
|
||||||
dist_libwind_la_SOURCES = \
|
built = \
|
||||||
bidi.c \
|
|
||||||
bidi_table.c \
|
bidi_table.c \
|
||||||
bidi_table.h \
|
bidi_table.h \
|
||||||
combining.c \
|
|
||||||
combining_table.c \
|
combining_table.c \
|
||||||
combining_table.h \
|
combining_table.h \
|
||||||
doxygen.c \
|
|
||||||
errorlist.c \
|
|
||||||
errorlist_table.c \
|
errorlist_table.c \
|
||||||
errorlist_table.h \
|
errorlist_table.h \
|
||||||
map.c \
|
|
||||||
map_table.c \
|
map_table.c \
|
||||||
map_table.h \
|
map_table.h \
|
||||||
|
normalize_table.c \
|
||||||
|
normalize_table.h
|
||||||
|
|
||||||
|
code = \
|
||||||
|
bidi.c \
|
||||||
|
combining.c \
|
||||||
|
doxygen.c \
|
||||||
|
errorlist.c \
|
||||||
|
map.c \
|
||||||
ldap.c \
|
ldap.c \
|
||||||
normalize.c \
|
normalize.c \
|
||||||
normalize_table.c \
|
|
||||||
normalize_table.h \
|
|
||||||
punycode.c \
|
punycode.c \
|
||||||
stringprep.c \
|
stringprep.c \
|
||||||
wind.h \
|
wind.h \
|
||||||
windlocl.h \
|
windlocl.h \
|
||||||
utf8.c
|
utf8.c
|
||||||
|
|
||||||
|
$(code): $(built)
|
||||||
|
|
||||||
|
dist_libwind_la_SOURCES = $(code) $(built)
|
||||||
|
|
||||||
dist_include_HEADERS = wind.h
|
dist_include_HEADERS = wind.h
|
||||||
|
|
||||||
nodist_libwind_la_SOURCES = wind_err.c wind_err.h
|
nodist_libwind_la_SOURCES = wind_err.c wind_err.h
|
||||||
@@ -75,22 +81,22 @@ LDADD = libwind.la $(LIB_roken)
|
|||||||
PYTHON = python
|
PYTHON = python
|
||||||
|
|
||||||
map_table.h map_table.c: rfc3454.txt gen-map.py stringprep.py
|
map_table.h map_table.c: rfc3454.txt gen-map.py stringprep.py
|
||||||
$(PYTHON) $(srcdir)/gen-map.py $(srcdir)/rfc3454.txt
|
$(PYTHON) $(srcdir)/gen-map.py $(srcdir)/rfc3454.txt $(srcdir)
|
||||||
|
|
||||||
errorlist_table.h errorlist_table.c: rfc3454.txt gen-errorlist.py stringprep.py
|
errorlist_table.h errorlist_table.c: rfc3454.txt gen-errorlist.py stringprep.py
|
||||||
$(PYTHON) $(srcdir)/gen-errorlist.py $(srcdir)/rfc3454.txt
|
$(PYTHON) $(srcdir)/gen-errorlist.py $(srcdir)/rfc3454.txt $(srcdir)
|
||||||
|
|
||||||
normalize_table.h normalize_table.c: UnicodeData.txt CompositionExclusions-3.2.0.txt gen-normalize.py
|
normalize_table.h normalize_table.c: UnicodeData.txt CompositionExclusions-3.2.0.txt gen-normalize.py
|
||||||
$(PYTHON) $(srcdir)/gen-normalize.py $(srcdir)/UnicodeData.txt $(srcdir)/CompositionExclusions-3.2.0.txt
|
$(PYTHON) $(srcdir)/gen-normalize.py $(srcdir)/UnicodeData.txt $(srcdir)/CompositionExclusions-3.2.0.txt $(srcdir)
|
||||||
|
|
||||||
combining_table.h combining_table.c: UnicodeData.txt gen-combining.py
|
combining_table.h combining_table.c: UnicodeData.txt gen-combining.py
|
||||||
$(PYTHON) $(srcdir)/gen-combining.py $(srcdir)/UnicodeData.txt
|
$(PYTHON) $(srcdir)/gen-combining.py $(srcdir)/UnicodeData.txt $(srcdir)
|
||||||
|
|
||||||
bidi_table.h bidi_table.c: rfc3454.txt gen-bidi.py
|
bidi_table.h bidi_table.c: rfc3454.txt gen-bidi.py
|
||||||
$(PYTHON) $(srcdir)/gen-bidi.py $(srcdir)/rfc3454.txt
|
$(PYTHON) $(srcdir)/gen-bidi.py $(srcdir)/rfc3454.txt $(srcdir)
|
||||||
|
|
||||||
punycode_examples.h punycode_examples.c: gen-punycode-examples.py rfc3492.txt
|
punycode_examples.h punycode_examples.c: gen-punycode-examples.py rfc3492.txt
|
||||||
$(PYTHON) $(srcdir)/gen-punycode-examples.py $(srcdir)/rfc3492.txt
|
$(PYTHON) $(srcdir)/gen-punycode-examples.py $(srcdir)/rfc3492.txt $(srcdir)
|
||||||
|
|
||||||
EXTRA_DIST = \
|
EXTRA_DIST = \
|
||||||
CompositionExclusions-3.2.0.txt \
|
CompositionExclusions-3.2.0.txt \
|
||||||
|
Reference in New Issue
Block a user