1 # Makefile for libcharset
3 #### Start of system configuration section. ####
6 # Directories used by "make":
9 # Directories used by "make install":
11 local_prefix
= /usr
/local
12 exec_prefix = @
exec_prefix@
13 datarootdir
= @datarootdir@
16 includedir = @
includedir@
19 # Programs used by "make":
24 # Programs used by "make install":
26 INSTALL_DATA
= @INSTALL_DATA@
27 mkinstalldirs
= $(SHELL
) @top_srcdir@
/build-aux
/mkinstalldirs
29 #### End of system configuration section. ####
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
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
54 cd lib
&& $(MAKE
) installdirs prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)'
55 $(mkinstalldirs
) $(DESTDIR
)$(includedir)
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
63 cd lib
&& $(MAKE
) check
66 cd lib
&& $(MAKE
) mostlyclean
69 cd lib
&& $(MAKE
) clean
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.
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 \
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 \
96 tools
/darwin-6.8 tools
/darwin-7.5 tools
/darwin-9.5 \
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 \
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 \
108 # List of distributed files imported from other packages.
109 LIBTOOL_IMPORTED_FILES
= \
110 build-aux
/ltmain.sh \
116 PARENT_IMPORTED_FILES
= \
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 \
129 $(LIBTOOL_IMPORTED_FILES
) $(PARENT_IMPORTED_FILES
)
130 # List of distributed files generated by autotools or Makefile.devel.
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; \
147 test -d
'$(distdir)'/lib || mkdir
'$(distdir)'/lib
; cd lib
&& $(MAKE
) distdir distdir
='$(distdir)'/lib