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

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

FloatFunctions?.class

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