summaryrefslogtreecommitdiff
path: root/xc/programs/Xserver/hw/xfree86/parser/Imakefile
blob: c471f943c74efb10f512ccf2544e34ba171c6e3b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
/* $XFree86: xc/programs/Xserver/hw/xfree86/parser/Imakefile,v 1.12 2001/01/12 19:28:35 dawes Exp $ */



#define DoNormalLib     YES
#define DoSharedLib     NO
#define DoDebugLib      NO
#define DoProfileLib    NO
#define HasSharedData   NO
#define LibName         xf86config

#define UseDBMalloc	NO

#if UseDBMalloc
SYS_LIBRARIES=-ldbmalloc
DBMALLOCDEFINE=-DDBMALLOC
#endif

#if defined(OS2Architecture)
LOCAL_LIBRARIES=-lxf86_os
#else
LOCAL_LIBRARIES=
#endif
SYS_LIBRARIES = MathLibrary

XCONFIGFILE = XConfigFile
XCONFIGDIR = XConfigDir
XVERS = XFree86Version

INCLUDES = -I. -I$(XF86OSSRC)

HEADERS = xf86Parser.h xf86Optrec.h

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
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)"

#include <Library.tmpl>

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

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

AllTarget(ProgramTargetName(cpconfig))
DependTarget()