summaryrefslogtreecommitdiffstats
path: root/sesman/chansrv/Makefile.am
blob: ed55ae02b678fa45a3273794b624ca816db2e47c (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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
EXTRA_DIST = \
  chansrv.h \
  chansrv_fuse.h \
  clipboard.h \
  clipboard_common.h \
  clipboard_file.h \
  devredir.h \
  drdynvc.h \
  rail.h \
  sound.h \
  xcommon.h \
  mlog.h \
  chansrv_common.h

EXTRA_DEFINES =
EXTRA_INCLUDES =
EXTRA_LIBS =
EXTRA_FLAGS =

if XRDP_FUSE
EXTRA_DEFINES += -DXRDP_FUSE
EXTRA_LIBS += -lfuse
endif

if XRDP_OPUS
EXTRA_DEFINES += -DXRDP_OPUS
EXTRA_LIBS += -lopus
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 \
  $(EXTRA_INCLUDES)

sbin_PROGRAMS = \
  xrdp-chansrv

xrdp_chansrv_SOURCES = \
  chansrv.c \
  sound.c \
  clipboard.c \
  clipboard_file.c \
  devredir.c \
  smartcard.c \
  smartcard_pcsc.c \
  rail.c \
  xcommon.c \
  drdynvc.c \
  chansrv_fuse.c \
  irp.c \
  fifo.c \
  chansrv_common.c

xrdp_chansrv_LDFLAGS = \
  $(EXTRA_FLAGS)

xrdp_chansrv_LDADD = \
  -L/usr/X11R6/lib \
  $(top_builddir)/common/libcommon.la \
  -lX11 -lXfixes -lXrandr \
  $(EXTRA_LIBS)