rpms/vnc/devel Makefile.am,NONE,1.1

Adam Tkac (atkac) fedora-extras-commits at redhat.com
Tue Mar 11 12:54:17 UTC 2008


Author: atkac

Update of /cvs/pkgs/rpms/vnc/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv18164

Added Files:
	Makefile.am 
Log Message:
- added Makefile.am for Xvnc



--- NEW FILE Makefile.am ---
# Define includes and libraries
LIB_DIR=$(top_srcdir)/../../common
BIN_DIR=$(top_srcdir)/..

RFB_LIBS=$(LIB_DIR)/rfb/librfb.la

noinst_LTLIBRARIES = libvnccommon.la

libvnccommon_la_SOURCES = \
	vncExtInit.cc vncHooks.cc XserverDesktop.cc

libvnccommon_la_CPPFLAGS = \
	-DVENDOR_RELEASE="$(VENDOR_RELEASE)" \
	-DVENDOR_STRING="\"$(VENDOR_STRING)\"" \
	-I/usr/include/X11 -Iinclude -I$(top_srcdir) \
	-I$(LIB_DIR) -I$(BIN_DIR)/vncconfig \
	-DGC_HAS_COMPOSITE_CLIP

bin_PROGRAMS = Xvnc

Xvnc_SOURCES = \
	xvnc.cc $(top_srcdir)/Xext/dpmsstubs.c $(top_srcdir)/Xi/stubs.c \
	$(top_srcdir)/mi/miinitext.c $(top_srcdir)/fb/fbcmap_mi.c

nodist_Xvnc_SOURCES = \
	fbrop.h fb.h pixman.h

Xvnc_CPPFLAGS = \
	-DHAVE_DIX_CONFIG_H -DNO_HW_ONLY_EXTS -DNO_MODULE_EXTS -DXFree86Server \
	-DVENDOR_RELEASE="$(VENDOR_RELEASE)" \
	-DVENDOR_STRING="\"$(VENDOR_STRING)\"" \
	-I$(LIB_DIR) \
	-I$(top_srcdir)/include -I/usr/include/X11 -I$(top_srcdir)/mi \
	-I$(top_srcdir)/render -I$(top_srcdir)/Xext

Xvnc_LDADD = \
	$(top_srcdir)/Xext/libXext.la $(top_srcdir)/dix/libdix.la \
	$(top_srcdir)/config/libconfig.a $(top_srcdir)/Xi/libXi.la \
	$(top_srcdir)/xkb/libxkb.la $(top_srcdir)/xkb/libxkbstubs.la \
	$(top_srcdir)/record/librecord.la $(top_srcdir)/GL/glx/libglx.la \
	$(top_srcdir)/GL/mesa/libGLcore.la $(top_srcdir)/dbe/libdbe.la \
	$(top_srcdir)/damageext/libdamageext.la $(top_srcdir)/fb/libfb.la \
	$(top_srcdir)/miext/damage/libdamage.la $(top_srcdir)/mi/libmi.la \
	$(top_srcdir)/xfixes/libxfixes.la $(top_srcdir)/XTrap/libxtrap.la \
	$(top_srcdir)/randr/librandr.la $(top_srcdir)/render/librender.la \
	$(top_srcdir)/os/libos.la libvnccommon.la $(RFB_LIBS) \
	-lXfont -lX11 -lpixman-1 -lcrypto -lselinux

libvnc_la_LTLIBRARIES = libvnc.la
libvnc_ladir = $(moduledir)/extensions

libvnc_la_SOURCES = \
	xf86vncModule.cc

libvnc_la_CPPFLAGS = \
		$(RFB_INCS) \
		-I$(top_srcdir)/hw/xfree86/common \
		-I$(top_srcdir)/hw/xfree86/os-support \
		-I$(top_srcdir)/hw/xfree86/os-support/bus \
		-DXFree86Module -DXFree86LOADER -DIN_MODULE

libvnc_la_CXXFLAGS = \
	$(COMPILER_FLAGS)

libvnc_la_LDFLAGS = \
	-module -avoid-version

libvnc_la_LIBADD = \
	libvnccommon.la $(RFB_LIBS)

# C++ hacks
BUILT_SOURCES = \
	$(nodist_Xvnc_SOURCES)

fb.h: $(top_srcdir)/fb/fb.h
	cat $(top_srcdir)/fb/fb.h | sed -e 's,and,c_and,' -e 's,xor,c_xor,' > $(srcdir)/fb.h

pixman.h: $(includedir)/pixman-1/pixman.h
	cat $(includedir)/pixman-1/pixman.h | sed 's/xor/c_xor/' > $(srcdir)/pixman.h

fbrop.h: $(top_srcdir)/fb/fbrop.h
	cat $(top_srcdir)/fb/fbrop.h | sed -e 's,and,c_and,' -e 's,xor,c_xor,' > $(srcdir)/fbrop.h





More information about the fedora-extras-commits mailing list