2010-11-19 23:58:25 +03:00
|
|
|
EXTRA_DIST = chansrv.h clipboard.h devredir.h sound.h
|
2009-05-19 08:23:49 +04:00
|
|
|
|
2012-05-25 23:36:55 +04: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 10:10:36 +04:00
|
|
|
if XRDP_FUSE
|
|
|
|
EXTRA_DEFINES += -DXRDP_FUSE
|
|
|
|
EXTRA_LIBS += -lfuse
|
|
|
|
endif
|
|
|
|
|
2009-05-19 08:23:49 +04:00
|
|
|
AM_CFLAGS = \
|
|
|
|
-DXRDP_CFG_PATH=\"${sysconfdir}/xrdp\" \
|
|
|
|
-DXRDP_SBIN_PATH=\"${sbindir}\" \
|
|
|
|
-DXRDP_SHARE_PATH=\"${datadir}/xrdp\" \
|
2012-05-25 23:36:55 +04:00
|
|
|
-DXRDP_PID_PATH=\"${localstatedir}/run\" \
|
|
|
|
$(EXTRA_DEFINES)
|
2009-05-19 08:23:49 +04:00
|
|
|
|
2009-04-19 21:16:46 +04:00
|
|
|
INCLUDES = \
|
2012-05-25 23:36:55 +04:00
|
|
|
-I$(top_srcdir)/common \
|
|
|
|
$(EXTRA_INCLUDES)
|
2009-04-19 21:16:46 +04:00
|
|
|
|
|
|
|
sbin_PROGRAMS = \
|
|
|
|
xrdp-chansrv
|
|
|
|
|
|
|
|
xrdp_chansrv_SOURCES = \
|
|
|
|
chansrv.c \
|
|
|
|
sound.c \
|
2009-04-22 08:34:45 +04:00
|
|
|
clipboard.c \
|
2012-10-14 22:46:01 +04:00
|
|
|
clipboard_file.c \
|
2012-07-25 07:47:53 +04:00
|
|
|
devredir.c \
|
|
|
|
rail.c \
|
2012-09-01 11:18:23 +04:00
|
|
|
xcommon.c \
|
2012-10-30 07:12:24 +04:00
|
|
|
drdynvc.c \
|
|
|
|
chansrv_fuse.c
|
2009-04-19 21:16:46 +04:00
|
|
|
|
2012-05-25 23:36:55 +04:00
|
|
|
xrdp_chansrv_LDFLAGS = \
|
2012-11-03 10:10:36 +04:00
|
|
|
$(EXTRA_FLAGS)
|
2012-05-25 23:36:55 +04:00
|
|
|
|
2009-04-19 21:16:46 +04:00
|
|
|
xrdp_chansrv_LDADD = \
|
2009-09-04 05:34:29 +04:00
|
|
|
-L/usr/X11R6/lib \
|
2012-07-14 03:18:02 +04:00
|
|
|
$(top_builddir)/common/libcommon.la \
|
2012-05-25 23:36:55 +04:00
|
|
|
-lX11 -lXfixes \
|
|
|
|
$(EXTRA_LIBS)
|