2013-01-28 17:42:18 +08:00
|
|
|
EXTRA_DIST = \
|
|
|
|
chansrv.h \
|
|
|
|
chansrv_fuse.h \
|
|
|
|
clipboard.h \
|
|
|
|
clipboard_common.h \
|
|
|
|
clipboard_file.h \
|
|
|
|
devredir.h \
|
|
|
|
drdynvc.h \
|
|
|
|
rail.h \
|
|
|
|
sound.h \
|
2013-09-25 08:19:10 +08:00
|
|
|
xcommon.h \
|
2014-10-13 08:47:35 +08:00
|
|
|
mlog.h \
|
2015-07-14 22:35:33 +08:00
|
|
|
chansrv_common.h \
|
|
|
|
irp.h \
|
|
|
|
smartcard.h \
|
2015-07-14 23:16:25 +08:00
|
|
|
smartcard_pcsc.h \
|
|
|
|
fifo.h
|
2009-05-19 12:23:49 +08:00
|
|
|
|
2012-05-26 03:36:55 +08:00
|
|
|
EXTRA_DEFINES =
|
|
|
|
EXTRA_INCLUDES =
|
|
|
|
EXTRA_LIBS =
|
|
|
|
EXTRA_FLAGS =
|
|
|
|
|
2012-11-03 14:10:36 +08:00
|
|
|
if XRDP_FUSE
|
|
|
|
EXTRA_DEFINES += -DXRDP_FUSE
|
|
|
|
EXTRA_LIBS += -lfuse
|
|
|
|
endif
|
|
|
|
|
2015-01-10 15:31:28 +08:00
|
|
|
if XRDP_OPUS
|
|
|
|
EXTRA_DEFINES += -DXRDP_OPUS
|
|
|
|
EXTRA_LIBS += -lopus
|
|
|
|
endif
|
|
|
|
|
2016-01-30 14:45:00 +08:00
|
|
|
AM_CPPFLAGS = \
|
2009-05-19 12:23:49 +08:00
|
|
|
-DXRDP_CFG_PATH=\"${sysconfdir}/xrdp\" \
|
|
|
|
-DXRDP_SBIN_PATH=\"${sbindir}\" \
|
|
|
|
-DXRDP_SHARE_PATH=\"${datadir}/xrdp\" \
|
2012-05-26 03:36:55 +08:00
|
|
|
-DXRDP_PID_PATH=\"${localstatedir}/run\" \
|
2016-01-30 14:45:00 +08:00
|
|
|
$(EXTRA_DEFINES) \
|
2012-05-26 03:36:55 +08:00
|
|
|
-I$(top_srcdir)/common \
|
|
|
|
$(EXTRA_INCLUDES)
|
2009-04-20 01:16:46 +08:00
|
|
|
|
2016-01-31 03:42:39 +08:00
|
|
|
AM_CFLAGS = $(X_CFLAGS)
|
|
|
|
|
2009-04-20 01:16:46 +08:00
|
|
|
sbin_PROGRAMS = \
|
|
|
|
xrdp-chansrv
|
|
|
|
|
|
|
|
xrdp_chansrv_SOURCES = \
|
|
|
|
chansrv.c \
|
|
|
|
sound.c \
|
2009-04-22 12:34:45 +08:00
|
|
|
clipboard.c \
|
2012-10-15 02:46:01 +08:00
|
|
|
clipboard_file.c \
|
2012-07-25 11:47:53 +08:00
|
|
|
devredir.c \
|
2013-05-16 08:06:05 +08:00
|
|
|
smartcard.c \
|
2013-08-05 16:10:57 +08:00
|
|
|
smartcard_pcsc.c \
|
2012-07-25 11:47:53 +08:00
|
|
|
rail.c \
|
2012-09-01 15:18:23 +08:00
|
|
|
xcommon.c \
|
2012-10-30 11:12:24 +08:00
|
|
|
drdynvc.c \
|
2013-05-16 08:06:05 +08:00
|
|
|
chansrv_fuse.c \
|
2013-09-25 08:19:10 +08:00
|
|
|
irp.c \
|
2014-10-13 08:47:35 +08:00
|
|
|
fifo.c \
|
|
|
|
chansrv_common.c
|
2009-04-20 01:16:46 +08:00
|
|
|
|
2012-05-26 03:36:55 +08:00
|
|
|
xrdp_chansrv_LDFLAGS = \
|
2016-01-31 03:42:39 +08:00
|
|
|
$(X_LIBS) \
|
2012-11-03 14:10:36 +08:00
|
|
|
$(EXTRA_FLAGS)
|
2012-05-26 03:36:55 +08:00
|
|
|
|
2009-04-20 01:16:46 +08:00
|
|
|
xrdp_chansrv_LDADD = \
|
2012-07-14 07:18:02 +08:00
|
|
|
$(top_builddir)/common/libcommon.la \
|
2016-01-31 03:42:39 +08:00
|
|
|
$(X_PRE_LIBS) -lXfixes -lXrandr -lX11 $(X_EXTRA_LIBS) \
|
2012-05-26 03:36:55 +08:00
|
|
|
$(EXTRA_LIBS)
|