blob: 1c8132d906eb26425a61a15ff796cdf986ec0498 [file] [log] [blame]
Constantin Kaplinskyb30ae7f2006-05-25 05:04:46 +00001XCOMM CDEBUGFLAGS = -g
2XCOMM CXXDEBUGFLAGS = -g
3
4 VNCTOP = $(TOP)/..
5 VNCINCLUDE = -I$(VNCTOP) -I$(VNCTOP)/vncconfig_unix
6
7#define CplusplusSource
8
9#if DoLoadableServer
10#define IHaveSubdirs
11#endif
12
13#include <Server.tmpl>
14
15#if DoLoadableServer
16 MODULE_SUBDIRS = module
17#endif
18 SRCS = vncExtInit.cc vncHooks.cc XserverDesktop.cc
19 OBJS = vncExtInit.o vncHooks.o XserverDesktop.o
20 INCLUDES = -I../include -I$(EXTINCSRC) -I$(XINCLUDESRC) -I$(FONTINCSRC) \
21 -I../render $(VNCINCLUDE)
22#if defined(XFree86Version) && XFree86Version >= 4000
23 VNCDEFINES = -DGC_HAS_COMPOSITE_CLIP
24#endif
25#if defined(ProjectX) && (ProjectX >= 604)
26 VNCDEFINES = -DGC_HAS_COMPOSITE_CLIP
27#endif
28 DEFINES = $(STD_DEFINES) $(VNCDEFINES) -UXFree86LOADER
29
30#define IHaveSubdirs
31SUBDIRS = Xvnc $(MODULE_SUBDIRS)
32
33NormalLibraryTarget(vnc,$(OBJS))
34LintLibraryTarget(vnc,$(SRCS))
35NormalLintTarget($(SRCS))
36
37NormalLibraryObjectRule()
38NormalCplusplusObjectRule()
39
40
41MakeSubdirs($(SUBDIRS))
42DependSubdirs($(SUBDIRS))
43
44DependTarget()