Annotation of /trunk/vnc/patches/Makefile.am
Parent Directory | Revision Log
Revision 642 -
(hide annotations)
(download)
Tue Jun 3 21:20:02 2008 UTC (16 years, 3 months ago) by niro
File size: 1832 byte(s)
Tue Jun 3 21:20:02 2008 UTC (16 years, 3 months ago) by niro
File size: 1832 byte(s)
-added missing makefile
1 | niro | 642 | LIB_DIR=$(top_srcdir)/../../common |
2 | BIN_DIR=$(top_srcdir)/.. | ||
3 | |||
4 | RFB_LIBS=$(LIB_DIR)/rfb/librfb.la | ||
5 | |||
6 | noinst_LTLIBRARIES = libvnccommon.la | ||
7 | |||
8 | libvnccommon_la_SOURCES = vncExtInit.cc vncHooks.cc XserverDesktop.cc | ||
9 | |||
10 | libvnccommon_la_CPPFLAGS = -DVENDOR_RELEASE="$(VENDOR_RELEASE)" \ | ||
11 | -DVENDOR_STRING="\"$(VENDOR_STRING)\"" -I$(LIB_DIR) \ | ||
12 | -I$(BIN_DIR)/vncconfig -DGC_HAS_COMPOSITE_CLIP $(XVNC_CPPFLAGS) \ | ||
13 | -I$(includedir)/pixman-1 | ||
14 | |||
15 | bin_PROGRAMS = Xvnc | ||
16 | |||
17 | Xvnc_SOURCES = xvnc.cc $(top_srcdir)/Xext/dpmsstubs.c \ | ||
18 | $(top_srcdir)/Xi/stubs.c $(top_srcdir)/mi/miinitext.c \ | ||
19 | $(top_srcdir)/fb/fbcmap_mi.c | ||
20 | |||
21 | nodist_Xvnc_SOURCES = fbrop.h fb.h pixman.h | ||
22 | |||
23 | Xvnc_CPPFLAGS = $(XVNC_CPPFLAGS) -DNO_HW_ONLY_EXTS -DNO_MODULE_EXTS \ | ||
24 | -DXFree86Server -DVENDOR_RELEASE="$(VENDOR_RELEASE)" \ | ||
25 | -DVENDOR_STRING="\"$(VENDOR_STRING)\"" -I$(LIB_DIR) \ | ||
26 | -I$(top_srcdir)/include -I$(includedir)/pixman-1 | ||
27 | |||
28 | Xvnc_LDADD = $(XVNC_LIBS) libvnccommon.la $(RFB_LIBS) \ | ||
29 | $(XSERVER_LIBS) $(XSERVER_SYS_LIBS) -lX11 | ||
30 | |||
31 | libvnc_la_LTLIBRARIES = libvnc.la | ||
32 | libvnc_ladir = $(moduledir)/extensions | ||
33 | |||
34 | libvnc_la_SOURCES = xf86vncModule.cc | ||
35 | |||
36 | libvnc_la_CPPFLAGS = $(XVNC_CPPFLAGS) -I$(LIB_DIR) \ | ||
37 | -I$(top_srcdir)/hw/xfree86/common \ | ||
38 | -I$(top_srcdir)/hw/xfree86/os-support \ | ||
39 | -I$(top_srcdir)/hw/xfree86/os-support/bus \ | ||
40 | -DXFree86Module -DXFree86LOADER -DIN_MODULE \ | ||
41 | -I$(includedir)/pixman-1 | ||
42 | |||
43 | libvnc_la_LDFLAGS = -module -avoid-version | ||
44 | |||
45 | libvnc_la_LIBADD = libvnccommon.la $(RFB_LIBS) | ||
46 | |||
47 | # C++ hacks | ||
48 | BUILT_SOURCES = $(nodist_Xvnc_SOURCES) | ||
49 | |||
50 | fb.h: $(top_srcdir)/fb/fb.h | ||
51 | cat $(top_srcdir)/fb/fb.h | sed -e 's,and,c_and,' -e 's,xor,c_xor,' > $(srcdir)/fb.h | ||
52 | |||
53 | pixman.h: $(includedir)/pixman-1/pixman.h | ||
54 | cat $(includedir)/pixman-1/pixman.h | sed 's/xor/c_xor/' > $(srcdir)/pixman.h | ||
55 | |||
56 | fbrop.h: $(top_srcdir)/fb/fbrop.h | ||
57 | cat $(top_srcdir)/fb/fbrop.h | sed -e 's,and,c_and,' -e 's,xor,c_xor,' > $(srcdir)/fbrop.h | ||
58 |