2016-12-18 09:43:30 +03:00
|
|
|
EXTRA_DIST = \
|
|
|
|
clipboard-notes.txt \
|
|
|
|
pcsc \
|
|
|
|
pulse \
|
|
|
|
wave-format-server.txt
|
|
|
|
|
2016-10-17 20:33:28 +03:00
|
|
|
AM_CPPFLAGS = \
|
|
|
|
-DXRDP_CFG_PATH=\"${sysconfdir}/xrdp\" \
|
|
|
|
-DXRDP_SBIN_PATH=\"${sbindir}\" \
|
|
|
|
-DXRDP_SHARE_PATH=\"${datadir}/xrdp\" \
|
|
|
|
-DXRDP_PID_PATH=\"${localstatedir}/run\" \
|
2017-03-15 07:45:50 +03:00
|
|
|
-DXRDP_SOCKET_PATH=\"${socketdir}\" \
|
2016-10-17 20:33:28 +03:00
|
|
|
-I$(top_srcdir)/common
|
|
|
|
|
2017-01-04 15:54:55 +03:00
|
|
|
if XRDP_DEBUG
|
|
|
|
AM_CPPFLAGS += -DXRDP_DEBUG
|
|
|
|
endif
|
|
|
|
|
2016-10-17 21:09:50 +03:00
|
|
|
CHANSRV_EXTRA_LIBS =
|
|
|
|
|
2012-11-03 10:10:36 +04:00
|
|
|
if XRDP_FUSE
|
2016-11-16 08:21:36 +03:00
|
|
|
AM_CPPFLAGS += -DXRDP_FUSE $(FUSE_CFLAGS)
|
|
|
|
CHANSRV_EXTRA_LIBS += $(FUSE_LIBS)
|
2012-11-03 10:10:36 +04:00
|
|
|
endif
|
|
|
|
|
2015-01-10 10:31:28 +03:00
|
|
|
if XRDP_OPUS
|
2016-10-17 20:33:28 +03:00
|
|
|
AM_CPPFLAGS += -DXRDP_OPUS
|
2016-10-17 21:09:50 +03:00
|
|
|
CHANSRV_EXTRA_LIBS += -lopus
|
2015-01-10 10:31:28 +03:00
|
|
|
endif
|
|
|
|
|
2016-07-14 03:44:07 +03:00
|
|
|
if XRDP_MP3LAME
|
2016-10-17 20:33:28 +03:00
|
|
|
AM_CPPFLAGS += -DXRDP_MP3LAME
|
2016-10-17 21:09:50 +03:00
|
|
|
CHANSRV_EXTRA_LIBS += -lmp3lame
|
2016-07-14 03:44:07 +03:00
|
|
|
endif
|
|
|
|
|
2016-01-30 22:42:39 +03:00
|
|
|
AM_CFLAGS = $(X_CFLAGS)
|
|
|
|
|
2009-04-19 21:16:46 +04:00
|
|
|
sbin_PROGRAMS = \
|
|
|
|
xrdp-chansrv
|
|
|
|
|
|
|
|
xrdp_chansrv_SOURCES = \
|
|
|
|
chansrv.c \
|
2016-02-22 08:49:04 +03:00
|
|
|
chansrv.h \
|
|
|
|
chansrv_common.c \
|
|
|
|
chansrv_common.h \
|
|
|
|
chansrv_fuse.c \
|
|
|
|
chansrv_fuse.h \
|
2009-04-22 08:34:45 +04:00
|
|
|
clipboard.c \
|
2016-02-22 08:49:04 +03:00
|
|
|
clipboard.h \
|
|
|
|
clipboard_common.h \
|
2012-10-14 22:46:01 +04:00
|
|
|
clipboard_file.c \
|
2016-02-22 08:49:04 +03:00
|
|
|
clipboard_file.h \
|
2012-07-25 07:47:53 +04:00
|
|
|
devredir.c \
|
2016-02-22 08:49:04 +03:00
|
|
|
devredir.h \
|
|
|
|
drdynvc.c \
|
|
|
|
drdynvc.h \
|
|
|
|
fifo.c \
|
|
|
|
fifo.h \
|
|
|
|
irp.c \
|
|
|
|
irp.h \
|
|
|
|
mlog.h \
|
|
|
|
rail.c \
|
|
|
|
rail.h \
|
2013-05-16 04:06:05 +04:00
|
|
|
smartcard.c \
|
2016-02-22 08:49:04 +03:00
|
|
|
smartcard.h \
|
2013-08-05 12:10:57 +04:00
|
|
|
smartcard_pcsc.c \
|
2016-02-22 08:49:04 +03:00
|
|
|
smartcard_pcsc.h \
|
|
|
|
sound.c \
|
|
|
|
sound.h \
|
2012-09-01 11:18:23 +04:00
|
|
|
xcommon.c \
|
2016-02-22 08:49:04 +03:00
|
|
|
xcommon.h
|
2009-04-19 21:16:46 +04:00
|
|
|
|
2012-05-25 23:36:55 +04:00
|
|
|
xrdp_chansrv_LDFLAGS = \
|
2016-10-17 20:43:05 +03:00
|
|
|
$(X_LIBS)
|
2012-05-25 23:36:55 +04:00
|
|
|
|
2009-04-19 21:16:46 +04:00
|
|
|
xrdp_chansrv_LDADD = \
|
2012-07-14 03:18:02 +04:00
|
|
|
$(top_builddir)/common/libcommon.la \
|
2016-01-30 22:42:39 +03:00
|
|
|
$(X_PRE_LIBS) -lXfixes -lXrandr -lX11 $(X_EXTRA_LIBS) \
|
2016-10-17 21:09:50 +03:00
|
|
|
$(CHANSRV_EXTRA_LIBS)
|