blob: 46e548f305a9e8f5c779df51e7e433b02b9188f3 (
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
|
VNCTOP = $(TOP)/..
VNCLIBS = VncExtLibs
VNCINCLUDE = -I$(VNCTOP) -I$(VNCTOP)/vncconfig
#define CplusplusSource
#define IHaveModules
#include <Server.tmpl>
SRCS = vncExtInit.cc vncHooks.cc xf86vncModule.cc XserverDesktop.cc
OBJS = vncExtInit.o vncHooks.o xf86vncModule.o XserverDesktop.o
INCLUDES = -I.. -I../../include -I$(EXTINCSRC) -I$(XINCLUDESRC) \
-I$(FONTINCSRC) -I$(XF86COMSRC) \
$(VNCINCLUDE)
DEFINES = $(STD_DEFINES) -DGC_HAS_COMPOSITE_CLIP -DXFree86LOADER
LinkSourceFile(vncExtInit.cc,..)
LinkSourceFile(vncHooks.cc,..)
LinkSourceFile(xf86vncModule.cc,..)
LinkSourceFile(XserverDesktop.cc,..)
ModuleObjectRule()
/*
LibraryModuleTarget(vnc,$(OBJS) $(VNCLIBS))
InstallLibraryModule(vnc,$(MODULEDIR),extensions)
*/
/*
* CplusplusDynamicModuleTarget - build a module to be dynamically loaded
*/
#ifndef CplusplusDynamicModuleTarget
#define CplusplusDynamicModuleTarget(module,modlist) @@\
AllTarget(module) @@\
@@\
module: modlist @@\
RemoveFile($@) @@\
$(CXX) -o $@ $(SHLIBLDFLAGS) modlist @@\
@@\
clean:: @@\
RemoveFile(module)
#endif /* CplusplusDynamicModuleTarget */
CplusplusDynamicModuleTarget(vnc.so,$(OBJS) $(VNCLIBS))
InstallDynamicModule(vnc.so,$(MODULEDIR),extensions)
DependTarget()
/*
InstallDriverSDKLibraryModule(vnc,$(DRIVERSDKMODULEDIR),extensions)
*/
|