Release 940201
[wine.git] / Imakefile
blob05b5b4f0f9a9e15f3395df4700102f8d31ea1bbd
1 #include "Wine.tmpl"
3 /*
4  * This is the second try at using Imakefiles. There are probably many
5  * problems and things I haven't even considered. I do not have a fixed
6  * Linux system to test them on, but thanks to Thomas Michlmayr
7  * <tmichl@cosy.sbg.ac.at> for use of one of his boxes. 
8  *
9  * SEE BELOW ABOUT DEBUGGING AND LINUX
10  *
11  * Peter Galbavy, 31st Jan 1994: peter@wonderland.org
12  */
14 #define IHaveSubdirs
15 #define PassCDebugFlags 'CDEBUGFLAGS=$(CDEBUGFLAGS)' 'CC=$(CC)'
17 SUBDIRS = \
18         tools \
19         controls \
20         etc \
21         if1632 \
22         include \
23         loader \
24         memory \
25         misc \
26         objects \
27         test \
28         windows
31  * due to me not having the time and resources to test this, debugging
32  * has been left out by for now of the Imakefiles. To put it back you have
33  * to add:
34  *      debugger
35  * to the SUBDIRS list and:
36  *      debugger
37  *      readline.o
38  * to the OBJS list.
39  *
40  * Not doing this will make the build fail in loader/signal.c, with an
41  * unresolved reference to wine_debug. Comment out the line for now...
42  * sigh. Fixed soon.
43  */
45 WINEDIR = $(LIBDIR)/wine
47 OBJS = \
48         if1632.o \
49         controls.o \
50         loader.o \
51         memory.o \
52         misc.o \
53         objects.o \
54         windows.o
56 #ifdef i386BsdArchitecture
57 SYSLIBS = -ll -lm -li386 -lgnumalloc
58 #else
59 #ifdef LinuxArchitecture
60 SYSLIBS = -lm
61 #endif
62 #endif
64 MakeSubdirs($(SUBDIRS))
65 DependSubdirs($(SUBDIRS))
67 #ifdef i386BsdArchitecture
68 AllTarget(wine)
69 #endif
71 NormalProgramTarget(wine,$(OBJS),XawClientDepLibs,XawClientLibs,$(SYSLIBS))
73 #ifdef LinuxArchitecture
74 AllTarget(wine)
75 #endif
77 depend::
79 install::