forked from jhbadger/xlispstat
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile.in
85 lines (69 loc) · 2.43 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
##############################################################################
##############################################################################
##
## Configuration Parameters
##
##############################################################################
##############################################################################
#
# XLSLIB -- directory for xlisp executable, startup, example, and help files
# BINDIR -- directory for xlispstat shell script
#
prefix = @prefix@
exec_prefix = @exec_prefix@
XLSLIB=${prefix}/lib/xlispstat
BINDIR=${exec_prefix}/bin
SHELL = /bin/sh
###############################################################################
###############################################################################
### ###
### DO NOT EDIT BELOW THIS LINE ###
### ###
###############################################################################
###############################################################################
XLSINCDIR = src/include
LSPDIR = src/lsp
CDIR = src/c
LIBS = ${EXTRALIBS} -lm
xlispstat: setup.shell xlisp.wks
./setup.shell xlispstat ${XLSLIB}
chmod a+x xlispstat
xlisp.wks: xlisp ${LSPDIR}/xlisp.wks
rm -f xlisp.wks
cp ${LSPDIR}/xlisp.wks xlisp.wks
${LSPDIR}/xlisp.wks:
(cd ${LSPDIR}; ${MAKE} xlisp.wks)
xlisp: ${CDIR}/xlisp
rm -f xlisp
cp ${CDIR}/xlisp ./xlisp
${CDIR}/xlisp:
(cd ${CDIR}; make xlisp)
install: installexecs installlsp
installexecs: xlispstat xlisp installdirs
-cp xlispstat ${BINDIR}/xlispstat
-cp xlisp ${XLSLIB}
installlsp: xlisp.wks xlisp.hlp installdirs
-cp xlisp.wks ${XLSLIB}
-cp xlisp.hlp ${XLSLIB}
-cp Autoload/_autoidx.lsp Autoload/*.fsl ${XLSLIB}/Autoload
-cp Data/*.lsp ${XLSLIB}/Data
-cp Examples/*.lsp ${XLSLIB}/Examples
installdirs:
-mkdir -p ${BINDIR}
-mkdir -p ${XLSLIB}
-mkdir ${XLSLIB}/Data
-mkdir ${XLSLIB}/Examples
-mkdir ${XLSLIB}/Autoload
clean:
rm -f *~ Autoload/*.fsl
(cd ${CDIR}; ${MAKE} clean)
(cd ${LSPDIR}; ${MAKE} clean)
cleanall: clean
rm -f xlisp xlisp.wks xlispstat shlibconfig.sh
(cd ${CDIR}; ${MAKE} cleanall)
(cd ${LSPDIR}; ${MAKE} cleanall)
distclean: cleanall
rm -f config.cache config.status config.log Makefile
rm -f src/include/xlconfig.h
(cd ${CDIR}; ${MAKE} distclean)
(cd ${LSPDIR}; ${MAKE} distclean)