aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/hw/xfree86/parser/Imakefile
blob: 8513c51fad0d0ac085b61973ea0b8f423b1b279b (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         NX_xf86config

#define UseDBMalloc	NO

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

SYS_LIBRARIES = MathLibrary

XCONFIGFILE = XConfigFile
XCONFIGDIR = XConfigDir
#if defined XFree86Version
XVERS = XFree86Version
#elif defined (XorgVersion)
XVERS = XorgVersion
#endif

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 \
	DRI.c Extensions.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 Extensions.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()