|
|
|
@ -1,37 +1,33 @@
|
|
|
|
|
EXTRA_INCLUDES =
|
|
|
|
|
EXTRA_LIBS =
|
|
|
|
|
EXTRA_FLAGS =
|
|
|
|
|
AM_CPPFLAGS = \
|
|
|
|
|
-DXRDP_CFG_PATH=\"${sysconfdir}/xrdp\" \
|
|
|
|
|
-DXRDP_SBIN_PATH=\"${sbindir}\" \
|
|
|
|
|
-DXRDP_SHARE_PATH=\"${datadir}/xrdp\" \
|
|
|
|
|
-DXRDP_PID_PATH=\"${localstatedir}/run\" \
|
|
|
|
|
-DXRDP_MODULE_PATH=\"${moduledir}\" \
|
|
|
|
|
-I$(top_builddir) \
|
|
|
|
|
-I$(top_srcdir)/common \
|
|
|
|
|
-I$(top_srcdir)/libxrdp
|
|
|
|
|
|
|
|
|
|
XRDP_EXTRA_LIBS =
|
|
|
|
|
|
|
|
|
|
if XRDP_DEBUG
|
|
|
|
|
EXTRA_DEFINES = -DXRDP_DEBUG
|
|
|
|
|
AM_CPPFLAGS += -DXRDP_DEBUG
|
|
|
|
|
else
|
|
|
|
|
EXTRA_DEFINES = -DXRDP_NODEBUG
|
|
|
|
|
AM_CPPFLAGS += -DXRDP_NODEBUG
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
if XRDP_RFXCODEC
|
|
|
|
|
EXTRA_DEFINES += -DXRDP_RFXCODEC
|
|
|
|
|
EXTRA_INCLUDES += -I$(top_srcdir)/librfxcodec/include
|
|
|
|
|
EXTRA_LIBS += $(top_srcdir)/librfxcodec/src/.libs/librfxencode.a
|
|
|
|
|
AM_CPPFLAGS += -DXRDP_RFXCODEC
|
|
|
|
|
AM_CPPFLAGS += -I$(top_srcdir)/librfxcodec/include
|
|
|
|
|
XRDP_EXTRA_LIBS += $(top_srcdir)/librfxcodec/src/.libs/librfxencode.a
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
if XRDP_PIXMAN
|
|
|
|
|
EXTRA_DEFINES += -DXRDP_PIXMAN
|
|
|
|
|
EXTRA_INCLUDES += $(XRDP_PIXMAN_CFLAGS)
|
|
|
|
|
EXTRA_LIBS += $(XRDP_PIXMAN_LIBS)
|
|
|
|
|
AM_CPPFLAGS += -DXRDP_PIXMAN
|
|
|
|
|
AM_CPPFLAGS += $(XRDP_PIXMAN_CFLAGS)
|
|
|
|
|
XRDP_EXTRA_LIBS += $(XRDP_PIXMAN_LIBS)
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
AM_CPPFLAGS = \
|
|
|
|
|
-DXRDP_CFG_PATH=\"${sysconfdir}/xrdp\" \
|
|
|
|
|
-DXRDP_SBIN_PATH=\"${sbindir}\" \
|
|
|
|
|
-DXRDP_SHARE_PATH=\"${datadir}/xrdp\" \
|
|
|
|
|
-DXRDP_PID_PATH=\"${localstatedir}/run\" \
|
|
|
|
|
-DXRDP_MODULE_PATH=\"${moduledir}\" \
|
|
|
|
|
$(EXTRA_DEFINES) \
|
|
|
|
|
-I$(top_builddir) \
|
|
|
|
|
-I$(top_srcdir)/common \
|
|
|
|
|
-I$(top_srcdir)/libxrdp \
|
|
|
|
|
$(EXTRA_INCLUDES)
|
|
|
|
|
|
|
|
|
|
sbin_PROGRAMS = \
|
|
|
|
|
xrdp
|
|
|
|
|
|
|
|
|
@ -57,10 +53,7 @@ xrdp_SOURCES = \
|
|
|
|
|
xrdp_LDADD = \
|
|
|
|
|
$(top_builddir)/common/libcommon.la \
|
|
|
|
|
$(top_builddir)/libxrdp/libxrdp.la \
|
|
|
|
|
$(EXTRA_LIBS)
|
|
|
|
|
|
|
|
|
|
xrdp_LDFLAGS = \
|
|
|
|
|
$(EXTRA_FLAGS)
|
|
|
|
|
$(XRDP_EXTRA_LIBS)
|
|
|
|
|
|
|
|
|
|
xrdpsysconfdir=$(sysconfdir)/xrdp
|
|
|
|
|
|
|
|
|
|