source: trunk/j/src/org/armedbear/lisp/Makefile.in @ 8661

Last change on this file since 8661 was 8661, checked in by piso, 17 years ago

FunctionBinding?.class
SpecialBinding?.class

File size: 7.2 KB
Line 
1# Makefile.in
2
3# Copyright (C) 2003-2005 Peter Graves
4# $Id: Makefile.in,v 1.198 2005-02-28 03:57:00 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
20JDK = @JDK@
21JAVAC = @JAVAC@
22JAVAH = @JAVAH@
23JAVACFLAGS = @JAVACFLAGS@
24COMPILER_CLASSPATH = @COMPILER_CLASSPATH@
25LIBABCL=@LIBABCL@
26
27PLATFORM := $(shell uname)
28
29CLASSFILES =  AbstractArray.class \
30    AbstractBitVector.class \
31    AbstractString.class \
32    AbstractVector.class \
33    ArithmeticError.class \
34    Autoload.class \
35    AutoloadMacro.class \
36    Bignum.class \
37    Binding.class \
38    BroadcastStream.class \
39    BuiltInClass.class \
40    CapitalizeFirstStream.class \
41    CapitalizeStream.class \
42    CaseFrobStream.class \
43    CellError.class \
44    CharacterFunctions.class \
45    Closure.class \
46    ClosureTemplateFunction.class \
47    CompiledClosure.class \
48    CompiledFunction.class \
49    CompilerError.class \
50    CompilerUnsupportedFeatureError.class \
51    Complex.class \
52    ComplexArray.class \
53    ComplexBitVector.class \
54    ComplexString.class \
55    ComplexVector.class \
56    ConcatenatedStream.class \
57    Condition.class \
58    ConditionThrowable.class \
59    Cons.class \
60    ControlError.class \
61    Debug.class \
62    DispatchMacroFunction.class \
63    DivisionByZero.class \
64    Do.class \
65    DowncaseStream.class \
66    EchoStream.class \
67    EndOfFile.class \
68    Environment.class \
69    EqHashTable.class \
70    EqlHashTable.class \
71    EqualHashTable.class \
72    EqualpHashTable.class \
73    Exports.class \
74    Extensions.class \
75    FileError.class \
76    FileStream.class \
77    FillPointerOutputStream.class \
78    Fixnum.class \
79    FloatingPointInexact.class \
80    FloatingPointInvalidOperation.class \
81    FloatingPointOverflow.class \
82    FloatingPointUnderflow.class \
83    ForwardReferencedClass.class \
84    Function.class \
85    FunctionBinding.class \
86    Functional.class \
87    GenericFunction.class \
88    Go.class \
89    HashTable.class \
90    HashTableFunctions.class \
91    Interpreter.class \
92    Java.class \
93    JavaClassLoader.class \
94    JavaObject.class \
95    JHandler.class \
96    JProxy.class \
97    Keyword.class \
98    Layout.class \
99    Lisp.class \
100    LispCharacter.class \
101    LispClass.class \
102    LispError.class \
103    LispFloat.class \
104    LispObject.class \
105    LispReader.class \
106    LispThread.class \
107    Load.class \
108    LogicalPathname.class \
109    MacroObject.class \
110    Mailbox.class \
111    Main.class \
112    MathFunctions.class \
113    Method.class \
114    Mutex.class \
115    Native.class \
116    Nil.class \
117    NilVector.class \
118    Package.class \
119    PackageError.class \
120    PackageFunctions.class \
121    Packages.class \
122    ParseError.class \
123    Pathname.class \
124    Primitive.class \
125    Primitives.class \
126    PrintNotReadable.class \
127    Profiler.class \
128    ProgramError.class \
129    RandomState.class \
130    Ratio.class \
131    ReaderError.class \
132    ReaderMacroFunction.class \
133    Readtable.class \
134    Return.class \
135    RuntimeClass.class \
136    SeriousCondition.class \
137    ShellCommand.class \
138    SimpleArray.class \
139    SimpleBitVector.class \
140    SimpleCondition.class \
141    SimpleError.class \
142    SimpleString.class \
143    SimpleTypeError.class \
144    SimpleVector.class \
145    SimpleWarning.class \
146    Site.class \
147    SiteName.class \
148    SlimeInputStream.class \
149    SlimeOutputStream.class \
150    SlotClass.class \
151    SocketStream.class \
152    SpecialBinding.class \
153    SpecialOperator.class \
154    SpecialOperators.class \
155    StandardClass.class \
156    StandardObject.class \
157    StandardObjectFunctions.class \
158    StorageCondition.class \
159    Stream.class \
160    StreamError.class \
161    StringFunctions.class \
162    StringInputStream.class \
163    StringOutputStream.class \
164    StructureClass.class \
165    StructureObject.class \
166    StyleWarning.class \
167    Symbol.class \
168    SymbolHashTable.class \
169    SymbolMacro.class \
170    SynonymStream.class \
171    ThreadDestroyed.class \
172    ThreadLock.class \
173    Throw.class \
174    Time.class \
175    TypeError.class \
176    TwoWayStream.class \
177    UnboundSlot.class \
178    UnboundVariable.class \
179    UndefinedFunction.class \
180    UpcaseStream.class \
181    Utilities.class \
182    Version.class \
183    Warning.class \
184    WrongNumberOfArgumentsException.class \
185    ZeroRankArray.class \
186    adjust_array.class \
187    arglist.class \
188    ash.class \
189    assq.class \
190    assql.class \
191    ceiling.class \
192    cell_error_name.class \
193    create_new_file.class \
194    cxr.class \
195    delete_file.class \
196    dolist.class \
197    dotimes.class \
198    file_author.class \
199    file_error_pathname.class \
200    file_length.class \
201    file_string_length.class \
202    file_write_date.class \
203    float_sign.class \
204    floor.class \
205    ftruncate.class \
206    function_info.class \
207    gc.class \
208    get_properties.class \
209    input_stream_p.class \
210    interactive_stream_p.class \
211    last.class \
212    lisp_implementation_type.class \
213    lisp_implementation_version.class \
214    listen.class \
215    logand.class \
216    logandc1.class \
217    logandc2.class \
218    logbitp.class \
219    logcount.class \
220    logeqv.class \
221    logior.class \
222    lognand.class \
223    lognor.class \
224    lognot.class \
225    logorc1.class \
226    logorc2.class \
227    logtest.class \
228    logxor.class \
229    machine_type.class \
230    machine_version.class \
231    make_array.class \
232    make_condition.class \
233    make_server_socket.class \
234    make_socket.class \
235    mod.class \
236    open_stream_p.class \
237    output_stream_p.class \
238    package_error_package.class \
239    peek_char.class \
240    probe_file.class \
241    read_char_no_hang.class \
242    read_delimited_list.class \
243    rem.class \
244    room.class \
245    server_socket_close.class \
246    simple_list_remove_duplicates.class \
247    socket_accept.class \
248    socket_close.class \
249    socket_stream.class \
250    software_type.class \
251    software_version.class \
252    stream_element_type.class \
253    stream_external_format.class \
254    truncate.class \
255    unbound_slot_instance.class \
256    java/awt/ActionListener.class \
257    java/awt/ComponentAdapter.class \
258    java/awt/ItemListener.class \
259    java/awt/KeyAdapter.class \
260    java/awt/MouseAdapter.class \
261    java/awt/MouseMotionAdapter.class \
262    java/awt/WindowAdapter.class
263
264SOURCEFILES = $(patsubst %.class,%.java,$(CLASSFILES))
265
266%.class : %.java
267  $(JAVAC) -classpath "$(COMPILER_CLASSPATH)" $(JAVACFLAGS) $<
268  date > build
269  touch ../../../../classes.stamp
270
271all: Makefile classes $(LIBABCL)
272
273classes: Site.java $(CLASSFILES)
274
275lisp: Site.java $(CLASSFILES)
276  gcj -O2 $(SOURCEFILES) --main=org.armedbear.lisp.Main -o lisp
277
278clean:
279  -rm -rf *.class
280  -rm -rf *.abcl
281  -rm -rf *.cls
282  if [ -e build ]; then rm build; fi
283  if [ -e ControlC.h ]; then rm ControlC.h; fi
284  if [ -e libabcl.so ]; then rm libabcl.so; fi
285
286Makefile: Makefile.in ../../../../config.status
287  cd ../../../.. && $(SHELL) ./config.status
288
289libabcl.so: Native.class native.c
290  cd ../../.. && $(JAVAH) -o org/armedbear/lisp/native.h org.armedbear.lisp.Native
291  if [ "X${PLATFORM}" = "XSunOS" ]; then \
292      gcc -shared -o libabcl.so -O -D_REENTRANT -fpic -I$(JDK)/include -I$(JDK)/include/solaris native.c ; \
293  else \
294      gcc -shared -o libabcl.so -O -D_REENTRANT -fpic -I$(JDK)/include -I$(JDK)/include/linux native.c ; \
295  fi
Note: See TracBrowser for help on using the repository browser.