2010-11-20 04:58:25 +08:00
|
|
|
EXTRA_DIST = chansrv.h clipboard.h devredir.h sound.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 =
|
|
|
|
|
|
|
|
if XRDP_SIMPLESOUND
|
|
|
|
EXTRA_DEFINES += -DXRDP_SIMPLESOUND
|
|
|
|
EXTRA_LIBS += -lpthread -lpulse -lpulse-simple
|
|
|
|
endif
|
|
|
|
|
2012-11-03 14:10:36 +08:00
|
|
|
if XRDP_FUSE
|
|
|
|
EXTRA_DEFINES += -DXRDP_FUSE
|
|
|
|
EXTRA_LIBS += -lfuse
|
|
|
|
endif
|
|
|
|
|
2009-05-19 12:23:49 +08:00
|
|
|
AM_CFLAGS = \
|
|
|
|
-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\" \
|
|
|
|
$(EXTRA_DEFINES)
|
2009-05-19 12:23:49 +08:00
|
|
|
|
2009-04-20 01:16:46 +08:00
|
|
|
INCLUDES = \
|
2012-05-26 03:36:55 +08:00
|
|
|
-I$(top_srcdir)/common \
|
|
|
|
$(EXTRA_INCLUDES)
|
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 \
|
|
|
|
rail.c \
|
2012-09-01 15:18:23 +08:00
|
|
|
xcommon.c \
|
2012-10-30 11:12:24 +08:00
|
|
|
drdynvc.c \
|
|
|
|
chansrv_fuse.c
|
2009-04-20 01:16:46 +08:00
|
|
|
|
2012-05-26 03:36:55 +08:00
|
|
|
xrdp_chansrv_LDFLAGS = \
|
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 = \
|
2009-09-04 09:34:29 +08:00
|
|
|
-L/usr/X11R6/lib \
|
2012-07-14 07:18:02 +08:00
|
|
|
$(top_builddir)/common/libcommon.la \
|
2012-05-26 03:36:55 +08:00
|
|
|
-lX11 -lXfixes \
|
|
|
|
$(EXTRA_LIBS)
|