summaryrefslogtreecommitdiffstats
path: root/common/Makefile.am
blob: 0af033a304db7b47fd3fba12bec218e4e23b1a05 (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
if XRDP_PIXMAN
  PIXMAN_SOURCES =
else
  PIXMAN_SOURCES = pixman-region16.c pixman-region.h
endif

EXTRA_DIST = pixman-region.c

include_HEADERS = \
  xrdp_client_info.h \
  xrdp_constants.h \
  xrdp_rail.h

AM_CPPFLAGS = \
  -DXRDP_CFG_PATH=\"${sysconfdir}/xrdp\" \
  -DXRDP_SBIN_PATH=\"${sbindir}\" \
  -DXRDP_SHARE_PATH=\"${datadir}/xrdp\" \
  -DXRDP_PID_PATH=\"${localstatedir}/run\" \
  -DXRDP_LOG_PATH=\"${localstatedir}/log\"

if XRDP_DEBUG
AM_CPPFLAGS += -DXRDP_DEBUG
endif

AM_CFLAGS = $(OPENSSL_CFLAGS)

module_LTLIBRARIES = \
  libcommon.la

libcommon_la_SOURCES = \
  arch.h \
  crc16.h \
  defines.h \
  fifo.c \
  fifo.h \
  file.c \
  file.h \
  file_loc.h \
  list.c \
  list.h \
  list16.c \
  list16.h \
  log.c \
  log.h \
  os_calls.c \
  os_calls.h \
  os_calls.h \
  parse.h \
  rail.h \
  ssl_calls.c \
  ssl_calls.h \
  thread_calls.c \
  thread_calls.h \
  trans.c \
  trans.h \
  $(PIXMAN_SOURCES)

libcommon_la_LIBADD = \
  -lpthread \
  $(OPENSSL_LIBS) \
  $(DLOPEN_LIBS)