1 /* You should not use these any more, use new Library.tmpl insead */
3 XCOMM $XConsortium: oldlib.rules,v 1.2 91/04/09 19:15:13 rws Exp $
6 * ProfiledLibraryObjectRule - generate make rules to build both profiled
7 * and "normal" objects.
9 #ifndef ProfiledLibraryObjectRule
10 #define ProfiledLibraryObjectRule() @@\
12 LibMkdir(profiled) @@\
15 ProfiledLibObjCompile(NullParameter) @@\
16 NormalLibObjCompile(NullParameter) @@\
19 LibCleanDir(profiled) @@\
21 #endif /* ProfiledLibraryObjectRule */
25 * DebuggedLibraryObjectRule - generate make rules to build both debuggable
26 * and "normal" objects.
28 #ifndef DebuggedLibraryObjectRule
29 #define DebuggedLibraryObjectRule() @@\
31 LibMkdir(debugger) @@\
34 DebuggedLibObjCompile(NullParameter) @@\
35 NormalLibObjCompile(NullParameter) @@\
38 LibCleanDir(debugger) @@\
40 #endif /* DebuggedLibraryObjectRule */
44 * DebuggedAndProfiledLibraryOjbectRule - generate make rules to build
45 * debuggable, profiled, and "normal" objects.
47 #ifndef DebuggedAndProfiledLibraryObjectRule
48 #define DebuggedAndProfiledLibraryObjectRule() @@\
50 LibMkdir(profiled) @@\
51 LibMkdir(debugger) @@\
54 ProfiledLibObjCompile(NullParameter) @@\
55 DebuggedLibObjCompile(NullParameter) @@\
56 NormalLibObjCompile(NullParameter) @@\
59 LibCleanDir(profiled) @@\
60 LibCleanDir(debugger) @@\
62 #endif /* DebuggedAndProfiledLibraryObjectRule */
66 * SpecialProfiledObjectRule - generate rules to compile a file with special
67 * flags and to make a profiled version.
69 #ifndef SpecialProfiledObjectRule
70 #define SpecialProfiledObjectRule(objs,depends,options) @@\
72 LibMkdir(profiled) @@\
75 ProfiledLibObjCompile(options) @@\
76 NormalLibObjCompile(options)
77 #endif /* SpecialProfiledObjectRule */
81 * SpecialDebuggedObjectRule - generate rules to compile a file with special
82 * flags and to make a debuggable version.
84 #ifndef SpecialDebuggedObjectRule
85 #define SpecialDebuggedObjectRule(objs,depends,options) @@\
87 LibMkdir(debugger) @@\
90 DebuggedLibObjCompile(options) @@\
91 NormalLibObjCompile(options)
92 #endif /* SpecialDebuggedObjectRule */
96 * SpecialDebuggedAndProfiledObjectRule - generate rules to compile a file
97 * with special flags and to make debuggable and profiled versions.
99 #ifndef SpecialDebuggedAndProfiledObjectRule
100 #define SpecialDebuggedAndProfiledObjectRule(objs,depends,options) @@\
102 LibMkdir(profiled) @@\
103 LibMkdir(debugger) @@\
106 ProfiledLibObjCompile(options) @@\
107 DebuggedLibObjCompile(options) @@\
108 NormalLibObjCompile(options)
109 #endif /* SpecialDebuggedAndProfiledObjectRule */