summaryrefslogtreecommitdiffstats
path: root/libxrdp/Makefile.am
blob: e9c63afb6b79b42eb16678361118a43a76b82ab3 (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
EXTRA_LIBS =
EXTRA_FLAGS =

AM_CPPFLAGS = \
  -DXRDP_CFG_PATH=\"${sysconfdir}/xrdp\" \
  -DXRDP_SBIN_PATH=\"${sbindir}\" \
  -DXRDP_SHARE_PATH=\"${datadir}/xrdp\" \
  -DXRDP_PID_PATH=\"${localstatedir}/run\" \
  -I$(top_srcdir)/common

if XRDP_DEBUG
AM_CPPFLAGS += -DXRDP_DEBUG
else
AM_CPPFLAGS += -DXRDP_NODEBUG
endif

if XRDP_NEUTRINORDP
AM_CPPFLAGS += -DXRDP_NEUTRINORDP
EXTRA_LIBS += $(FREERDP_LIBS)
endif

if XRDP_TJPEG
AM_CPPFLAGS += -DXRDP_JPEG -DXRDP_TJPEG @TurboJpegIncDir@
EXTRA_FLAGS += @TurboJpegLibDir@
EXTRA_LIBS += -lturbojpeg
else
if XRDP_JPEG
AM_CPPFLAGS += -DXRDP_JPEG
EXTRA_LIBS += -ljpeg
endif
endif

module_LTLIBRARIES = \
  libxrdp.la

libxrdp_la_SOURCES = \
  libxrdp.c \
  libxrdp.h \
  libxrdpinc.h \
  xrdp_bitmap32_compress.c \
  xrdp_bitmap_compress.c \
  xrdp_caps.c \
  xrdp_channel.c \
  xrdp_fastpath.c \
  xrdp_iso.c \
  xrdp_jpeg_compress.c \
  xrdp_mcs.c \
  xrdp_mppc_enc.c \
  xrdp_orders.c \
  xrdp_orders_rail.c \
  xrdp_orders_rail.h \
  xrdp_rdp.c \
  xrdp_sec.c

libxrdp_la_LDFLAGS = \
  $(EXTRA_FLAGS)

libxrdp_la_LIBADD = \
  $(top_builddir)/common/libcommon.la \
  $(EXTRA_LIBS)