summaryrefslogtreecommitdiffstats
path: root/sesman/chansrv/Makefile.am
blob: 9d52d950de07ad92452c7a5c095a16780eeb2708 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
EXTRA_DIST = chansrv.h clipboard.h devredir.h sound.h

EXTRA_DEFINES =
EXTRA_INCLUDES =
EXTRA_LIBS =
EXTRA_FLAGS =

if XRDP_SIMPLESOUND
EXTRA_DEFINES += -DXRDP_SIMPLESOUND
EXTRA_LIBS += -lpthread -lpulse -lpulse-simple
endif

AM_CFLAGS = \
  -DXRDP_CFG_PATH=\"${sysconfdir}/xrdp\" \
  -DXRDP_SBIN_PATH=\"${sbindir}\" \
  -DXRDP_SHARE_PATH=\"${datadir}/xrdp\" \
  -DXRDP_PID_PATH=\"${localstatedir}/run\" \
  $(EXTRA_DEFINES)

INCLUDES = \
  -I$(top_srcdir)/common \
  -I$(top_srcdir)/raptorsmiface

sbin_PROGRAMS = \
  xrdp-chansrv

xrdp_chansrv_SOURCES = \
  chansrv.c \
  sound.c \
  clipboard.c \
  devredir.c \
  rail.c \
  xcommon.c

xrdp_chansrv_LDFLAGS = \
  $(EXTRA_FLAGS)

xrdp_chansrv_LDADD = \
  -L/usr/X11R6/lib \
  $(top_srcdir)/common/libcommon.la \
  $(top_srcdir)/raptorsmiface/libraptorsmiface.la \
  -lX11 -lXfixes