blob: 92b05f90f86f5b7aa935b54e89bfd2cdf841db84 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
|
srcdir = .
prefix = /usr/local
local_prefix = /usr/local
exec_prefix = ${prefix}
datarootdir = ${prefix}/share
datadir = ${datarootdir}
libdir = ${exec_prefix}/lib
includedir = ${prefix}/include
mandir = ${datarootdir}/man
CP = cp
RM = rm -f
INSTALL = /usr/bin/install -c
INSTALL_DATA = ${INSTALL} -m 644
mkinstalldirs = $(SHELL) ./build-aux/mkinstalldirs
SHELL = /bin/sh
all : include/libcharset.h force
cd lib && $(MAKE) all
include/libcharset.h :
if [ ! -d include ] ; then mkdir include ; fi
$(CP) $(srcdir)/include/libcharset.h.in include/libcharset.h
install-lib : all force
cd lib && $(MAKE) install-lib libdir='$(libdir)' includedir='$(includedir)'
$(mkinstalldirs) $(includedir)
$(INSTALL_DATA) include/libcharset.h $(includedir)/libcharset.h
$(INSTALL_DATA) include/localcharset.h.inst $(includedir)/localcharset.h
install : include/libcharset.h include/localcharset.h force
cd lib && $(MAKE) install prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)'
$(mkinstalldirs) $(DESTDIR)$(includedir)
$(INSTALL_DATA) include/libcharset.h $(DESTDIR)$(includedir)/libcharset.h
$(INSTALL_DATA) include/localcharset.h.inst $(DESTDIR)$(includedir)/localcharset.h
install-strip : install
installdirs : force
cd lib && $(MAKE) installdirs prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)'
$(mkinstalldirs) $(DESTDIR)$(includedir)
uninstall : force
cd lib && $(MAKE) uninstall prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)'
$(RM) $(DESTDIR)$(includedir)/libcharset.h
$(RM) $(DESTDIR)$(includedir)/localcharset.h
check : force
cd lib && $(MAKE) check
mostlyclean : force
cd lib && $(MAKE) mostlyclean
clean : force
cd lib && $(MAKE) clean
distclean : force
cd lib && if test -f Makefile; then $(MAKE) distclean; fi
$(RM) include/libcharset.h include/localcharset.h include/localcharset.h.inst
$(RM) config.status config.log config.cache Makefile config.h libtool
maintainer-clean : force
cd lib && if test -f Makefile; then $(MAKE) maintainer-clean; fi
$(RM) include/libcharset.h include/localcharset.h include/localcharset.h.inst
$(RM) config.status config.log config.cache Makefile config.h libtool
force :
|