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