Indent.
[libidn.git] / lib / Makefile.am
blob010004af1d9ec0cf1f19855c33f782a2ec5f04e0
1 ## Process this file with automake to produce Makefile.in
2 # Copyright (C) 2002, 2003 Simon Josefsson.
4 # This file is part of GNU Libidn.
6 # GNU Libidn is free software; you can redistribute it and/or modify
7 # it under the terms of the GNU Lesser General Public License as
8 # published by the Free Software Foundation; either version 2.1 of
9 # the License, or (at your option) any later version.
11 # GNU Libidn is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 # GNU Lesser General Public License for more details.
16 # You should have received a copy of the GNU Lesser General Public
17 # License along with GNU Libidn; if not, write to the Free Software
18 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
20 EXTRA_DIST = gen-stringprep-tables.pl gen-unicode-tables.pl 
22 lib_LTLIBRARIES = libidn.la
24 idn_int = idn-int.h
26 BUILT_SOURCES = $(idn_int) gunibreak.h gunicomp.h gunidecomp.h rfc3454.c
27 DISTCLEANFILES = $(idn_int)
28 include_HEADERS = stringprep.h idna.h punycode.h
29 nodist_include_HEADERS = $(idn_int)
31 libidn_la_SOURCES = gunibreak.h gunicomp.h gunidecomp.h \
32         nfkc.c toutf8.c version.c \
33         stringprep.h.in stringprep.c rfc3454.c profiles.c \
34         punycode.h punycode.c \
35         idna.h idna.c
36 libidn_la_LIBADD = $(LTLIBICONV)
37 libidn_la_LDFLAGS = -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
39 nfkc.c: gunibreak.h gunicomp.h gunidecomp.h
41 SPEC = $(top_srcdir)/doc/specifications
43 gunibreak.h gunicomp.h gunidecomp.h: gen-unicode-tables.pl $(SPEC)/UnicodeData-3.2.0.txt $(SPEC)/LineBreak-3.2.0.txt $(SPEC)/SpecialCasing-3.2.0.txt $(SPEC)/CaseFolding-3.2.0.txt $(SPEC)/CompositionExclusions-3.2.0.txt
44         $(PERL) $(srcdir)/gen-unicode-tables.pl -decomp 3.2 $(SPEC)
46 rfc3454.c: gen-stringprep-tables.pl
47         $(PERL) $(srcdir)/gen-stringprep-tables.pl $(SPEC)/rfc3454.txt
49 # Maintainer targets
51 indent:
52         indent $(SOURCES)