Upgrade to libtool-1.4.
[libiconv.git] / src / Makefile.in
blob03d813788c94d552337dde7fc4d43070efebce63
1 # Makefile for libiconv/src
3 #### Start of system configuration section. ####
5 # Directories used by "make":
6 srcdir = @srcdir@
8 # Directories used by "make install":
9 prefix = @prefix@
10 local_prefix = /usr/local
11 exec_prefix = @exec_prefix@
12 bindir = @bindir@
14 # Programs used by "make":
15 CC = @CC@
16 CFLAGS = @CFLAGS@
17 CPPFLAGS = @CPPFLAGS@
18 LDFLAGS = @LDFLAGS@
19 INCLUDES = -I. -I$(srcdir) -I../include -I$(srcdir)/../include
20 LIBTOOL = @LIBTOOL@
21 LIBTOOL_COMPILE = $(LIBTOOL) --mode=compile
22 LIBTOOL_LINK = $(LIBTOOL) --mode=link
23 LIBTOOL_INSTALL = $(LIBTOOL) --mode=install
24 LIBTOOL_UNINSTALL = $(LIBTOOL) --mode=uninstall
25 RM = rm -f
26 @SET_MAKE@
28 # Programs used by "make install":
29 INSTALL = @INSTALL@
30 INSTALL_PROGRAM = @INSTALL_PROGRAM@
31 INSTALL_DATA = @INSTALL_DATA@
33 #### End of system configuration section. ####
35 SHELL = /bin/sh
37 # Needed by $(LIBTOOL).
38 top_builddir = ..
40 all : iconv
42 iconv : $(srcdir)/iconv.c ../lib/libiconv.la
43 $(LIBTOOL_LINK) $(CC) $(LDFLAGS) $(CFLAGS) $(CPPFLAGS) $(INCLUDES) -I../lib $(srcdir)/iconv.c ../lib/libiconv.la -o $@
45 # The following rule is necessary to avoid a toplevel "make -n check" failure.
46 ../lib/libiconv.la :
47 cd ../lib && $(MAKE) libiconv.la
49 install : all force
50 if [ ! -d $(DESTDIR)$(prefix) ] ; then mkdir $(DESTDIR)$(prefix) ; fi
51 if [ ! -d $(DESTDIR)$(exec_prefix) ] ; then mkdir $(DESTDIR)$(exec_prefix) ; fi
52 if [ ! -d $(DESTDIR)$(bindir) ] ; then mkdir $(DESTDIR)$(bindir) ; fi
53 $(LIBTOOL_INSTALL) $(INSTALL_PROGRAM) iconv $(DESTDIR)$(bindir)/iconv
55 installdirs : force
56 if [ ! -d $(DESTDIR)$(prefix) ] ; then mkdir $(DESTDIR)$(prefix) ; fi
57 if [ ! -d $(DESTDIR)$(exec_prefix) ] ; then mkdir $(DESTDIR)$(exec_prefix) ; fi
58 if [ ! -d $(DESTDIR)$(bindir) ] ; then mkdir $(DESTDIR)$(bindir) ; fi
60 uninstall : force
61 $(LIBTOOL_UNINSTALL) $(RM) $(DESTDIR)$(bindir)/iconv
63 check : all
65 mostlyclean : clean
67 clean : force
68 $(RM) *.o *.lo iconv core
69 $(RM) -r .libs _libs
71 distclean : clean
72 $(RM) Makefile
74 maintainer-clean : distclean
76 force :