Initial commit, 3-52-19 alpha
[cls.git] / Makefile.in
blobf74411cfa1c6035d1b62af7e6196c6819b6e77d2
1 ##############################################################################
2 ##############################################################################
3 ##
4 ## Configuration Parameters
5 ##
6 ##############################################################################
7 ##############################################################################
9 # XLSLIB -- directory for xlisp executable, startup, example, and help files
10 # BINDIR -- directory for xlispstat shell script
13 prefix = @prefix@
14 exec_prefix = @exec_prefix@
16 XLSLIB=${prefix}/lib/xlispstat
17 BINDIR=${exec_prefix}/bin
19 SHELL = /bin/sh
21 ###############################################################################
22 ###############################################################################
23 ### ###
24 ### DO NOT EDIT BELOW THIS LINE ###
25 ### ###
26 ###############################################################################
27 ###############################################################################
29 XLSINCDIR = src/include
30 LSPDIR = src/lsp
31 CDIR = src/c
33 LIBS = ${EXTRALIBS} -lm
35 xlispstat: setup.shell xlisp.wks
36 ./setup.shell xlispstat ${XLSLIB}
37 chmod a+x xlispstat
39 xlisp.wks: xlisp ${LSPDIR}/xlisp.wks
40 rm -f xlisp.wks
41 cp ${LSPDIR}/xlisp.wks xlisp.wks
42 ${LSPDIR}/xlisp.wks:
43 (cd ${LSPDIR}; ${MAKE} xlisp.wks)
45 xlisp: ${CDIR}/xlisp
46 rm -f xlisp
47 cp ${CDIR}/xlisp ./xlisp
48 ${CDIR}/xlisp:
49 (cd ${CDIR}; make xlisp)
51 install: installexecs installlsp
53 installexecs: xlispstat xlisp installdirs
54 -cp xlispstat ${BINDIR}/xlispstat
55 -cp xlisp ${XLSLIB}
57 installlsp: xlisp.wks xlisp.hlp installdirs
58 -cp xlisp.wks ${XLSLIB}
59 -cp xlisp.hlp ${XLSLIB}
60 -cp Autoload/_autoidx.lsp Autoload/*.fsl ${XLSLIB}/Autoload
61 -cp Data/*.lsp ${XLSLIB}/Data
62 -cp Examples/*.lsp ${XLSLIB}/Examples
64 installdirs:
65 -mkdir -p ${BINDIR}
66 -mkdir -p ${XLSLIB}
67 -mkdir ${XLSLIB}/Data
68 -mkdir ${XLSLIB}/Examples
69 -mkdir ${XLSLIB}/Autoload
71 clean:
72 rm -f *~ Autoload/*.fsl
73 (cd ${CDIR}; ${MAKE} clean)
74 (cd ${LSPDIR}; ${MAKE} clean)
76 cleanall: clean
77 rm -f xlisp xlisp.wks xlispstat shlibconfig.sh
78 (cd ${CDIR}; ${MAKE} cleanall)
79 (cd ${LSPDIR}; ${MAKE} cleanall)
81 distclean: cleanall
82 rm -f config.cache config.status config.log Makefile
83 rm -f src/include/xlconfig.h
84 (cd ${CDIR}; ${MAKE} distclean)
85 (cd ${LSPDIR}; ${MAKE} distclean)