Release 950122
[wine/multimedia.git] / Wine.tmpl
blobe1f7e0b6287949c18e4a74611607b543538ab588
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)                                           @@\
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)                                           @@\
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)                                           @@\
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)                                           @@\
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 */