/[eclipse]/eclipse/Makefile.in
ViewVC logotype

Contents of /eclipse/Makefile.in

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.11 - (show annotations)
Thu Mar 18 12:29:46 2004 UTC (10 years, 1 month ago) by ihatchondo
Branch: MAIN
CVS Tags: HEAD
Changes since 1.10: +14 -14 lines
fix missing core switch when using an initcore.
1 # -*- Mode: Makefile -*-
2 # $Id: Makefile.in,v 1.11 2004/03/18 12:29:46 ihatchondo Exp $
3 #
4 # Makefile for Eclipse window manager.
5
6 LISP = @LISP@ $(LISPFLAGS)
7 usecore = @usecore@
8 INITCORE = @INITCORE@
9 CORENAME = @CORENAME@
10 COREDIR = @COREDIR@
11 PRG = eclipse
12
13 # lisp argument name for starting with a specific image :
14 core_switch= @core_switch@
15 # lisp argument name for evaluating forms :
16 eval_switch = @eval_switch@
17 # lisp argument name for loading file :
18 load_switch = @load_switch@
19 # lisp function for saving a system image :
20 save_lisp = @save_lisp@
21 # list quit form :
22 quit_form = @quit_form@
23
24 srcdir = @srcdir@
25 top_srcdir = @top_srcdir@
26 VPATH = @srcdir@
27 prefix = @prefix@
28 exec_prefix = @exec_prefix@
29 bindir = @bindir@
30 datadir = @datadir@
31 libdir = @libdir@
32 mandir = @mandir@
33 install = @INSTALL@
34 gnome_entry_dir = @gnome_entry_dir@
35 eclipsedir = @eclipsedir@
36 initfile = @initfile@
37
38 themedir = ${eclipsedir}/themes
39 themes = microGUI Step brushed-metal CoolClean
40
41 # In order to communicate configuration options to the lisp system the
42 # corresponding variable should be given a definition above, an entry
43 # in `setconfig' below and a `defvar' in "config.lisp.in". Always use an
44 # explicit prefix of "cl-user::" to prevent any package problems.
45
46 setconfig = cl-user::*eclipse-eclipsedir* "$(eclipsedir)/" \
47 cl-user::*eclipse-initfile* "$(initfile)"
48
49 exit = \#+allegro (excl:exit)\
50 \#+clisp (\#+lisp=cl ext:quit \#-lisp=cl lisp:quit)\
51 \#+cmu (unix:unix-exit 0)\
52 \#+gcl (lisp:bye)\
53 \#+lispworks (lw:quit)\
54 \#+lucid (lcl:quit)\
55 \#+sbcl (sb-ext:quit :unix-status 0)\
56 ${quit_form}
57
58
59 all: compile themes core
60
61 compile:
62 $(LISP) $(INITCORE) ${load_switch} system.lisp \
63 ${eval_switch} "(progn \
64 (eclipse-system:compile-eclipse-system)\
65 ${exit})"
66
67 core:
68 if test ${usecore} = yes; \
69 then $(LISP) $(INITCORE) ${load_switch} system.lisp \
70 ${eval_switch} '(setq $(setconfig))' \
71 ${eval_switch} "(progn \
72 (eclipse-system:load-eclipse-system)\
73 (${save_lisp} \"${CORENAME}\"))"; \
74 fi
75
76 .PHONY: themes
77
78 themes:
79 @for theme in ${themes}; do tmp=$$tmp\"themes/$$theme/\"; done; \
80 $(LISP) $(INITCORE) ${load_switch} system.lisp \
81 ${eval_switch} "(progn \
82 (eclipse-system:compile-themes $$tmp) \
83 ${exit})"
84
85 clean: clean-fasl clean-core clean-themes
86
87 clean-fasl:
88 $(LISP) $(INITCORE) ${load_switch} system.lisp ${eval_switch} \
89 "(progn \
90 (eclipse-system:clean-eclipse-system) \
91 ${exit})"; \
92 /bin/rm -f *.err
93
94 clean-core:
95 if test ${usecore} = yes; then /bin/rm -f ${CORENAME}; fi
96
97 clean-themes:
98 for theme in themes/*; do /bin/rm -f $$theme/theme.o; done
99
100 realclean: clean
101 /bin/rm -f Makefile
102 /bin/rm -f eclipse
103 /bin/rm -f load-eclipse.lisp config.lisp
104 /bin/rm -f config.cache config.log config.status
105
106 install:
107 if test ${usecore} = yes ; then \
108 $(install) -d ${COREDIR} ; \
109 $(install) ${CORENAME} ${COREDIR}/${CORENAME} ; \
110 for theme in ${themes} ; do \
111 test -f "themes/$$theme/theme.o" && \
112 $(install) -d ${themedir}/$$theme && \
113 $(install) themes/$$theme/theme.o \
114 ${themedir}/$$theme/theme.o && \
115 for file in themes/$$theme/*.pnm ; do \
116 $(install) $$file ${themedir}/$$theme/. ; \
117 done ; \
118 done ; \
119 fi
120 $(install) -d ${eclipsedir}
121 $(install) eclipserc ${eclipsedir}
122 $(install) -d ${bindir}
123 $(install) -m 755 ${PRG} ${bindir}/${PRG}
124 if test ! -x ${bindir}/`basename ${LISP}` ; then \
125 $(install) ${LISP} ${bindir} ; \
126 fi
127 $(install) -d ${mandir}/man1
128 $(install) -m 644 docs/eclipse.1 ${mandir}/man1/eclipse.1
129 $(install) -d ${themedir}
130 -if test ! ${gnome} = no;\
131 then\
132 if test ! -d ${gnome_entry_dir};\
133 then $(install) -d ${gnome_entry_dir};\
134 fi;\
135 $(install) -m 644 Eclipse.desktop ${gnome_entry_dir}/Eclipse.desktop;\
136 fi
137
138 uninstall:
139 /bin/rm -f ${bindir}/${PRG}
140 /bin/rm -f ${COREDIR}/${CORENAME}
141 /bin/rm -f ${mandir}/man1/eclipse.1
142 if test ! ${gnome_entry_dir} = no;\
143 then /bin/rm -f ${gnome_entry_dir}/Eclipse.desktop; fi

  ViewVC Help
Powered by ViewVC 1.1.5