50 lines
1.3 KiB
Cheetah
50 lines
1.3 KiB
Cheetah
/*
|
|
* Server imakefile info - this contains any special redefinitions, etc.
|
|
* that Imakefiles in the server subtree will need.
|
|
*/
|
|
|
|
XCOMM $TOG: Server.tmpl /main/15 1997/07/16 14:43:38 kaleb $
|
|
|
|
#define PassCDebugFlags CDEBUGFLAGS="$(CDEBUGFLAGS)" LDSTRIPFLAGS="$(LDSTRIPFLAGS)"
|
|
|
|
#ifndef ServerCcCmd
|
|
#define ServerCcCmd CcCmd
|
|
#endif
|
|
#ifndef ServerCCOptions
|
|
#define ServerCCOptions DefaultCCOptions
|
|
#endif
|
|
#ifndef ServerDefines
|
|
#define ServerDefines StandardDefines
|
|
#endif
|
|
#ifndef ServerCDebugFlags
|
|
#define ServerCDebugFlags DefaultCDebugFlags
|
|
#endif
|
|
#ifndef DoThreadedServer
|
|
#define DoThreadedServer NO
|
|
#endif
|
|
#ifndef InstallServerSetUID
|
|
#define InstallServerSetUID NO
|
|
#endif
|
|
|
|
/*
|
|
* SetUIDServerTarget - compile, link, and relink a setuid server
|
|
*/
|
|
#ifndef SetUIDServerTarget
|
|
#if InstallServerSetUID
|
|
#define SetUIDServerTarget(server,subdirs,objects,libs,syslibs) @@\
|
|
ServerTargetWithFlags(server,subdirs,objects,libs,syslibs,$(INSTUIDFLAGS))
|
|
#else
|
|
#define SetUIDServerTarget ServerTarget
|
|
#endif
|
|
#endif /* SetUIDServerTarget */
|
|
|
|
CC = ServerCcCmd
|
|
CCOPTIONS = ServerCCOptions
|
|
#if DoThreadedServer
|
|
SERVER_THREAD_DEFINES = XThreadsDefines ThreadTypeDefines
|
|
#endif
|
|
STD_DEFINES = ServerDefines $(SERVER_THREAD_DEFINES)
|
|
CDEBUGFLAGS = ServerCDebugFlags
|
|
EXT_DEFINES = ExtensionDefines
|
|
|