XCOMM $XConsortium: Imakefile /main/10 1996/12/02 10:20:33 lehors $
#include <Server.tmpl>

#if HasShm
SHMDEF = -DHAS_SHM
#endif

XCOMM add more architectures here as we discover them
#if defined(HPArchitecture) || defined(SparcArchitecture) || SystemV4 || defined(OSF1Architecture) || defined(i386BsdArchitecture)
MMAPDEF = -DHAS_MMAP
#endif

SRCS = 	InitInput.c InitOutput.c stubs.c

OBJS = 	InitInput.o InitOutput.o stubs.o

INCLUDES = -I. -I$(XBUILDINCDIR) -I$(FONTINCSRC) \
	   -I../../cfb -I../../mfb -I../../mi -I../../include -I../../os  \
           -I$(EXTINCSRC) -I$(XINCLUDESRC)

DEFINES = ServerOSDefines $(SHMDEF) $(MMAPDEF)

NormalLibraryObjectRule()
NormalLibraryTarget(vfb,$(OBJS))

LinkSourceFile(stubs.c,../../Xi)
SpecialCObjectRule(InitInput,$(ICONFIGFILES),$(EXT_DEFINES))

InstallManPage(Xvfb,$(MANDIR))
DependTarget()
