diff options
Diffstat (limited to 'common/Makefile.am')
-rw-r--r-- | common/Makefile.am | 62 |
1 files changed, 36 insertions, 26 deletions
diff --git a/common/Makefile.am b/common/Makefile.am index 8c7aa62c..1bc5851f 100644 --- a/common/Makefile.am +++ b/common/Makefile.am @@ -1,47 +1,57 @@ -EXTRA_DIST = \ - arch.h \ - d3des.h \ - defines.h \ - file.h \ - file_loc.h \ - list.h \ - list16.h \ - fifo.h \ - log.h \ - os_calls.h \ - os_calls.h \ - parse.h \ - rail.h \ - ssl_calls.h \ - thread_calls.h \ - trans.h \ +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 + xrdp_rail.h -AM_CFLAGS = \ +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\" -lib_LTLIBRARIES = \ +AM_CFLAGS = $(OPENSSL_CFLAGS) + +module_LTLIBRARIES = \ libcommon.la libcommon_la_SOURCES = \ - d3des.c \ + arch.h \ + crc16.h \ + defines.h \ + fifo.c \ + fifo.h \ file.c \ + file.h \ + file_loc.h \ list.c \ + list.h \ list16.c \ - fifo.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 \ - trans.c + thread_calls.h \ + trans.c \ + trans.h \ + $(PIXMAN_SOURCES) libcommon_la_LIBADD = \ - -lcrypto \ - -lssl \ - -lpthread + -lpthread \ + $(OPENSSL_LIBS) \ + $(DLOPEN_LIBS) |