]> source.dussan.org Git - tigervnc.git/commitdiff
Support building an out-of-tree Xvnc binary using in-tree X server sources
authorDRC <dcommander@users.sourceforge.net>
Wed, 24 Aug 2011 16:01:12 +0000 (16:01 +0000)
committerDRC <dcommander@users.sourceforge.net>
Wed, 24 Aug 2011 16:01:12 +0000 (16:01 +0000)
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4660 3789f03b-4d11-0410-bbf8-ca57d06f2519

unix/xserver/hw/vnc/Makefile.am

index 8f8c65ba53ac4f660f20faa8078d40bb69ea0126..42da2b40167b8f736b1f5aadfb6973dfdcbc1c4d 100644 (file)
@@ -17,7 +17,8 @@ libvnccommon_la_SOURCES = $(HDRS) vncExtInit.cc vncHooks.cc XserverDesktop.cc \
 
 libvnccommon_la_CPPFLAGS = -DVENDOR_RELEASE="$(VENDOR_RELEASE)" \
        -DVENDOR_STRING="\"$(VENDOR_STRING)\"" -I$(TIGERVNC_SRCDIR)/common -UHAVE_CONFIG_H \
-       -I$(TIGERVNC_SRCDIR)/unix/vncconfig $(XVNC_CPPFLAGS) ${XSERVERLIBS_CFLAGS} -I$(includedir)
+       -I$(TIGERVNC_SRCDIR)/unix/vncconfig $(XVNC_CPPFLAGS) ${XSERVERLIBS_CFLAGS} -I$(includedir) \
+       -I$(top_srcdir)/include
 
 bin_PROGRAMS = Xvnc
 
@@ -49,6 +50,7 @@ libvnc_la_CPPFLAGS = $(XVNC_CPPFLAGS) -I$(TIGERVNC_SRCDIR)/common -UHAVE_CONFIG_
        -I$(top_srcdir)/hw/xfree86/common \
        -I$(top_srcdir)/hw/xfree86/os-support \
        -I$(top_srcdir)/hw/xfree86/os-support/bus \
+       -I$(top_srcdir)/include \
        ${XSERVERLIBS_CFLAGS} -I$(includedir)
 
 libvnc_la_LDFLAGS = -module -avoid-version