Annotation of embedaddon/libiconv/libcharset/lib/Makefile.in, revision 1.1.1.2
1.1 misho 1: # Makefile for libcharset/lib
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. -I$(srcdir) -I.. -I$(srcdir)/.. -I../include
20: # -DBUILDING_LIBCHARSET: Change expansion of LIBCHARSET_DLL_EXPORTED macro.
1.1.1.2 ! misho 21: DEFS = -DBUILDING_LIBCHARSET @DEFS@
1.1 misho 22: LIBTOOL = @LIBTOOL@
23: LIBTOOL_COMPILE = $(LIBTOOL) --mode=compile
24: LIBTOOL_LINK = $(LIBTOOL) --mode=link
25: LIBTOOL_INSTALL = $(LIBTOOL) --mode=install
26: LIBTOOL_UNINSTALL = $(LIBTOOL) --mode=uninstall
27: RM = rm -f
28:
29: # Programs used by "make install":
30: INSTALL = @INSTALL@
31: INSTALL_DATA = @INSTALL_DATA@
32: mkinstalldirs = $(SHELL) @top_srcdir@/build-aux/mkinstalldirs
33:
34: #### End of system configuration section. ####
35:
36: PACKAGE = @PACKAGE@
37: VERSION = @VERSION@
38:
1.1.1.2 ! misho 39: SHELL = @SHELL@
1.1 misho 40:
41: # Before making a release, change this according to the libtool documentation,
42: # section "Library interface versions".
43: LIBCHARSET_VERSION_INFO = 1:0:0
44:
45: # Needed by $(LIBTOOL).
46: top_builddir = ..
47:
1.1.1.2 ! misho 48: SOURCES = $(srcdir)/localcharset.c $(srcdir)/relocatable-stub.c
1.1 misho 49:
1.1.1.2 ! misho 50: OBJECTS = localcharset.lo relocatable-stub.lo
1.1 misho 51:
1.1.1.2 ! misho 52: all : libcharset.la
1.1 misho 53:
54: libcharset.la : $(OBJECTS)
55: $(LIBTOOL_LINK) $(CC) $(LDFLAGS) $(CFLAGS) -o libcharset.la -rpath $(libdir) -version-info $(LIBCHARSET_VERSION_INFO) -no-undefined $(OBJECTS)
56:
57: localcharset.lo : $(srcdir)/localcharset.c
58: $(LIBTOOL_COMPILE) $(CC) $(INCLUDES) $(CFLAGS) $(CPPFLAGS) $(DEFS) -c $(srcdir)/localcharset.c
59:
1.1.1.2 ! misho 60: relocatable-stub.lo : $(srcdir)/relocatable-stub.c
! 61: $(LIBTOOL_COMPILE) $(CC) $(INCLUDES) $(CFLAGS) $(CPPFLAGS) $(DEFS) -c $(srcdir)/relocatable-stub.c
1.1 misho 62:
63: # Installs the library and include files only. Typically called with only
64: # $(libdir) and $(includedir) - don't use $(prefix) and $(exec_prefix) here.
65: install-lib : all force
66: $(mkinstalldirs) $(libdir)
1.1.1.2 ! misho 67: $(LIBTOOL_INSTALL) $(INSTALL) libcharset.la $(libdir)/libcharset.la
1.1 misho 68:
69: # The following is needed in order to install a simple file in $(libdir)
70: # which is shared with other installed packages. We use a list of referencing
71: # packages so that "make uninstall" will remove the file if and only if it
72: # is not used by another installed package.
73: # On systems with glibc-2.1 or newer, the file is redundant, therefore we
74: # avoid installing it.
75:
76: install : all force
77: $(mkinstalldirs) $(DESTDIR)$(libdir) ; \
1.1.1.2 ! misho 78: $(LIBTOOL_INSTALL) $(INSTALL) libcharset.la $(DESTDIR)$(libdir)/libcharset.la
1.1 misho 79:
80: install-strip : install
81:
82: installdirs : force
83: $(mkinstalldirs) $(DESTDIR)$(libdir)
84:
85: uninstall : force
86: $(LIBTOOL_UNINSTALL) $(RM) $(DESTDIR)$(libdir)/libcharset.la
87:
88: check : all
89:
90: mostlyclean : clean
91:
92: clean : force
1.1.1.2 ! misho 93: $(RM) *.o *.lo *.a *.la *.o.lock core *.stackdump
1.1 misho 94: $(RM) -r .libs _libs
95:
96: distclean : clean
1.1.1.2 ! misho 97: $(RM) Makefile
1.1 misho 98:
99: maintainer-clean : distclean
100:
1.1.1.2 ! misho 101: # List of source files.
! 102: SOURCE_FILES = \
! 103: ChangeLog Makefile.in \
! 104: relocatable-stub.c
! 105: # List of files bidirectionally synced with gnulib.
! 106: GNULIB_SYNCED_FILES = \
! 107: localcharset.c
! 108: # List of distributed files imported from other packages.
! 109: IMPORTED_FILES =
! 110: # List of distributed files generated by autotools or Makefile.devel.
! 111: GENERATED_FILES =
! 112: # List of distributed files generated by "make".
! 113: DISTRIBUTED_BUILT_FILES =
! 114: # List of distributed files.
! 115: DISTFILES = $(SOURCE_FILES) $(GNULIB_SYNCED_FILES) $(IMPORTED_FILES) $(GENERATED_FILES) $(DISTRIBUTED_BUILT_FILES)
! 116:
! 117: distdir : $(DISTFILES)
! 118: for file in $(DISTFILES); do \
! 119: if test -f $$file; then dir='.'; else dir='$(srcdir)'; fi; \
! 120: cp -p "$$dir/$$file" '$(distdir)'/$$file || exit 1; \
! 121: done
! 122:
1.1 misho 123: force :
124:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>