Release 941017
[wine/gsoc-2012-control.git] / Wine.tmpl
blob13a84cc54da765a99385a6e73f10849002f88120
1 XCOMM $Id$
3 INCLUDES = -I$(TOP)/include -I$(TOP)
5 XCOMM Imake rules go here
7 XCOMM First, dll description to files etc
8 #ifndef MakeDllFromSpec
9 #ifndef NewBuild
10 #ifndef ShortNames
11 #define MakeDllFromSpec(name,objfile)                                   @@\
12 Concat(dll_,name.S) Concat3(dll_,name,_tab.c): name.spec $(TOP)/tools/build  @@\
13         $(TOP)/tools/build name.spec                                    @@\
15 #else /* ShortNames */
16 #define MakeDllFromSpec(name,objfile)                                   @@\
17 Concat(dll_,name.S) Concat(dtb_,name.c): name.spec $(TOP)/tools/build   @@\
18         $(TOP)/tools/build name.spec                                    @@\
20 #endif /* ShortNames */
21 #else /* NewBuild */
22 #ifndef ShortNames
23 #define MakeDllFromSpec(name,objfile)                                   @@\
24 Concat(dll_,name.S) Concat(rly_,name.S) Concat3(dll_,name,_tab.c): name.spec $(TOP)/tools/newbuild  @@\
25         $(TOP)/tools/newbuild name.spec                                 @@\
27 #else /* ShortNames */
28 #define MakeDllFromSpec(name,objfile)                                   @@\
29 Concat(dll_,name.S) Concat(rly_,name.S) Concat(dtb_,name.c): name.spec $(TOP)/tools/newbuild   @@\
30         $(TOP)/tools/newbuild name.spec                                 @@\
32 #endif /* ShortNames */
33 #endif /* NewBuild */
34 #endif /* MakeDllFromSpec */
37  * WineRelocatableTarget - generate rules to produce a relocatable object
38  * file instead of a library.  
39  */
40 #ifndef WineRelocatableTarget
41 #define WineRelocatableTarget(objname,objlist,depobj)                           @@\
42 AllTarget(objname.o)                                                    @@\
43                                                                         @@\
44 objname.o: depobj                                                       @@\
45         $(RM) $@                                                        @@\
46         $(LD) $(LDCOMBINEFLAGS) objlist depobj -o $@
47 #endif /* WineRelocatableTarget */