1 # $Id: Makefile.am,v 1.1 2004/12/20 08:31:45 assar Exp $
3 include $(top_srcdir)/Makefile.am.common
5 lib_LTLIBRARIES = libwind.la
24 MAINTAINERCLEANFILES = $(built) $(built_tests)
40 $(code:.c=.lo): $(built)
42 dist_libwind_la_SOURCES = $(code) $(built)
43 nodist_libwind_la_SOURCES = wind_err.c wind_err.h
45 libwind_la_DEPENDENCIES = version-script.map
47 dist_include_HEADERS = wind.h
48 nodist_include_HEADERS = wind_err.h
50 $(libwind_la_OBJECTS): wind_err.h
52 libwind_la_LDFLAGS = -version-info 0:0:0
59 libwind_la_LDFLAGS += $(LDFLAGS_VERSION_SCRIPT)$(srcdir)/version-script.map
79 test_punycode_SOURCES = \
84 $(test_punycode_OBJECTS): $(built_tests)
86 bin_PROGRAMS = idn-lookup
88 idn_lookup_SOURCES = idn-lookup.c
90 LDADD = libwind.la $(LIB_roken)
95 skip_python = test -f $@ ||
98 map_table.h map_table.c: rfc3454.txt gen-map.py stringprep.py
99 $(skip_python) $(PYTHON) $(srcdir)/gen-map.py $(srcdir)/rfc3454.txt $(builddir)
101 errorlist_table.h errorlist_table.c: rfc3454.txt gen-errorlist.py stringprep.py
102 $(skip_python) $(PYTHON) $(srcdir)/gen-errorlist.py $(srcdir)/rfc3454.txt $(builddir)
104 normalize_table.h normalize_table.c: UnicodeData.txt CompositionExclusions-3.2.0.txt gen-normalize.py
105 $(skip_python) $(PYTHON) $(srcdir)/gen-normalize.py $(srcdir)/UnicodeData.txt $(srcdir)/CompositionExclusions-3.2.0.txt $(builddir)
107 combining_table.h combining_table.c: UnicodeData.txt gen-combining.py
108 $(skip_python) $(PYTHON) $(srcdir)/gen-combining.py $(srcdir)/UnicodeData.txt $(builddir)
110 bidi_table.h bidi_table.c: rfc3454.txt gen-bidi.py
111 $(skip_python) $(PYTHON) $(srcdir)/gen-bidi.py $(srcdir)/rfc3454.txt $(builddir)
113 punycode_examples.h punycode_examples.c: gen-punycode-examples.py rfc3492.txt
114 $(PYTHON) $(srcdir)/gen-punycode-examples.py $(srcdir)/rfc3492.txt $(builddir)
118 libwind-exports.def \
119 CompositionExclusions-3.2.0.txt \
120 DerivedNormalizationProps.txt \
121 NormalizationCorrections.txt \
122 NormalizationTest.txt \
130 gen-punycode-examples.py \
149 wind_err.h: wind_err.et