File: Makefile.os2

package info (click to toggle)
clisp 1%3A2.27-0.5
  • links: PTS
  • area: main
  • in suites: woody
  • size: 49,860 kB
  • ctags: 20,752
  • sloc: ansic: 123,781; lisp: 67,533; asm: 19,633; xml: 11,766; sh: 9,788; fortran: 8,307; makefile: 3,570; objc: 2,481; perl: 1,744; java: 341; yacc: 318; sed: 117
file content (76 lines) | stat: -rw-r--r-- 3,322 bytes parent folder | download
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
# Makefile for libiconv, for OS2/EMX
#

#### Start of system configuration section. ####

# Directories used by "make install":
prefix = @prefix@
exec_prefix = $(prefix)
libdir = $(exec_prefix)/lib
shlibdir = $(exec_prefix)/dll
includedir = $(prefix)/include
mandir = $(prefix)/man

#### End of system configuration section. ####

all : force
	sed -e 's/@ICONV_CONST@/const/g' < include/iconv.h.in > include/iconv.h
	(cd lib   && $(MAKE) -f Makefile.os2 all && cd ..)
	(cd src   && $(MAKE) -f Makefile.os2 all && cd ..)
	(cd man   && $(MAKE) -f Makefile.os2 all && cd ..)
	(cd tests && $(MAKE) -f Makefile.os2 all && cd ..)

# Installs the library and include files only. Typically called with only
# $(libdir), $(shlibdir) and $(includedir) - don't use $(prefix) and
# $(exec_prefix) here.
install-lib : all force
	@echo install to $(libdir), $(shlibdir) and $(includedir)
	cp include/iconv.h $(includedir)/iconv.h
	(cd lib && $(MAKE) -f Makefile.os2 install-lib libdir='$(libdir)' shlibdir='$(shlibdir)' includedir='$(includedir)' && cd ..)
	
install : force
	@echo install to $(prefix)
	cp include/iconv.h $(includedir)/iconv.h
	(cd lib && $(MAKE) -f Makefile.os2 install prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)' shlibdir='$(shlibdir)' && cd ..)
	(cd src && $(MAKE) -f Makefile.os2 install prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)' shlibdir='$(shlibdir)' && cd ..)
	(cd man && $(MAKE) -f Makefile.os2 install prefix='$(prefix)' exec_prefix='$(exec_prefix)' mandir='$(mandir)' && cd ..)

uninstall : force
	rm -i $(includedir)/iconv.h
	(cd lib && $(MAKE) -f Makefile.os2 uninstall prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)' shlibdir='$(shlibdir)' && cd ..)
	(cd src && $(MAKE) -f Makefile.os2 uninstall prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)' shlibdir='$(shlibdir)' && cd ..)
	(cd man && $(MAKE) -f Makefile.os2 uninstall prefix='$(prefix)' exec_prefix='$(exec_prefix)' mandir='$(mandir)' && cd ..)

check : all force
	(cd lib   && $(MAKE) -f Makefile.os2 check && cd ..)
	(cd src   && $(MAKE) -f Makefile.os2 check && cd ..)
	(cd man   && $(MAKE) -f Makefile.os2 check && cd ..)
	(cd tests && $(MAKE) -f Makefile.os2 check && cd ..)

mostlyclean : force
	(cd lib   && $(MAKE) -f Makefile.os2 mostlyclean && cd ..)
	(cd src   && $(MAKE) -f Makefile.os2 mostlyclean && cd ..)
	(cd man   && $(MAKE) -f Makefile.os2 mostlyclean && cd ..)
	(cd tests && $(MAKE) -f Makefile.os2 mostlyclean && cd ..)

clean : force
	(cd lib   && $(MAKE) -f Makefile.os2 clean && cd ..)
	(cd src   && $(MAKE) -f Makefile.os2 clean && cd ..)
	(cd man   && $(MAKE) -r Makefile.os2 clean && cd ..)
	(cd tests && $(MAKE) -r Makefile.os2 clean && cd ..)

distclean : force
	(cd lib   && $(MAKE) -f Makefile.os2 distclean && cd ..)
	(cd src   && $(MAKE) -f Makefile.os2 distclean && cd ..)
	(cd man   && $(MAKE) -f Makefile.os2 distclean && cd ..)
	(cd tests && $(MAKE) -f Makefile.os2 distclean && cd ..)
	rm -f include/iconv.h

maintainer-clean : force
	(cd lib   && $(MAKE) -f Makefile.os2 maintainer-clean && cd ..)
	(cd src   && $(MAKE) -f Makefile.os2 maintainer-clean && cd ..)
	(cd man   && $(MAKE) -f Makefile.os2 maintainer-clean && cd ..)
	(cd tests && $(MAKE) -f Makefile.os2 maintainer-clean && cd ..)
	rm -f include/iconv.h

force :