1 # Makefile for libiconv/src
3 #### Start of system configuration section. ####
5 # Directories used by "make":
8 # Directories used by "make install":
10 local_prefix
= /usr
/local
11 exec_prefix = @
exec_prefix@
14 # Programs used by "make":
19 INCLUDES
= -I.
-I
$(srcdir) -I..
/include -I
$(srcdir)/..
/include
21 LIBTOOL_COMPILE
= $(LIBTOOL
) --mode
=compile
22 LIBTOOL_LINK
= $(LIBTOOL
) --mode
=link
23 LIBTOOL_INSTALL
= $(LIBTOOL
) --mode
=install
24 LIBTOOL_UNINSTALL
= $(LIBTOOL
) --mode
=uninstall
28 # Programs used by "make install":
30 INSTALL_PROGRAM
= @INSTALL_PROGRAM@
31 INSTALL_DATA
= @INSTALL_DATA@
33 #### End of system configuration section. ####
37 # Needed by $(LIBTOOL).
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.
47 cd ..
/lib
&& $(MAKE
) libiconv.la
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
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
61 $(LIBTOOL_UNINSTALL
) $(RM
) $(DESTDIR
)$(bindir)/iconv
68 $(RM
) *.o
*.lo iconv core
74 maintainer-clean
: distclean