OSDN Git Service

* uintp.adb (UI_From_Dint): Remove useless code.
[pf3gnuchains/gcc-fork.git] / libjava / libltdl / Makefile.am
1 ## Process this file with automake to produce Makefile.in
2
3 AUTOMAKE_OPTIONS = no-dependencies foreign no-dist
4
5 ACLOCAL_AMFLAGS = -I ../.. -I ../../config
6
7 INCLUDES = $(GCINCS)
8
9 if INSTALL_LTDL
10 include_HEADERS = ltdl.h
11 lib_LTLIBRARIES = libltdl.la
12 else
13 noinst_HEADERS = ltdl.h
14 endif
15
16 if CONVENIENCE_LTDL
17 noinst_LTLIBRARIES = libltdlc.la
18 endif
19
20 ## Make sure these will be cleaned even when they're not built by
21 ## default.
22 CLEANFILES = libltdl.la libltdlc.la
23
24 libltdl_la_SOURCES = ltdl.c
25 libltdl_la_LDFLAGS = -no-undefined -version-info 4:1:1
26 libltdl_la_LIBADD = $(LIBADD_DL)
27
28 libltdlc_la_SOURCES = ltdl.c
29 libltdlc_la_LIBADD = $(LIBADD_DL)
30
31 ## Because we do not have automatic dependency tracking:
32 ltdl.lo: ltdl.h config.h
33
34 $(libltdl_la_OBJECTS) $(libltdlc_la_OBJECTS): libtool
35 libtool: $(LIBTOOL_DEPS)
36         $(SHELL) ./config.status --recheck
37
38 ## These are installed as a subdirectory of pkgdatadir so that
39 ## libtoolize --ltdl can find them later:
40 ltdldatadir = $(datadir)/libtool/libltdl
41 ltdldatafiles = COPYING.LIB README acinclude.m4 aclocal.m4 \
42                 Makefile.am Makefile.in configure.ac configure \
43                 config-h.in config.guess config.sub \
44                 install-sh missing ltmain.sh \
45                 ltdl.c ltdl.h
46
47 ## GCJ LOCAL: fix install buglet.  See PR 27818
48 if INSTALL_LTDL
49 ## To avoid spurious reconfiguration when the user installs these files
50 ## with libtoolize, we have to preserve their timestamps carefully:
51 install-data-local:
52         -rm -rf $(DESTDIR)$(ltdldatadir)
53         $(mkinstalldirs) $(DESTDIR)$(ltdldatadir)
54         ( cd $(srcdir) && $(AMTAR) chf - $(ltdldatafiles); ) \
55           | ( umask 0 && cd $(DESTDIR)$(ltdldatadir) && $(AMTAR) xf -; )
56 endif