Fixes for OpenBSD
[oweals/cde.git] / cde / config / cf / Server.tmpl
1 /*
2  * Server imakefile info  - this contains any special redefinitions, etc.
3  * that Imakefiles in the server subtree will need.
4  */
5
6 XCOMM $TOG: Server.tmpl /main/15 1997/07/16 14:43:38 kaleb $
7
8 #define PassCDebugFlags CDEBUGFLAGS="$(CDEBUGFLAGS)" LDSTRIPFLAGS="$(LDSTRIPFLAGS)"
9
10 #ifndef ServerCcCmd
11 #define ServerCcCmd CcCmd
12 #endif
13 #ifndef ServerCCOptions
14 #define ServerCCOptions DefaultCCOptions
15 #endif
16 #ifndef ServerDefines
17 #define ServerDefines StandardDefines
18 #endif
19 #ifndef ServerCDebugFlags
20 #define ServerCDebugFlags DefaultCDebugFlags
21 #endif
22 #ifndef DoThreadedServer
23 #define DoThreadedServer NO
24 #endif
25 #ifndef InstallServerSetUID
26 #define InstallServerSetUID NO
27 #endif
28
29 /*
30  * SetUIDServerTarget - compile, link, and relink a setuid server
31  */
32 #ifndef SetUIDServerTarget
33 #if InstallServerSetUID
34 #define SetUIDServerTarget(server,subdirs,objects,libs,syslibs)         @@\
35 ServerTargetWithFlags(server,subdirs,objects,libs,syslibs,$(INSTUIDFLAGS))
36 #else
37 #define SetUIDServerTarget ServerTarget
38 #endif
39 #endif /* SetUIDServerTarget */
40
41          CC = ServerCcCmd
42   CCOPTIONS = ServerCCOptions
43 #if DoThreadedServer
44 SERVER_THREAD_DEFINES = XThreadsDefines ThreadTypeDefines
45 #endif
46 STD_DEFINES = ServerDefines $(SERVER_THREAD_DEFINES)
47 CDEBUGFLAGS = ServerCDebugFlags
48 EXT_DEFINES = ExtensionDefines
49