Use -x none when using gcc.
[libiconv.git] / src / Makefile.in
blob27a85df53fdd59db5c9695302fc5376f5557594e
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 : iconv.@OBJEXT@ ../lib/libiconv.la
43 $(LIBTOOL_LINK) $(CC) $(LDFLAGS) iconv.@OBJEXT@ ../lib/libiconv.la -o $@
45 iconv.@OBJEXT@ : $(srcdir)/iconv.c
46 $(CC) -c $(INCLUDES) -I../lib $(CFLAGS) $(CPPFLAGS) $(srcdir)/iconv.c
48 # The following rule is necessary to avoid a toplevel "make -n check" failure.
49 ../lib/libiconv.la :
50 cd ../lib && $(MAKE) libiconv.la
52 install : all force
53 if [ ! -d $(DESTDIR)$(prefix) ] ; then mkdir $(DESTDIR)$(prefix) ; fi
54 if [ ! -d $(DESTDIR)$(exec_prefix) ] ; then mkdir $(DESTDIR)$(exec_prefix) ; fi
55 if [ ! -d $(DESTDIR)$(bindir) ] ; then mkdir $(DESTDIR)$(bindir) ; fi
56 $(LIBTOOL_INSTALL) $(INSTALL_PROGRAM) iconv $(DESTDIR)$(bindir)/iconv
58 installdirs : force
59 if [ ! -d $(DESTDIR)$(prefix) ] ; then mkdir $(DESTDIR)$(prefix) ; fi
60 if [ ! -d $(DESTDIR)$(exec_prefix) ] ; then mkdir $(DESTDIR)$(exec_prefix) ; fi
61 if [ ! -d $(DESTDIR)$(bindir) ] ; then mkdir $(DESTDIR)$(bindir) ; fi
63 uninstall : force
64 $(LIBTOOL_UNINSTALL) $(RM) $(DESTDIR)$(bindir)/iconv
66 check : all
68 mostlyclean : clean
70 clean : force
71 $(RM) *.@OBJEXT@ *.lo iconv core
72 $(RM) -r .libs _libs
74 distclean : clean
75 $(RM) Makefile
77 maintainer-clean : distclean
79 force :