-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.in
143 lines (123 loc) · 4.16 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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
# -*- Mode: Makefile -*-
# $Id: Makefile.in,v 1.10 2004/03/16 18:20:35 ihatchondo Exp $
#
# Makefile for Eclipse window manager.
LISP = @LISP@ $(LISPFLAGS)
usecore = @usecore@
INITCORE = @INITCORE@
CORENAME = @CORENAME@
COREDIR = @COREDIR@
PRG = eclipse
# lisp argument name for starting with a specific image :
core_switch= @core_switch@
# lisp argument name for evaluating forms :
eval_switch = @eval_switch@
# lisp argument name for loading file :
load_switch = @load_switch@
# lisp function for saving a system image :
save_lisp = @save_lisp@
# list quit form :
quit_form = @quit_form@
srcdir = @srcdir@
top_srcdir = @top_srcdir@
VPATH = @srcdir@
prefix = @prefix@
exec_prefix = @exec_prefix@
bindir = @bindir@
datadir = @datadir@
libdir = @libdir@
mandir = @mandir@
install = @INSTALL@
gnome_entry_dir = @gnome_entry_dir@
eclipsedir = @eclipsedir@
initfile = @initfile@
themedir = ${eclipsedir}/themes
themes = microGUI Step brushed-metal CoolClean
# In order to communicate configuration options to the lisp system the
# corresponding variable should be given a definition above, an entry
# in `setconfig' below and a `defvar' in "config.lisp.in". Always use an
# explicit prefix of "cl-user::" to prevent any package problems.
setconfig = cl-user::*eclipse-eclipsedir* "$(eclipsedir)/" \
cl-user::*eclipse-initfile* "$(initfile)"
exit = \#+allegro (excl:exit)\
\#+clisp (\#+lisp=cl ext:quit \#-lisp=cl lisp:quit)\
\#+cmu (unix:unix-exit 0)\
\#+gcl (lisp:bye)\
\#+lispworks (lw:quit)\
\#+lucid (lcl:quit)\
\#+sbcl (sb-ext:quit :unix-status 0)\
${quit_form}
all: compile themes core
compile:
$(LISP) $(INITCORE) ${load_switch} system.lisp \
${eval_switch} "(progn \
(eclipse-system:compile-eclipse-system)\
${exit})"
core:
if test ${usecore} = yes; \
then $(LISP) $(INITCORE) ${load_switch} system.lisp \
${eval_switch} '(setq $(setconfig))' \
${eval_switch} "(progn \
(eclipse-system:load-eclipse-system)\
(${save_lisp} \"${CORENAME}\"))"; \
fi
.PHONY: themes
themes:
@for theme in ${themes}; do tmp=$$tmp\"themes/$$theme/\"; done; \
$(LISP) $(INITCORE) ${load_switch} system.lisp \
${eval_switch} "(progn \
(eclipse-system:compile-themes $$tmp) \
${exit})"
clean: clean-fasl clean-core clean-themes
clean-fasl:
$(LISP) $(INITCORE) ${load_switch} system.lisp ${eval_switch} \
"(progn \
(eclipse-system:clean-eclipse-system) \
${exit})"; \
/bin/rm -f *.err
clean-core:
if test ${usecore} = yes; then /bin/rm -f ${CORENAME}; fi
clean-themes:
for theme in themes/*; do /bin/rm -f $$theme/theme.o; done
realclean: clean
/bin/rm -f Makefile
/bin/rm -f eclipse
/bin/rm -f load-eclipse.lisp config.lisp
/bin/rm -f config.cache config.log config.status
install:
if test ${usecore} = yes ; then \
$(install) -d ${COREDIR} ; \
$(install) ${CORENAME} ${COREDIR}/${CORENAME} ; \
for theme in ${themes} ; do \
test -f "themes/$$theme/theme.o" && \
$(install) -d ${themedir}/$$theme && \
$(install) themes/$$theme/theme.o \
${themedir}/$$theme/theme.o && \
for file in themes/$$theme/*.pnm ; do \
$(install) $$file ${themedir}/$$theme/. ; \
done ; \
done ; \
fi
$(install) -d ${eclipsedir}
$(install) eclipserc ${eclipsedir}
$(install) -d ${bindir}
$(install) -m 755 ${PRG} ${bindir}/${PRG}
if test ! -x ${bindir}/`basename ${LISP}` ; then \
$(install) ${LISP} ${bindir} ; \
fi
$(install) -d ${mandir}/man1
$(install) -m 644 docs/eclipse.1 ${mandir}/man1/eclipse.1
$(install) -d ${themedir}
-if test ! ${gnome} = no;\
then\
if test ! -d ${gnome_entry_dir};\
then $(install) -d ${gnome_entry_dir};\
fi;\
$(install) -m 644 Eclipse.desktop ${gnome_entry_dir}/Eclipse.desktop;\
fi
uninstall:
/bin/rm -f ${bindir}/${PRG}
/bin/rm -f ${COREDIR}/${CORENAME}
/bin/rm -f ${mandir}/man1/eclipse.1
if test ! ${gnome_entry_dir} = no;\
then /bin/rm -f ${gnome_entry_dir}/Eclipse.desktop; fi