-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile.in
45 lines (34 loc) · 1.04 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
# General info
SHELL = @SHELL@
prefix = @prefix@
datadir = @datadir@
datarootdir = @datarootdir@
srcdir = @srcdir@
VPATH = $(srcdir)
# These may be overridden by make invocators
DESTDIR =
GOSH = "@GOSH@"
INSTALL = "@GAUCHE_INSTALL@" -C
# Other parameters
LOCAL_PATHS = "@LOCAL_PATHS@"
# Module-specific stuff
PACKAGE = Gauche-pattern-match-lambda
SCMFILES = $(srcdir)/pattern-match-lambda.sld
CONFIG_GENERATED = Makefile config.log $(PACKAGE).gpd
GAUCHE_PKGLIBDIR = "$(DESTDIR)@GAUCHE_PKGLIBDIR@"
all :
check : all
@rm -f test.log
$(GOSH) -I. -I$(srcdir) $(srcdir)/test.scm > test.log
install : all
$(INSTALL) -m 444 -T $(GAUCHE_PKGLIBDIR) $(SCMFILES)
$(INSTALL) -m 444 -T $(GAUCHE_PKGLIBDIR)/.packages $(PACKAGE).gpd
uninstall :
$(INSTALL) -U $(GAUCHE_PKGLIBDIR) $(SCMFILES)
$(INSTALL) -U $(GAUCHE_PKGLIBDIR)/.packages $(PACKAGE).gpd
clean :
rm -rf core *~ test.log so_locations
distclean : clean
rm -rf $(CONFIG_GENERATED)
maintainer-clean : clean
rm -rf $(CONFIG_GENERATED) VERSION