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

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

StandardGenericFunction?.class

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