summaryrefslogtreecommitdiff
path: root/xc/programs/Xserver/XIE/Imakefile
blob: b816f1dc477ebd23ddbb05747f6edd98952a98f0 (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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
XCOMM $XConsortium: Imakefile,v 1.3 93/11/07 10:56:36 rws Exp $
XCOMM $XFree86: xc/programs/Xserver/XIE/Imakefile,v 3.16 1999/08/14 10:49:24 dawes Exp $

#define IHaveModules
#include <Server.tmpl>

#define IHaveSubdirs


     SUBDIRS = dixie mixie
MakeSubdirs($(SUBDIRS))

#if DoLoadableServer
MSRCS = xiemodule.c
MOBJS = xiemodule.o

DONES = \
	dixie/export/DONE \
	dixie/import/DONE \
	dixie/process/DONE \
	dixie/request/DONE \
	mixie/control/DONE \
	mixie/export/DONE \
	mixie/fax/DONE \
	mixie/import/DONE \
	mixie/jpeg/DONE \
	mixie/process/DONE

SRCS = $(MSRCS)

OBJS = \
	dixie/export/?*.o \
	dixie/import/?*.o \
	dixie/process/?*.o \
	dixie/request/?*.o \
	mixie/control/?*.o \
	mixie/export/?*.o \
	mixie/fax/?*.o \
	mixie/import/?*.o \
	mixie/jpeg/?*.o \
	mixie/process/?*.o \
	$(MOBJS)

INCLUDES = -Iinclude -I$(SERVERSRC)/include -I$(XINCLUDESRC) \
	   -I$(EXTINCSRC)

#if HasParallelMake
MakeMutex($(SUBDIRS) $(OBJS) $(DONES))
#endif

#ifndef SCO325
REQUIREDLIBS = -lm
#endif

ModuleObjectRule()
DepLibraryModuleTarget(xie,$(SUBDIRS) $(DONES) $(MOBJS),$(OBJS))
InstallLibraryModule(xie,$(MODULEDIR),extensions)
ForceSubdirs($(SUBDIRS))

DependTarget()

#endif


DependSubdirs($(SUBDIRS))
MakeLintLibSubdirs($(SUBDIRS))
LintSubdirs($(SUBDIRS))

InstallDriverSDKLibraryModule(xie,$(DRIVERSDKMODULEDIR),extensions)