2 * Server imakefile info - this contains any special redefinitions, etc.
3 * that Imakefiles in the server subtree will need.
6 XCOMM $TOG: Server.tmpl /main/15 1997/07/16 14:43:38 kaleb $
8 #define PassCDebugFlags CDEBUGFLAGS="$(CDEBUGFLAGS)" LDSTRIPFLAGS="$(LDSTRIPFLAGS)"
11 #define ServerCcCmd CcCmd
13 #ifndef ServerCCOptions
14 #define ServerCCOptions DefaultCCOptions
17 #define ServerDefines StandardDefines
19 #ifndef ServerCDebugFlags
20 #define ServerCDebugFlags DefaultCDebugFlags
22 #ifndef DoThreadedServer
23 #define DoThreadedServer NO
25 #ifndef InstallServerSetUID
26 #define InstallServerSetUID NO
30 * SetUIDServerTarget - compile, link, and relink a setuid server
32 #ifndef SetUIDServerTarget
33 #if InstallServerSetUID
34 #define SetUIDServerTarget(server,subdirs,objects,libs,syslibs) @@\
35 ServerTargetWithFlags(server,subdirs,objects,libs,syslibs,$(INSTUIDFLAGS))
37 #define SetUIDServerTarget ServerTarget
39 #endif /* SetUIDServerTarget */
42 CCOPTIONS = ServerCCOptions
44 SERVER_THREAD_DEFINES = XThreadsDefines ThreadTypeDefines
46 STD_DEFINES = ServerDefines $(SERVER_THREAD_DEFINES)
47 CDEBUGFLAGS = ServerCDebugFlags
48 EXT_DEFINES = ExtensionDefines