Annotation of embedaddon/libiconv/preload/Makefile.in, revision 1.1.1.1
1.1 misho 1: # Makefile for libiconv/preload
2:
3: #### Start of system configuration section. ####
4:
5: # Directories used by "make":
6: srcdir = @srcdir@
7:
8: # Directories used by "make install":
9: prefix = @prefix@
10: local_prefix = /usr/local
11: exec_prefix = @exec_prefix@
12: libdir = @libdir@
13:
14: # Programs used by "make":
15: CC = @CC@
16: CFLAGS = @CFLAGS@ @CFLAG_VISIBILITY@
17: CPPFLAGS = @CPPFLAGS@
18: LDFLAGS = @LDFLAGS@
19: INCLUDES = -I../lib -I$(srcdir)/../lib -I../include -I$(srcdir)/../include -I.. -I$(srcdir)/..
20: # -DBUILDING_LIBICONV: Change expansion of LIBICONV_DLL_EXPORTED macro.
21: # -DBUILDING_DLL: Change expansion of RELOCATABLE_DLL_EXPORTED macro.
22: DEFS = -DLIBDIR=\"$(libdir)\" -DBUILDING_LIBICONV -DBUILDING_DLL \
23: -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"$(libdir)\" -DNO_XMALLOC \
24: -Dset_relocation_prefix=libiconv_set_relocation_prefix \
25: -Drelocate=libiconv_relocate @DEFS@
26: LIBTOOL = @LIBTOOL@
27: LIBTOOL_COMPILE = $(LIBTOOL) --mode=compile
28: LIBTOOL_LINK = $(LIBTOOL) --mode=link
29: LN_S = @LN_S@
30: RM = rm -f
31:
32: # Programs used by "make install":
33: INSTALL = @INSTALL@
34: INSTALL_PROGRAM = @INSTALL_PROGRAM@
35: INSTALL_DATA = @INSTALL_DATA@
36: mkinstalldirs = $(SHELL) @top_srcdir@/build-aux/mkinstalldirs
37:
38: #### End of system configuration section. ####
39:
40: SHELL = /bin/sh
41:
42: # Needed by $(LIBTOOL).
43: top_builddir = .
44:
45: SOURCES = $(srcdir)/../lib/iconv.c $(srcdir)/../libcharset/lib/localcharset.c $(srcdir)/../lib/relocatable.c
46:
47: all : @PLUGLIB@
48:
49: preloadable_libiconv.so : $(SOURCES)
50: $(RM) -r objects
51: mkdir objects && \
52: for f in $(SOURCES); do \
53: $(LIBTOOL_COMPILE) $(CC) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $(DEFS) -DLIBICONV_PLUG -c $$f -o objects/`basename $$f | sed -e 's,\.c$$,.o,'` || exit 1; \
54: done && \
55: $(LIBTOOL_LINK) $(CC) $(LDFLAGS) $(CFLAGS) -o libiconv.la -rpath $(libdir) -no-undefined objects/*.lo && \
56: $(RM) -r objects
57: cp .libs/libiconv.so preloadable_libiconv.so
58:
59: install : all force
60: if [ ! -d $(DESTDIR)$(libdir) ] ; then $(mkinstalldirs) $(DESTDIR)$(libdir) ; fi
61: if test -n "@PLUGLIB@"; then $(INSTALL_DATA) @PLUGLIB@ $(DESTDIR)$(libdir)/@PLUGLIB@.new && mv $(DESTDIR)$(libdir)/@PLUGLIB@.new $(DESTDIR)$(libdir)/@PLUGLIB@ ; fi
62:
63: install-strip : install
64:
65: installdirs : force
66: if [ ! -d $(DESTDIR)$(libdir) ] ; then $(mkinstalldirs) $(DESTDIR)$(libdir) ; fi
67:
68: uninstall : force
69: if test -n "@PLUGLIB@"; then $(RM) $(DESTDIR)$(libdir)/@PLUGLIB@ ; fi
70:
71: check : all
72:
73: mostlyclean : clean
74:
75: clean : force
76: $(RM) *.o *.lo *.a *.la preloadable_libiconv* core *.stackdump so_locations
77: $(RM) -r .libs _libs objects
78:
79: distclean : clean
80: $(RM) config.status config.log config.cache Makefile libtool
81:
82: maintainer-clean : distclean
83:
84: force :
85:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>