-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathMakefile.in
65 lines (53 loc) · 1.74 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
CONFIG_GENERATED = Makefile Gauche-gl.gpd
.PHONY: all check clean distclean install maintainer-clean
GAUCHE_CONFIG = "@GAUCHE_CONFIG@"
INSTALL = "@GAUCHE_INSTALL@"
DESTDIR =
SCM_INSTALL_DIR = "$(DESTDIR)`$(GAUCHE_CONFIG) --sitelibdir`"
INSTALL_ROOT = "$(DESTDIR)`$(GAUCHE_CONFIG) --prefix`"
ENABLE_CG = @ENABLE_CG@
all :
cd src; $(MAKE) all
if test X$(ENABLE_CG) != X; then (cd cg; $(MAKE) all); fi
cd doc; $(MAKE) all
check : all
cd src; $(MAKE) check
if test X$(ENABLE_CG) != X; then (cd cg; $(MAKE) check); fi
clean :
rm -rf core *~
cd src; $(MAKE) clean
cd lib; $(MAKE) clean
cd cg; $(MAKE) clean
cd doc; $(MAKE) clean
distclean : clean
cd src; $(MAKE) distclean
cd lib; $(MAKE) distclean
cd cg; $(MAKE) distclean
cd doc; $(MAKE) distclean
rm -rf $(CONFIG_GENERATED)
install :
cd src; $(MAKE) install
cd lib; $(MAKE) install
if test X$(ENABLE_CG) != X; then (cd cg; $(MAKE) install); fi
cd doc; $(MAKE) install
$(INSTALL) -m 444 -T $(SCM_INSTALL_DIR)/.packages Gauche-gl.gpd
uninstall :
cd src; $(MAKE) uninstall
cd lib; $(MAKE) uninstall
if test X$(ENABLE_CG) != X; then (cd cg; $(MAKE) uninstall); fi
cd doc; $(MAKE) uninstall
$(INSTALL) -U $(SCM_INSTALL_DIR)/.packages Gauche-gl.gpd
maintainer-clean : clean
cd src; $(MAKE) maintainer-clean
cd lib; $(MAKE) maintainer-clean
cd cg; $(MAKE) maintainer-clean
cd doc; $(MAKE) maintainer-clean
rm -rf VERSION $(CONFIG_GENERATED)
# We don't normally install examples. On MinGW, it will be useful to
# include examples in the bindary distribution.
install-examples : install
$(INSTALL) -T $(INSTALL_ROOT) -m 444 \
examples/gears.scm examples/mandelbrot.scm \
examples/glbook/*.scm examples/glbook/README \
examples/images/*.rgb \
examples/simple/*.scm