Fix gpl/lgpl filenames.
[libidn.git] / java / Makefile.am
blob1399305b0cf305ae025abac618607296341a83de
1 ## Process this file with automake to produce Makefile.in
2 # Copyright (C) 2004, 2005, 2006, 2007 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
20 SUBDIRS = gnu . misc
22 INSTALL_TARGETS =
24 if JAVA
25 libidn_jardir = $(datadir)/java
26 dist_libidn_jar_DATA = libidn-@VERSION@.jar
28 libidn-@VERSION@.jar:
29         $(JAR) cf $@ gnu/inet/encoding/CombiningClass.class     \
30                 gnu/inet/encoding/Composition.class             \
31                 gnu/inet/encoding/DecompositionKeys.class       \
32                 gnu/inet/encoding/DecompositionMappings.class   \
33                 gnu/inet/encoding/IDNA.class                    \
34                 gnu/inet/encoding/IDNAException.class           \
35                 gnu/inet/encoding/NFKC.class                    \
36                 gnu/inet/encoding/Punycode.class                \
37                 gnu/inet/encoding/PunycodeException.class       \
38                 gnu/inet/encoding/RFC3454.class                 \
39                 gnu/inet/encoding/Stringprep.class              \
40                 gnu/inet/encoding/StringprepException.class
42 INSTALL_TARGETS += install-jar
43 install-jar:
44         install -d -m 755 $(DESTDIR)$(libidn_jardir)
45         ln -sf libidn-@VERSION@.jar $(DESTDIR)$(libidn_jardir)/libidn.jar
47 clean-local:
48         rm -f $(libidn_jar_DATA)
50 # Invoked by ../doc/java/Makefile.
51 .PHONY: javadoc
52 javadoc:
53         cd $(srcdir) && $(GJDOC) -d $(top_builddir)/doc/java gnu/inet/encoding/*.java
54 endif
56 install-data-local: $(INSTALL_TARGETS)