2016-12-18 14:43:30 +08:00
|
|
|
EXTRA_DIST = \
|
|
|
|
clipboard-notes.txt \
|
|
|
|
pcsc \
|
|
|
|
wave-format-server.txt
|
|
|
|
|
2016-10-18 01:33:28 +08: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 12:45:50 +08:00
|
|
|
-DXRDP_SOCKET_PATH=\"${socketdir}\" \
|
2016-10-18 01:33:28 +08:00
|
|
|
-I$(top_srcdir)/common
|
|
|
|
|
2017-01-04 20:54:55 +08:00
|
|
|
if XRDP_DEBUG
|
|
|
|
AM_CPPFLAGS += -DXRDP_DEBUG
|
|
|
|
endif
|
|
|
|
|
2016-10-18 02:09:50 +08:00
|
|
|
CHANSRV_EXTRA_LIBS =
|
|
|
|
|
2012-11-03 14:10:36 +08:00
|
|
|
if XRDP_FUSE
|
2016-11-16 13:21:36 +08:00
|
|
|
AM_CPPFLAGS += -DXRDP_FUSE $(FUSE_CFLAGS)
|
|
|
|
CHANSRV_EXTRA_LIBS += $(FUSE_LIBS)
|
2012-11-03 14:10:36 +08:00
|
|
|
endif
|
|
|
|
|
2017-07-28 13:02:04 +08:00
|
|
|
if XRDP_FDK_AAC
|
2017-08-02 07:33:58 +08:00
|
|
|
AM_CPPFLAGS += -DXRDP_FDK_AAC $(FDKAAC_CFLAGS)
|
|
|
|
CHANSRV_EXTRA_LIBS += $(FDKAAC_LIBS)
|
2017-07-28 13:02:04 +08:00
|
|
|
endif
|
|
|
|
|
2015-01-10 15:31:28 +08:00
|
|
|
if XRDP_OPUS
|
2016-10-18 01:33:28 +08:00
|
|
|
AM_CPPFLAGS += -DXRDP_OPUS
|
2016-10-18 02:09:50 +08:00
|
|
|
CHANSRV_EXTRA_LIBS += -lopus
|
2015-01-10 15:31:28 +08:00
|
|
|
endif
|
|
|
|
|
2016-07-14 08:44:07 +08:00
|
|
|
if XRDP_MP3LAME
|
2016-10-18 01:33:28 +08:00
|
|
|
AM_CPPFLAGS += -DXRDP_MP3LAME
|
2016-10-18 02:09:50 +08:00
|
|
|
CHANSRV_EXTRA_LIBS += -lmp3lame
|
2016-07-14 08:44:07 +08:00
|
|
|
endif
|
|
|
|
|
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 \
|
2016-02-22 13:49:04 +08:00
|
|
|
chansrv.h \
|
|
|
|
chansrv_common.c \
|
|
|
|
chansrv_common.h \
|
|
|
|
chansrv_fuse.c \
|
|
|
|
chansrv_fuse.h \
|
2009-04-22 12:34:45 +08:00
|
|
|
clipboard.c \
|
2016-02-22 13:49:04 +08:00
|
|
|
clipboard.h \
|
|
|
|
clipboard_common.h \
|
2012-10-15 02:46:01 +08:00
|
|
|
clipboard_file.c \
|
2016-02-22 13:49:04 +08:00
|
|
|
clipboard_file.h \
|
2012-07-25 11:47:53 +08:00
|
|
|
devredir.c \
|
2016-02-22 13:49:04 +08:00
|
|
|
devredir.h \
|
|
|
|
fifo.c \
|
|
|
|
fifo.h \
|
|
|
|
irp.c \
|
|
|
|
irp.h \
|
|
|
|
mlog.h \
|
|
|
|
rail.c \
|
|
|
|
rail.h \
|
2013-05-16 08:06:05 +08:00
|
|
|
smartcard.c \
|
2016-02-22 13:49:04 +08:00
|
|
|
smartcard.h \
|
2013-08-05 16:10:57 +08:00
|
|
|
smartcard_pcsc.c \
|
2016-02-22 13:49:04 +08:00
|
|
|
smartcard_pcsc.h \
|
|
|
|
sound.c \
|
|
|
|
sound.h \
|
2012-09-01 15:18:23 +08:00
|
|
|
xcommon.c \
|
2016-02-22 13:49:04 +08:00
|
|
|
xcommon.h
|
2009-04-20 01:16:46 +08:00
|
|
|
|
2012-05-26 03:36:55 +08:00
|
|
|
xrdp_chansrv_LDFLAGS = \
|
2016-10-18 01:43:05 +08:00
|
|
|
$(X_LIBS)
|
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) \
|
2016-10-18 02:09:50 +08:00
|
|
|
$(CHANSRV_EXTRA_LIBS)
|