1/* You should not use these any more, use new Library.tmpl insead */
2
3XCOMM $Xorg: oldlib.rules,v 1.3 2000/08/17 19:41:48 cpqbld Exp $
4
5/*
6 * ProfiledLibraryObjectRule - generate make rules to build both profiled
7 * and "normal" objects.
8 */
9#ifndef ProfiledLibraryObjectRule
10#define	ProfiledLibraryObjectRule()					@@\
11all::									@@\
12	LibMkdir(profiled)						@@\
13									@@\
14.c.o:									@@\
15	ProfiledLibObjCompile(NullParameter)				@@\
16	NormalLibObjCompile(NullParameter)				@@\
17									@@\
18clean::									@@\
19	LibCleanDir(profiled)						@@\
20
21#endif /* ProfiledLibraryObjectRule */
22
23
24/*
25 * DebuggedLibraryObjectRule - generate make rules to build both debuggable
26 * and "normal" objects.
27 */
28#ifndef DebuggedLibraryObjectRule
29#define	DebuggedLibraryObjectRule()					@@\
30all::									@@\
31	LibMkdir(debugger)						@@\
32									@@\
33.c.o:									@@\
34	DebuggedLibObjCompile(NullParameter)				@@\
35	NormalLibObjCompile(NullParameter)				@@\
36									@@\
37clean::									@@\
38	LibCleanDir(debugger)						@@\
39
40#endif /* DebuggedLibraryObjectRule */
41
42
43/*
44 * DebuggedAndProfiledLibraryOjbectRule - generate make rules to build
45 * debuggable, profiled, and "normal" objects.
46 */
47#ifndef DebuggedAndProfiledLibraryObjectRule
48#define	DebuggedAndProfiledLibraryObjectRule()				@@\
49all::									@@\
50	LibMkdir(profiled)						@@\
51	LibMkdir(debugger)						@@\
52									@@\
53.c.o:									@@\
54	ProfiledLibObjCompile(NullParameter)				@@\
55	DebuggedLibObjCompile(NullParameter)				@@\
56	NormalLibObjCompile(NullParameter)				@@\
57									@@\
58clean::									@@\
59	LibCleanDir(profiled)						@@\
60	LibCleanDir(debugger)						@@\
61
62#endif /* DebuggedAndProfiledLibraryObjectRule */
63
64
65/*
66 * SpecialProfiledObjectRule - generate rules to compile a file with special
67 * flags and to make a profiled version.
68 */
69#ifndef SpecialProfiledObjectRule
70#define	SpecialProfiledObjectRule(objs,depends,options)			@@\
71all::									@@\
72	LibMkdir(profiled)						@@\
73									@@\
74objs:	depends								@@\
75	ProfiledLibObjCompile(options)					@@\
76	NormalLibObjCompile(options)
77#endif /* SpecialProfiledObjectRule */
78
79
80/*
81 * SpecialDebuggedObjectRule - generate rules to compile a file with special
82 * flags and to make a debuggable version.
83 */
84#ifndef SpecialDebuggedObjectRule
85#define	SpecialDebuggedObjectRule(objs,depends,options)			@@\
86all::									@@\
87	LibMkdir(debugger)						@@\
88									@@\
89objs:	depends								@@\
90	DebuggedLibObjCompile(options)					@@\
91	NormalLibObjCompile(options)
92#endif /* SpecialDebuggedObjectRule */
93
94
95/*
96 * SpecialDebuggedAndProfiledObjectRule - generate rules to compile a file
97 * with special flags and to make debuggable and profiled versions.
98 */
99#ifndef SpecialDebuggedAndProfiledObjectRule
100#define	SpecialDebuggedAndProfiledObjectRule(objs,depends,options)	@@\
101all::									@@\
102	LibMkdir(profiled)						@@\
103	LibMkdir(debugger)						@@\
104									@@\
105objs:	depends								@@\
106	ProfiledLibObjCompile(options)					@@\
107	DebuggedLibObjCompile(options)					@@\
108	NormalLibObjCompile(options)
109#endif /* SpecialDebuggedAndProfiledObjectRule */
110