source: trunk/j/Makefile.in @ 4785

Last change on this file since 4785 was 4785, checked in by piso, 18 years ago

Added src/org/armedbear/lisp/java/awt directory.

File size: 8.2 KB
Line 
1# Makefile.in
2
3# Copyright (C) 1998-2000 Peter Graves
4# $Id: Makefile.in,v 1.12 2003-11-16 15:55:13 piso Exp $
5
6# This program is free software; you can redistribute it and/or
7# modify it under the terms of the GNU General Public License
8# as published by the Free Software Foundation; either version 2
9# of the License, or (at your option) any later version.
10
11# This program is distributed in the hope that it will be useful,
12# but WITHOUT ANY WARRANTY; without even the implied warranty of
13# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14# GNU General Public License for more details.
15
16# You should have received a copy of the GNU General Public License
17# along with this program; if not, write to the Free Software
18# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
19
20version=@version@
21
22prefix=@prefix@
23exec_prefix=@exec_prefix@
24bindir=@bindir@
25datadir=@datadir@
26
27INSTALL=@INSTALL@
28INSTALL_DATA=@INSTALL_DATA@
29INSTALL_PROGRAM=@INSTALL_PROGRAM@
30INSTALL_SCRIPT=@INSTALL_SCRIPT@
31
32JAR=@JAR@
33
34JPTY=@JPTY@
35
36distdir = j-$(version)
37
38all: j.jar $(JPTY)
39
40Makefile: Makefile.in config.status
41  $(SHELL) ./config.status
42
43config.status: configure
44  $(SHELL) ./config.status --recheck
45
46classes:
47  set -e; \
48  for i in src/gnu/regexp \
49    src/org/armedbear/j/mail \
50    src/org/armedbear/j/jdb \
51    src/org/armedbear/j \
52    src/org/armedbear/lisp \
53    src/org/armedbear/lisp/java/awt \
54    src; \
55  do \
56    ( cd $$i && $(MAKE) ); \
57  done
58  cd src/org/armedbear/j && date > build && hostname >> build
59
60jpty:
61  cd src/jpty && $(MAKE)
62
63jpty.exe:
64  cd src/jpty && $(MAKE)
65
66j.jar: classes.stamp
67  cd src && $(JAR) cmf manifest ../j.jar Main.class org/armedbear/j/*.class \
68    org/armedbear/j/version org/armedbear/j/build \
69    org/armedbear/j/images/*.png \
70    gnu/regexp/*.class gnu/regexp/MessagesBundle.properties \
71    org/armedbear/j/mail/*.class \
72    org/armedbear/j/jdb/*.class \
73    org/armedbear/j/*.keywords org/armedbear/j/mail/*.keywords \
74    org/armedbear/lisp/*.class org/armedbear/lisp/java/awt/*.class \
75    org/armedbear/lisp/*.lisp org/armedbear/lisp/build
76
77classes.stamp: classes
78  test -f classes.stamp || touch classes.stamp
79
80distdir:
81  -rm -rf $(distdir)
82  mkdir $(distdir)
83  find . | xargs chmod u+w
84  chmod +x configure
85  chmod +x install-sh
86  chmod +x mkinstalldirs
87  cp -p  j.in abl.in configure configure.ac Makefile.in install-sh mkinstalldirs COPYING $(distdir)
88  cp -p  build.properties build.xml $(distdir)
89  mkdir $(distdir)/src
90  cp -p  src/Makefile.in src/manifest src/*.java $(distdir)/src
91  mkdir $(distdir)/src/jpty
92  cp -p  src/jpty/Makefile.in src/jpty/jpty.c $(distdir)/src/jpty
93  cp -p  src/jpty/build.xml $(distdir)/src/jpty
94  mkdir $(distdir)/src/org
95  mkdir $(distdir)/src/org/armedbear
96  mkdir $(distdir)/src/org/armedbear/j
97  -cp -p  src/org/armedbear/j/Makefile.in $(distdir)/src/org/armedbear/j
98  -cp -p  src/org/armedbear/j/version.in  $(distdir)/src/org/armedbear/j
99  -cp -p  src/org/armedbear/j/*.java      $(distdir)/src/org/armedbear/j
100  -cp -p  src/org/armedbear/j/*.keywords  $(distdir)/src/org/armedbear/j
101  mkdir $(distdir)/src/org/armedbear/j/mail
102  -cp -p  src/org/armedbear/j/mail/Makefile.in src/org/armedbear/j/mail/*.java src/org/armedbear/j/mail/*.keywords $(distdir)/src/org/armedbear/j/mail
103  mkdir $(distdir)/src/org/armedbear/j/jdb
104  -cp -p  src/org/armedbear/j/jdb/Makefile.in src/org/armedbear/j/jdb/*.java $(distdir)/src/org/armedbear/j/jdb
105  mkdir $(distdir)/src/org/armedbear/j/images
106  -cp -p  src/org/armedbear/j/images/*.png $(distdir)/src/org/armedbear/j/images
107  mkdir $(distdir)/src/org/armedbear/lisp
108  -cp -p  src/org/armedbear/lisp/Makefile.in src/org/armedbear/lisp/build.xml src/org/armedbear/lisp/*.java src/org/armedbear/lisp/*.lisp $(distdir)/src/org/armedbear/lisp
109  mkdir $(distdir)/src/org/armedbear/lisp/java
110  mkdir $(distdir)/src/org/armedbear/lisp/java/awt
111  -cp -p  src/org/armedbear/lisp/java/awt/Makefile.in src/org/armedbear/lisp/java/awt/*.java $(distdir)/src/org/armedbear/lisp/java/awt
112  mkdir $(distdir)/src/gnu
113  mkdir $(distdir)/src/gnu/regexp
114  -cp -p  src/gnu/regexp/Makefile.in src/gnu/regexp/*.java  src/gnu/regexp/MessagesBundle.properties $(distdir)/src/gnu/regexp
115  mkdir $(distdir)/doc
116  cp -p  doc/*.html $(distdir)/doc
117  cp -p  doc/*.css $(distdir)/doc
118  mkdir $(distdir)/themes
119  -cp -p  themes/* $(distdir)/themes
120  mkdir $(distdir)/examples
121  -cp -p  examples/* $(distdir)/examples
122
123dist: distdir
124  -rm -f $(distdir).zip
125  -rm -f $(distdir).tar.gz
126  zip -q -r $(distdir).zip $(distdir)
127  -rm -rf temp
128  mkdir temp
129  cd temp && unzip -q ../$(distdir).zip
130  diff --brief -N -r $(distdir) temp/$(distdir)
131  rm -rf temp
132  tar czf $(distdir).tar.gz $(distdir)
133  mkdir temp
134  cd temp && tar xfz ../$(distdir).tar.gz
135  diff --brief -N -r $(distdir) temp/$(distdir)
136  rm -rf temp
137  rm -rf $(distdir)
138
139bindistdir: j.jar
140  -rm -rf $(distdir)
141  mkdir $(distdir)
142  cp -p  j.jar COPYING $(distdir)
143  mkdir $(distdir)/doc
144  cp -p  doc/*.html $(distdir)/doc
145  cp -p  doc/*.css $(distdir)/doc
146  mkdir $(distdir)/themes
147  -cp -p  themes/* $(distdir)/themes
148  mkdir $(distdir)/examples
149  -cp -p  examples/* $(distdir)/examples
150
151bindist: bindistdir
152  -rm -f $(distdir)-binary.tar.gz
153  -rm -f $(distdir)-binary.zip
154  zip -q -r $(distdir)-binary.zip $(distdir)
155  -rm -rf temp
156  mkdir temp
157  cd temp && unzip -q ../$(distdir)-binary.zip
158  diff --brief -N -r $(distdir) temp/$(distdir)
159  rm -rf temp
160  tar czf $(distdir)-binary.tar.gz $(distdir)
161  mkdir temp
162  cd temp && tar xfz ../$(distdir)-binary.tar.gz
163  diff --brief -N -r $(distdir) temp/$(distdir)
164  rm -rf temp
165  -rm -rf $(distdir)
166
167install:
168  ./mkinstalldirs $(datadir)/j $(datadir)/j/themes $(datadir)/doc/j $(bindir)
169  $(INSTALL_DATA) j.jar $(datadir)/j
170  $(INSTALL_SCRIPT) j $(bindir)
171  $(INSTALL_SCRIPT) abl $(bindir)
172  if [ -f src/jpty/$(JPTY) ]; then $(INSTALL_PROGRAM) src/jpty/$(JPTY) $(bindir); fi
173  for i in themes/* ; do test -f $$i && $(INSTALL_DATA) $$i $(datadir)/j/themes ; done
174  $(INSTALL_DATA) doc/*.html $(datadir)/doc/j
175  $(INSTALL_DATA) doc/*.css $(datadir)/doc/j
176
177uninstall:
178  -rm -f $(datadir)/j/j.jar
179  -rm -f $(bindir)/j
180  -rm -f $(bindir)/abl
181  -rm -f $(bindir)/jpty.exe
182  -rm -f $(bindir)/jpty
183  -rm -f $(datadir)/j/themes/*
184  -rmdir $(datadir)/j/themes
185  -rm -f $(datadir)/doc/j/*.html
186  -rm -f $(datadir)/doc/j/*.css
187  -rmdir $(datadir)/doc/j
188  -rmdir $(datadir)/j
189
190clean:
191  -rm -f *.zip
192  -rm -f *.tar.gz
193  -rm -f *.jar
194  -rm -f *.class
195  -rm -f src/*.class
196  -rm -f src/jpty/jpty src/jpty/jpty.exe
197  -rm -f src/org/armedbear/j/*.class
198  -rm -f src/org/armedbear/j/build
199  -rm -f src/org/armedbear/j/mail/*.class
200  -rm -f src/org/armedbear/j/jdb/*.class
201  -rm -f src/org/armedbear/lisp/*.class
202  -rm -f src/org/armedbear/lisp/java/awt/*.class
203  -rm -f src/org/armedbear/lisp/build
204  -rm -f src/gnu/regexp/*.class
205  -rm -rf $(distdir)
206  -rm -f classes.stamp
207
208distclean: clean
209  -rm -f config.status config.log config.cache Makefile j abl
210  -rm -f src/Makefile
211  -rm -f src/jpty/Makefile
212  -rm -f src/gnu/regexp/Makefile
213  -rm -f src/org/armedbear/j/Makefile
214  -rm -f src/org/armedbear/j/version
215  -rm -f src/org/armedbear/j/mail/Makefile
216  -rm -f src/org/armedbear/j/jdb/Makefile
217  -rm -f src/org/armedbear/lisp/Makefile
218  -rm -f src/org/armedbear/lisp/java/awt/Makefile
219
220j.zip:
221  -rm -f j.zip
222  find . | xargs chmod u+w
223  chmod +x configure
224  chmod +x install-sh
225  chmod +x mkinstalldirs
226  zip -q j.zip \
227    j.in abl.in configure configure.ac Makefile.in \
228    install-sh mkinstalldirs COPYING \
229    build.xml build.properties \
230    src/Makefile.in src/manifest src/*.java \
231    src/jpty/Makefile.in src/jpty/build.xml src/jpty/jpty.c \
232    src/org/armedbear/j/Makefile.in src/org/armedbear/j/version.in src/org/armedbear/j/*.java \
233    src/org/armedbear/j/*.keywords \
234    src/org/armedbear/j/mail/Makefile.in src/org/armedbear/j/mail/*.java \
235    src/org/armedbear/j/mail/*.keywords \
236    src/org/armedbear/j/jdb/Makefile.in src/org/armedbear/j/jdb/*.java \
237    src/org/armedbear/j/images/*.png \
238    src/org/armedbear/lisp/Makefile.in src/org/armedbear/lisp/build.xml \
239    src/org/armedbear/lisp/*.java src/org/armedbear/lisp/*.lisp \
240    src/org/armedbear/lisp/java/awt/Makefile.in \
241    src/org/armedbear/lisp/java/awt/*.java \
242    src/bsh/reflect/Makefile.in src/bsh/reflect/*.java \
243    src/gnu/regexp/Makefile.in src/gnu/regexp/*.java src/gnu/regexp/MessagesBundle.properties \
244    doc/*.html doc/*.css \
245    themes/* \
246    examples/* \
247    -x themes/CVS/ examples/CVS/
248  unzip -t -qq j.zip
249
250j-jar.zip: j.jar
251  -rm -f j-jar.zip
252  zip -q j-jar.zip j.jar
253  unzip -t -qq j-jar.zip
254
255snapshot: j.zip j-jar.zip
Note: See TracBrowser for help on using the repository browser.