-
Notifications
You must be signed in to change notification settings - Fork 4
/
Makefile.in
75 lines (60 loc) · 2.01 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
# General info
SHELL = @SHELL@
prefix = @prefix@
exec_prefix = @exec_prefix@
bindir = @bindir@
libdir = @libdir@
datadir = @datadir@
datarootdir = @datarootdir@
srcdir = @srcdir@
VPATH = $(srcdir)
# These may be overridden by make invocators
DESTDIR =
GOSH = "@GOSH@"
GAUCHE_CONFIG = "@GAUCHE_CONFIG@"
GAUCHE_PACKAGE = "@GAUCHE_PACKAGE@"
INSTALL = "@GAUCHE_INSTALL@" -C
# Other parameters
SOEXT = @SOEXT@
OBJEXT = @OBJEXT@
EXEEXT = @EXEEXT@
LOCAL_PATHS = "@LOCAL_PATHS@"
# Module-specific stuff
PACKAGE = Gauche-lisp15
ARCHFILES =
SCMFILES = $(srcdir)/LISP1/5.scm
HEADERS =
TARGET = lisp/eval.lisp lisp/mapcar.lisp
GENERATED =
CONFIG_GENERATED = Makefile config.cache config.log config.status \
configure.lineno autom4te*.cache $(PACKAGE).gpd
GAUCHE_PKGINCDIR = "$(DESTDIR)@GAUCHE_PKGINCDIR@"
GAUCHE_PKGLIBDIR = "$(DESTDIR)@GAUCHE_PKGLIBDIR@"
GAUCHE_PKGARCHDIR = "$(DESTDIR)@GAUCHE_PKGARCHDIR@"
all : $(TARGET)
lisp/eval.lisp : mx/eval.mx
$(GOSH) tools/mexpr-env.scm -e mx/eval.mx > lisp/eval.lisp
lisp/mapcar.lisp : mx/eval.mx mx/mapcar.mx
$(GOSH) tools/mexpr-env.scm -e mx/eval.mx mx/mapcar.mx \
> lisp/mapcar.lisp
check : all
@rm -f test.log
$(GOSH) -I. -I$(srcdir) $(srcdir)/test-basic.scm > test.log
$(GOSH) -I. -I$(srcdir) $(srcdir)/test-genv.scm >> test.log
install : all
$(INSTALL) -m 444 -T $(GAUCHE_PKGINCDIR) $(HEADERS)
$(INSTALL) -m 444 -T $(GAUCHE_PKGLIBDIR) $(SCMFILES)
$(INSTALL) -m 555 -T $(GAUCHE_PKGARCHDIR) $(ARCHFILES)
$(INSTALL) -m 444 -T $(GAUCHE_PKGLIBDIR)/.packages $(PACKAGE).gpd
uninstall :
$(INSTALL) -U $(GAUCHE_PKGINCDIR) $(HEADERS)
$(INSTALL) -U $(GAUCHE_PKGLIBDIR) $(SCMFILES)
$(INSTALL) -U $(GAUCHE_PKGARCHDIR) $(ARCHFILES)
$(INSTALL) -U $(GAUCHE_PKGLIBDIR)/.packages $(PACKAGE).gpd
clean :
$(GAUCHE_PACKAGE) compile --clean lisp15 $(lisp15_SRCS)
rm -rf core $(TARGET) $(GENERATED) *~ test.log so_locations
distclean : clean
rm -rf $(CONFIG_GENERATED)
maintainer-clean : clean
rm -rf $(CONFIG_GENERATED) VERSION