forked from shirok/Gauche
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile.in
106 lines (74 loc) · 2.5 KB
/
Makefile.in
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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
@SET_MAKE@
SUBDIRS= gauche mt-random util data scheme srfi uvector charconv binary \
termios fcntl file sxml syslog dbm bcrypt digest vport \
text rfc zlib sparse peg windows tls native
.PHONY: $(SUBDIRS)
CONFIG_GENERATED = Makefile Makefile.ext
SHELL = @SHELL@
prefix = @prefix@
exec_prefix = @exec_prefix@
bindir = @bindir@
libdir = @libdir@
datadir = @datadir@
datarootdir = @datarootdir@
srcdir = @srcdir@
VPATH = $(srcdir)
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
GAUCHE_VERSION = @GAUCHE_VERSION@
DESTDIR =
@CROSS_COMPILING_no@GOSH = $(top_builddir)/src/gosh -ftest
@CROSS_COMPILING_yes@GOSH = gosh
GAUCHE_INSTALL = $(GOSH) $(top_srcdir)/src/gauche-install.in -C
TEMPLATE_INST_DIR = $(datadir)/gauche-@GAUCHE_ABI_VERSION@/$(GAUCHE_VERSION)/package-templates
TEMPLATES = Makefile.in Makefile-pure-scheme.in configure configure.ac \
COPYING--bsd3 COPYING--mit \
extension.h extension.c \
extensionlib.scm module.scm module-pure-scheme.scm \
package.scm test.scm
all: $(SUBDIRS)
$(SUBDIRS):
(cd $@; $(MAKE) default)
uvector: util
gauche scheme: util uvector charconv
srfi: scheme
text: uvector gauche data srfi charconv windows
bcrypt sxml mt-random digest zlib termios windows: uvector
vport: gauche uvector
tls: vport
bcrypt: mt-random
dbm : gauche
data : uvector srfi
peg : gauche
rfc: gauche srfi util
native: peg gauche srfi util data
test : check
check:
for d in $(SUBDIRS); do (cd $$d; $(MAKE) check) || exit 1; done
install:
for d in $(SUBDIRS); do (cd $$d; $(MAKE) install) || exit 1; done
$(GAUCHE_INSTALL) -m 444 -S $(srcdir)/package-templates $(TEMPLATES) "$(DESTDIR)$(TEMPLATE_INST_DIR)"
uninstall:
for d in $(SUBDIRS); do (cd $$d; $(MAKE) uninstall); done
for f in $(TEMPLATES); do \
rm -f "$(DESTDIR)$(TEMPLATE_INST_DIR)/$$f"; \
done
clean:
for d in $(SUBDIRS); do (cd $$d; $(MAKE) clean); done
rm -rf core *~
pre-package:
for d in $(SUBDIRS); do (cd $$d; $(MAKE) GOSH=$(GOSH) pre-package); done
link :
for d in $(SUBDIRS); do (cd $$d; $(MAKE) link); done
unlink :
for d in $(SUBDIRS); do (cd $$d; $(MAKE) unlink); done
distclean: clean
for d in $(SUBDIRS); do (cd $$d; $(MAKE) distclean); done
rm -rf $(CONFIG_GENERATED)
maintainer-clean: clean
for d in $(SUBDIRS); do (cd $$d; $(MAKE) maintainer-clean); done
rm -rf $(CONFIG_GENERATED)
install-check:
for d in $(SUBDIRS); do (cd $$d; $(MAKE) install-check); done
list-objects:
@for d in $(SUBDIRS); do (cd $$d; $(MAKE) list-objects); done