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

Last change on this file since 10233 was 10233, checked in by piso, 16 years ago

jclass_name.class

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