/* $XFree86: xc/programs/Xserver/hw/xfree86/parser/Imakefile,v 1.15 2005/10/14 15:17:08 tsi Exp $ */


#include <Server.tmpl>

SYS_LIBRARIES = MathLibrary

XCONFIGFILE = XConfigFile
XCONFIGDIR = XConfigDir
XVERS = XFree86Version

SRCS = Device.c Files.c Flags.c Input.c Keyboard.c Layout.c Module.c \
	Video.c Monitor.c Pointer.c Screen.c Vendor.c read.c scan.c write.c \
	cpconfig.c
OBJS = Device.o Files.o Flags.o Input.o Keyboard.o Layout.o Module.o \
	Video.o Monitor.o Pointer.o Screen.o Vendor.o read.o scan.o write.o \
	DRI.o

CONFIG_DEFINES = -DXCONFIGDIR=\"$(XCONFIGDIR)\" \
		 -DXCONFIGFILE=\"$(XCONFIGFILE)\" \
		 -DXVERSION="$(XVERS)"

NormalAsmObjectRule()

NormalLibraryObjectRule()
NormalLibraryTarget(xf86config,$(OBJS))

SpecialCObjectRule(scan,NullParameter,$(CONFIG_DEFINES) $(MODULEDEFINES) $(EXT_DEFINES))

NormalProgramTarget(cpconfig,cpconfig.o $(OBJS),NullParameter,$(LOCAL_LIBRARIES),NullParameter)

AllTarget(ProgramTargetName(cpconfig))
DependTarget()
