summaryrefslogtreecommitdiff
path: root/xc/programs/Xserver/hw/xfree86/drivers/Imakefile
blob: e15b1a895c6b3972898b26a966fe2263da0cb24e (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
52
53
54
XCOMM $XFree86: xc/programs/Xserver/hw/xfree86/drivers/Imakefile,v 1.13 1999/08/29 12:20:57 dawes Exp $

#define IHaveModules
#include <Server.tmpl>
#define IHaveSubdirs

SUBDIRS = XF86CardDrivers
DRIVERS = XF86CardDrivers

#ifndef OS2Architecture
OBJS = `cat driver.list`
#else
OBJS = al2101/?*.o mx/?*.o oak/?*.o realtek/?*.o sis/?*.o trident/?*.o \
	ali/?*.o apm/?*.o apollo/?*.o ark/?*.o ati/?*.o chips/?*.o \
	cirrus/?*.o cl64xx/?*.o compaq/?*.o et3000/?*.o glint/?*.o \
	gvga/?*.o hercules/?*.o hgc1280/?*.o mga/?*.o ncr/?*.o \
	nv/?*.o s3_pio/?*.o s3_newmmio/?*.o sigma/?*.o tseng/?*.o \
	vga/?*.o video7/?*.o wd/?*.o i740/?*.o

#endif

#if DoLoadableServer
MakeSubdirs($(SUBDIRS))
#endif

#if MakeHasPosixVariableSubstitutions
DONES = $(SUBDIRS:%=%/DONE)
#if HasGnuMake || HasBsdMake
$(DONES): $(SUBDIRS)
#endif
#if !DoLoadableServer
NormalDepLibraryTarget(driver,$(SUBDIRS) $(DONES) driver.list,$(OBJS))
#endif
#else
#if !DoLoadableServer
NormalDepLibraryTarget(driver,$(SUBDIRS) driver.list,$(OBJS))
#endif
#endif

INCLUDES = -I$(XF86COMSRC) -I$(XF86OSSRC) -I$(SERVERSRC)/include \
		-I$(XINCLUDESRC)
#if !DoLoadableServer
ConfigTargetNoDepend(drvConf,$(ICONFIGFILES),confdrv.SHsuf,$(DRIVERS))
DriverObjectList($(DRIVERS),driver.list)
#endif

NormalLibraryObjectRule()

ForceSubdirs($(SUBDIRS))

DependSubdirs($(SUBDIRS))

InstallDriverSDKNonExecFile(Imakefile,$(DRIVERSDKDIR)/drivers)