Update after gnulib changed.
[libiconv.git] / libcharset / Makefile.in
blob4df58426b228e87f6bce12538a83ff6ba995cd06
1 # Makefile for libcharset
3 #### Start of system configuration section. ####
6 # Directories used by "make":
7 srcdir = @srcdir@
9 # Directories used by "make install":
10 prefix = @prefix@
11 local_prefix = /usr/local
12 exec_prefix = @exec_prefix@
13 datarootdir = @datarootdir@
14 datadir = @datadir@
15 libdir = @libdir@
16 includedir = @includedir@
17 mandir = @mandir@
19 # Programs used by "make":
20 CP = cp
21 RM = rm -f
22 @SET_MAKE@
24 # Programs used by "make install":
25 INSTALL = @INSTALL@
26 INSTALL_DATA = @INSTALL_DATA@
27 mkinstalldirs = $(SHELL) @top_srcdir@/build-aux/mkinstalldirs
29 #### End of system configuration section. ####
31 SHELL = @SHELL@
33 all : force
34 cd lib && $(MAKE) all
36 # Installs the library and include files only. Typically called with only
37 # $(libdir) and $(includedir) - don't use $(prefix) and $(exec_prefix) here.
38 install-lib : all force
39 cd lib && $(MAKE) install-lib libdir='$(libdir)' includedir='$(includedir)'
40 $(mkinstalldirs) $(includedir)
41 $(INSTALL_DATA) include/libcharset.h.inst $(includedir)/libcharset.h
42 # Here, use the include file that contains LIBCHARSET_DLL_EXPORTED annotations.
43 $(INSTALL_DATA) include/localcharset.h $(includedir)/localcharset.h
45 install : all force
46 cd lib && $(MAKE) install prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)'
47 $(mkinstalldirs) $(DESTDIR)$(includedir)
48 $(INSTALL_DATA) include/libcharset.h.inst $(DESTDIR)$(includedir)/libcharset.h
49 $(INSTALL_DATA) include/localcharset.h.inst $(DESTDIR)$(includedir)/localcharset.h
51 install-strip : install
53 installdirs : force
54 cd lib && $(MAKE) installdirs prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)'
55 $(mkinstalldirs) $(DESTDIR)$(includedir)
57 uninstall : force
58 cd lib && $(MAKE) uninstall prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)'
59 $(RM) $(DESTDIR)$(includedir)/libcharset.h
60 $(RM) $(DESTDIR)$(includedir)/localcharset.h
62 check : force
63 cd lib && $(MAKE) check
65 mostlyclean : force
66 cd lib && $(MAKE) mostlyclean
68 clean : force
69 cd lib && $(MAKE) clean
71 distclean : force
72 cd lib && if test -f Makefile; then $(MAKE) distclean; fi
73 $(RM) include/libcharset.h include/localcharset.h include/localcharset.h.inst
74 $(RM) config.status config.log config.cache Makefile config.h libtool
76 maintainer-clean : force
77 cd lib && if test -f Makefile; then $(MAKE) maintainer-clean; fi
78 $(RM) include/libcharset.h include/localcharset.h include/localcharset.h.inst
79 $(RM) config.status config.log config.cache Makefile config.h libtool
81 # List of source files.
82 SOURCE_FILES = \
83 README DEPENDENCIES INSTALL.windows HACKING INTEGRATE AUTHORS NEWS \
84 ChangeLog Makefile.devel configure.ac Makefile.in \
85 include/export.h include/libcharset.h.in include/localcharset.h.in \
86 tools/README \
87 tools/all-charsets tools/all-charsets-X11 tools/all-locales \
88 tools/locale_charmap \
89 tools/locale_charset.c \
90 tools/locale_codeset.c \
91 tools/locale_monthnames.c \
92 tools/locale_x11encoding.c \
93 tools/aix-3.2.5 tools/aix-4.1.5 tools/aix-4.2.0 tools/aix-4.3.2 \
94 tools/beos-5 \
95 tools/cygwin-1.7.2 \
96 tools/darwin-6.8 tools/darwin-7.5 tools/darwin-9.5 \
97 tools/freebsd-3.3 \
98 tools/glibc-2.1.3 tools/glibc-2.1.90 tools/glibc-2.2 \
99 tools/glibc-2.2-XF86-3.3.6 tools/glibc-2.2-XF86-4.0.1f \
100 tools/hpux-10.01 tools/hpux-10.20 tools/hpux-11.00 \
101 tools/irix-6.5 \
102 tools/netbsd-3.0 \
103 tools/openbsd-4.1 \
104 tools/osf1-4.0a tools/osf1-4.0d tools/osf1-5.1 \
105 tools/solaris-2.4 tools/solaris-2.5.1 tools/solaris-2.6 tools/solaris-2.6-cjk tools/solaris-2.7 \
106 tools/sunos-4.1.4 \
107 tools/win32
108 # List of distributed files imported from other packages.
109 LIBTOOL_IMPORTED_FILES = \
110 build-aux/ltmain.sh \
111 m4/libtool.m4 \
112 m4/lt~obsolete.m4 \
113 m4/ltoptions.m4 \
114 m4/ltsugar.m4 \
115 m4/ltversion.m4
116 PARENT_IMPORTED_FILES = \
117 INSTALL.generic \
118 build-aux/config.guess \
119 build-aux/config.libpath \
120 build-aux/config.sub \
121 build-aux/install-sh \
122 build-aux/libtool-reloc \
123 build-aux/mkinstalldirs \
124 m4/codeset.m4 \
125 m4/fcntl-o.m4 \
126 m4/visibility.m4
127 IMPORTED_FILES = \
128 COPYING.LIB \
129 $(LIBTOOL_IMPORTED_FILES) $(PARENT_IMPORTED_FILES)
130 # List of distributed files generated by autotools or Makefile.devel.
131 GENERATED_FILES = \
132 autoconf/aclocal.m4 configure config.h.in \
133 include/libcharset.h.build.in \
134 include/localcharset.h.build.in
135 # List of distributed files generated by "make".
136 DISTRIBUTED_BUILT_FILES =
137 # List of distributed files.
138 DISTFILES = $(SOURCE_FILES) $(IMPORTED_FILES) $(GENERATED_FILES) $(DISTRIBUTED_BUILT_FILES)
140 distdir : $(DISTFILES)
141 for file in $(DISTFILES); do \
142 if test -f $$file; then dir='.'; else dir='$(srcdir)'; fi; \
143 destdir=`echo '$(distdir)'/$$file | sed -e 's|//*[^/]*$$||'`; \
144 test -d "$$destdir" || mkdir "$$destdir"; \
145 cp -p "$$dir/$$file" '$(distdir)'/$$file || exit 1; \
146 done
147 test -d '$(distdir)'/lib || mkdir '$(distdir)'/lib; cd lib && $(MAKE) distdir distdir='$(distdir)'/lib
149 force :