2012-04-06 02:40:46 +04:00
|
|
|
EXTRA_DEFINES =
|
|
|
|
EXTRA_INCLUDES =
|
|
|
|
EXTRA_LIBS =
|
|
|
|
EXTRA_FLAGS =
|
|
|
|
|
2010-03-18 01:06:50 +03:00
|
|
|
if XRDP_DEBUG
|
2012-04-06 02:40:46 +04:00
|
|
|
EXTRA_DEFINES += -DXRDP_DEBUG
|
2010-03-18 01:06:50 +03:00
|
|
|
else
|
2012-04-06 02:40:46 +04:00
|
|
|
EXTRA_DEFINES += -DXRDP_NODEBUG
|
|
|
|
endif
|
|
|
|
|
2013-08-24 19:19:45 +04:00
|
|
|
if XRDP_NEUTRINORDP
|
|
|
|
EXTRA_DEFINES += -DXRDP_NEUTRINORDP
|
2012-12-05 16:31:27 +04:00
|
|
|
EXTRA_LIBS += $(FREERDP_LIBS)
|
2012-04-06 02:40:46 +04:00
|
|
|
endif
|
|
|
|
|
2013-09-16 22:14:48 +04:00
|
|
|
if XRDP_TJPEG
|
|
|
|
EXTRA_DEFINES += -DXRDP_JPEG -DXRDP_TJPEG
|
2014-03-24 04:45:40 +04:00
|
|
|
EXTRA_INCLUDES += @TurboJpegIncDir@
|
|
|
|
EXTRA_FLAGS += @TurboJpegLibDir@
|
2013-09-16 22:14:48 +04:00
|
|
|
EXTRA_LIBS += -lturbojpeg
|
|
|
|
else
|
2012-04-08 09:41:46 +04:00
|
|
|
if XRDP_JPEG
|
|
|
|
EXTRA_DEFINES += -DXRDP_JPEG
|
|
|
|
EXTRA_LIBS += -ljpeg
|
|
|
|
endif
|
2013-09-16 22:14:48 +04:00
|
|
|
endif
|
2012-04-08 09:41:46 +04:00
|
|
|
|
2016-01-30 09:45:00 +03:00
|
|
|
AM_CPPFLAGS = \
|
2009-05-19 08:23:49 +04:00
|
|
|
-DXRDP_CFG_PATH=\"${sysconfdir}/xrdp\" \
|
|
|
|
-DXRDP_SBIN_PATH=\"${sbindir}\" \
|
|
|
|
-DXRDP_SHARE_PATH=\"${datadir}/xrdp\" \
|
2010-03-18 01:06:50 +03:00
|
|
|
-DXRDP_PID_PATH=\"${localstatedir}/run\" \
|
2016-01-30 09:45:00 +03:00
|
|
|
$(EXTRA_DEFINES) \
|
2012-04-06 02:40:46 +04:00
|
|
|
-I$(top_srcdir)/common \
|
|
|
|
$(EXTRA_INCLUDES)
|
2008-08-03 11:48:32 +04:00
|
|
|
|
2016-02-10 21:24:09 +03:00
|
|
|
module_LTLIBRARIES = \
|
2008-08-03 11:48:32 +04:00
|
|
|
libxrdp.la
|
|
|
|
|
|
|
|
libxrdp_la_SOURCES = \
|
|
|
|
libxrdp.c \
|
2016-02-22 08:49:04 +03:00
|
|
|
libxrdp.h \
|
|
|
|
libxrdpinc.h \
|
|
|
|
xrdp_bitmap32_compress.c \
|
|
|
|
xrdp_bitmap_compress.c \
|
|
|
|
xrdp_caps.c \
|
2008-08-03 11:48:32 +04:00
|
|
|
xrdp_channel.c \
|
2016-02-22 08:49:04 +03:00
|
|
|
xrdp_fastpath.c \
|
2008-08-03 11:48:32 +04:00
|
|
|
xrdp_iso.c \
|
2016-02-22 08:49:04 +03:00
|
|
|
xrdp_jpeg_compress.c \
|
2008-08-03 11:48:32 +04:00
|
|
|
xrdp_mcs.c \
|
2016-02-22 08:49:04 +03:00
|
|
|
xrdp_mppc_enc.c \
|
2008-08-03 11:48:32 +04:00
|
|
|
xrdp_orders.c \
|
2012-12-29 10:37:48 +04:00
|
|
|
xrdp_orders_rail.c \
|
2016-02-22 08:49:04 +03:00
|
|
|
xrdp_orders_rail.h \
|
|
|
|
xrdp_rdp.c \
|
|
|
|
xrdp_sec.c
|
2008-08-03 11:48:32 +04:00
|
|
|
|
2012-04-06 02:40:46 +04:00
|
|
|
libxrdp_la_LDFLAGS = \
|
|
|
|
$(EXTRA_FLAGS)
|
|
|
|
|
2008-08-03 11:48:32 +04:00
|
|
|
libxrdp_la_LIBADD = \
|
2012-07-14 03:18:02 +04:00
|
|
|
$(top_builddir)/common/libcommon.la \
|
2012-04-06 02:40:46 +04:00
|
|
|
$(EXTRA_LIBS)
|