]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/squeak/files/zaurus/Makefile.in
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e3...
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / squeak / files / zaurus / Makefile.in
1 # Makefile for core VM                          -*- makefile -*-
2
3 #   Copyright (C) 1996-2002 Ian Piumarta and other authors/contributors
4 #     as listed elsewhere in this file.
5 #   All rights reserved.
6 #   
7 #   This file is part of Unix Squeak.
8
9 #   This file is distributed in the hope that it will be useful, but WITHOUT
10 #   ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 #   FITNESS FOR A PARTICULAR PURPOSE.
12 #   
13 #   You may use and/or distribute this file ONLY as part of Squeak, under
14 #   the terms of the Squeak License as described in `LICENSE' in the base of
15 #   this distribution, subject to the following restrictions:
16
17 #   1. The origin of this software must not be misrepresented; you must not
18 #      claim that you wrote the original software.  If you use this software
19 #      in a product, an acknowledgment to the original author(s) (and any
20 #      other contributors mentioned herein) in the product documentation
21 #      would be appreciated but is not required.
22
23 #   2. This notice must not be removed or altered in any source distribution.
24
25 #   Using (or modifying this file for use) in any context other than Squeak
26 #   changes these copyright conditions.  Read the file `COPYING' in the
27 #   directory `platforms/unix/doc' before proceeding with any such use.
28
29 #   You are not allowed to distribute a modified version of this file
30 #   under its original name without explicit permission to do so.  If
31 #   you change it, rename it.
32
33 # Author: ian.piumarta@inria.fr
34
35 # Last edited: 2002-12-01 10:20:57 by piumarta on calvin.inria.fr
36
37 [make_cfg]
38 [make_plg]
39
40 MOC     =       $(QTDIR)/bin/moc
41 OBJS            = $(INTERP)$o sqNamedPrims$o sqVirtualMachine$o \
42                   aio$o osExports$o sqUnixExternalPrims$o sqQPEWindow$o moc_sqQPEWindow$o sqQPEGlue$o
43 TARGET          = ${OBJS}
44
45 XINCLUDES       = [includes] -I$(topdir)/platforms/Cross/plugins/FilePlugin -I$(topdir)/platforms/Cross/plugins/JoystickTabletPlugin
46 XCPPINCLUDES    = -I$(QTDIR)/include
47 CPPFLAGS =      -fno-exceptions -DQT_QWS_EBX -DQT_QWS_CUSTOM -DQWS -fno-rtti -fno-exceptions -DNO_DEBUG
48
49 TARGET          = vm$a
50
51 $(TARGET) : $(OBJS) Makefile
52         $(LINK) $(TARGET) $(OBJS)
53         $(RANLIB) $(TARGET)
54
55 # rebuild sqNamedPrims.o if sqNamedPrims.h changes
56
57 sqNamedPrims$o : $(srcdir)/vm/sqNamedPrims.h
58
59 # rebuild sqExtPrims (VM_LIBDIR) sqXWin (VM_VERSION) if config.h changes
60
61 sqUnixExternalPrims$o sqXWindow$o : ../config.h $(topdir)/platforms/unix/vm/dlfcn-dyld.c
62
63 # GNUify the interpreter if needed
64
65 gnu-interp$o : gnu-interp.c
66         $(COMPILE) $@ gnu-interp.c
67
68 gnu-interp.c : $(srcdir)/vm/interp.c
69         $(AWK) -f $(topdir)/platforms/unix/config/gnuify $(srcdir)/vm/interp.c > $@.out
70         mv $@.out $@
71
72 moc_sqQPEWindow$o: moc_sqQPEWindow.cpp
73         arm-linux-g++ ${INCLUDES} ${XINCLUDES} ${CFLAGS} ${CPPFLAGS} ${XCPPINCLUDES} -c -o moc_sqQPEWindow$o moc_sqQPEWindow.cpp
74
75 moc_sqQPEWindow.cpp: $(topdir)/platforms/unix/vm/sqQPEWindow.h
76         $(MOC) $(topdir)/platforms/unix/vm/sqQPEWindow.h -o moc_sqQPEWindow.cpp
77
78 sqQPEWindow$o: $(topdir)/platforms/unix/vm/sqQPEWindow.cpp
79         arm-linux-g++ ${INCLUDES} ${XINCLUDES} ${CFLAGS} ${CPPFLAGS} ${XCPPINCLUDES} -DUSE_SL_FILESELECTOR -DUSE_CFXGA  -UIPAQ -c -o sqQPEWindow$o $(topdir)/platforms/unix/vm/sqQPEWindow.cpp
80
81
82 [make_targets]
83
84 .force :