SRCS = connection.c WaitFor.c utils.c io.c fileio.c filenames.c access.c \
	 osinit.c oscolor.c
OBJS = connection.o WaitFor.o utils.o io.o fileio.o filenames.o access.o \
	 osinit.o oscolor.o
STD_DEFINES = ServerDefines
#if SpecialMalloc
OS_DEFINES= -DSPECIAL_MALLOC
#else
OS_DEFINES=
#endif

DEFINES= ConnectionFlags $(OS_DEFINES)
CDEBUGFLAGS = ServerCDebugFlags
INCLUDES = -I.  -I../../include -I$(INCLUDESRC)
LINTLIBS = ../../dix/llib-ldix.ln

NormalLibraryObjectRule()
NormalLibraryTarget(os,$(OBJS))
LintLibraryTarget(os,$(SRCS))
NormalLintTarget($(SRCS))

# these depend on ConnectionFlags
access.o: $(IRULESRC)/$(MACROFILE)
connection.o: $(IRULESRC)/$(MACROFILE)

# these depend on COMPRESSED_FONTS
fileio.o: $(IRULESRC)/$(MACROFILE)
filenames.o: $(IRULESRC)/$(MACROFILE)
fileutils.o: $(IRULESRC)/$(MACROFILE)

SpecialObjectRule(osinit.o, $(IRULESRC)/$(MACROFILE), -DADMPATH=\"$(ADMDIR)/X\%dmsgs\")

DependTarget()
