aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/miext/rootless/Imakefile
blob: 2a2bbb2c83b38c2557a69cdbe159a5c8bac117a0 (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/miext/rootless/Imakefile,v 1.2 2003/09/16 00:36:20 torrey Exp $

#include <Server.tmpl>

#ifdef DarwinArchitecture
#define RootlessSafeAlpha YES
#define RootlessAcceleration YES
#elif (defined(XWinServer) && XWinServer) || (defined(NXWinServer) && NXWinServer) || defined(Win32Architecture)
#define RootlessSafeAlpha YES
#define RootlessAcceleration YES
#else
#define RootlessSafeAlpha NO
#define RootlessAcceleration NO
#endif

#if RootlessSafeAlpha || RootlessAcceleration
#define IHaveSubdirs
#endif

#if RootlessSafeAlpha
ALPHADIRS = safeAlpha
#endif

#if RootlessAcceleration
ACCELDIRS = accel
#endif

SRCS =  rootlessCommon.c \
        rootlessScreen.c \
        rootlessWindow.c \
        rootlessGC.c \
        rootlessValTree.c

OBJS =  rootlessCommon.o \
        rootlessScreen.o \
        rootlessWindow.o \
        rootlessGC.o \
        rootlessValTree.o

INCLUDES = -I. -I$(SERVERSRC)/fb -I$(SERVERSRC)/mi -I$(SERVERSRC)/include \
           -I$(XINCLUDESRC) -I$(FONTINCSRC) -I$(SERVERSRC)/render \
           -I$(EXTINCSRC) -I$(ACCELDIRS)

NormalLibraryObjectRule()
LibraryModuleTarget(rootless,$(OBJS))

DependTarget()

SUBDIRS = $(ALPHADIRS) $(ACCELDIRS)

#if RootlessSafeAlpha || RootlessAcceleration
MakeSubdirs($(SUBDIRS))
DependSubdirs($(SUBDIRS))
#endif