*** empty log message ***
[libidn.git] / Makefile.am
blob0e93dc03d283ac952e9ce6154ec5519eabcb6347
1 ## Process this file with automake to produce Makefile.in
2 # Copyright (C) 2002 Simon Josefsson.
4 # This file is part of Libstringprep.
6 # Libstringprep 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 # Libstringprep 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 Libstringprep; if not, write to the Free Software
18 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
20 EXTRA_DIST = libstringprep.pc.in iconv.m4 strdup.c \
21         gen-stringprep-tables.pl draft-hoffman-stringprep-07.txt \
22         gen-unicode-tables.pl UnicodeData-3.2.0.txt LineBreak-3.2.0.txt SpecialCasing-3.2.0.txt CaseFolding-3.2.0.txt CompositionExclusions-3.2.0.txt
24 pkgconfigdir = $(libdir)/pkgconfig
25 pkgconfig_DATA = libstringprep.pc
27 lib_LTLIBRARIES = libstringprep.la
29 include_HEADERS = stringprep.h stringprep_generic.h stringprep_nameprep.h \
30         stringprep_kerberos5.h
32 libstringprep_la_SOURCES = gunicomp.h gunidecomp.h \
33         stringprep.c nfkc.c version.c toutf8.c \
34         stringprep_generic.c profiles.c
35 libstringprep_la_LIBADD = @LTLIBOBJS@
36 libstringprep_la_LDFLAGS = -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
38 nfkc.c: gunicomp.h gunidecomp.h
40 gunicomp.h gunidecomp.h: gen-unicode-tables.pl UnicodeData-3.2.0.txt LineBreak-3.2.0.txt SpecialCasing-3.2.0.txt CaseFolding-3.2.0.txt CompositionExclusions-3.2.0.txt
41         $(PERL) $(srcdir)/gen-unicode-tables.pl -decomp 3.2 UnicodeData-3.2.0.txt LineBreak-3.2.0.txt SpecialCasing-3.2.0.txt CaseFolding-3.2.0.txt CompositionExclusions-3.2.0.txt
43 stringprep_generic.c: draft-hoffman-stringprep-07.txt gen-stringprep-tables.pl 
44         $(PERL) $(srcdir)/gen-stringprep-tables.pl $<
46 check_PROGRAMS = tst_stringprep tst_nfkc
48 TESTS = $(check_PROGRAMS)
50 INCLUDES = -I$(top_srcdir)
51 LDADD = libstringprep.la
53 noinst_PROGRAMS = $(check_PROGRAMS) example
55 ACLOCAL_AMFLAGS = -I .
57 ChangeLog:
58         cvs2cl --fsf --usermap .cvsusers --separate-header -I \
59         "ChangeLog|.cvsignore|.cvsusers|autogen.sh"
61 indent:
62         indent $(libstringprep_la_SOURCES)
64 sign: $(distdir).tar.gz
65         rm -f $(distdir).tar.gz.asc
66         gpg -a --sign --detach $(distdir).tar.gz
67         gpg --verify $(distdir).tar.gz.asc