xrdp/libxrdp/Makefile.am

72 lines
1.4 KiB
Makefile
Raw Normal View History

2010-11-19 23:52:24 +03:00
EXTRA_DIST = libxrdp.h libxrdpinc.h
2012-04-06 02:40:46 +04:00
EXTRA_DEFINES =
EXTRA_INCLUDES =
EXTRA_LIBS =
EXTRA_FLAGS =
2010-03-18 01:06:50 +03:00
if XRDP_DEBUG
2012-04-06 02:40:46 +04:00
EXTRA_DEFINES += -DXRDP_DEBUG
2010-03-18 01:06:50 +03:00
else
2012-04-06 02:40:46 +04:00
EXTRA_DEFINES += -DXRDP_NODEBUG
endif
if XRDP_NEUTRINORDP
EXTRA_DEFINES += -DXRDP_NEUTRINORDP
EXTRA_LIBS += $(FREERDP_LIBS)
2012-04-06 02:40:46 +04:00
endif
if XRDP_TJPEG
EXTRA_DEFINES += -DXRDP_JPEG -DXRDP_TJPEG
EXTRA_INCLUDES += -I/opt/libjpeg-turbo/include
EXTRA_FLAGS += -L/opt/libjpeg-turbo/lib -Wl,-rpath -Wl,/opt/libjpeg-turbo/lib
EXTRA_LIBS += -lturbojpeg
else
if XRDP_JPEG
EXTRA_DEFINES += -DXRDP_JPEG
EXTRA_LIBS += -ljpeg
endif
endif
2012-04-06 02:40:46 +04:00
if GOT_PREFIX
EXTRA_INCLUDES += -I$(prefix)/include
EXTRA_FLAGS += -L$(prefix)/lib -Wl,-rpath -Wl,$(prefix)/lib
2010-03-18 01:06:50 +03:00
endif
AM_CFLAGS = \
-DXRDP_CFG_PATH=\"${sysconfdir}/xrdp\" \
-DXRDP_SBIN_PATH=\"${sbindir}\" \
-DXRDP_SHARE_PATH=\"${datadir}/xrdp\" \
2010-03-18 01:06:50 +03:00
-DXRDP_PID_PATH=\"${localstatedir}/run\" \
$(EXTRA_DEFINES)
2008-08-03 11:48:32 +04:00
INCLUDES = \
2012-04-06 02:40:46 +04:00
-I$(top_srcdir)/common \
$(EXTRA_INCLUDES)
2008-08-03 11:48:32 +04:00
lib_LTLIBRARIES = \
libxrdp.la
libxrdp_la_SOURCES = \
libxrdp.c \
xrdp_channel.c \
xrdp_iso.c \
xrdp_mcs.c \
xrdp_orders.c \
xrdp_rdp.c \
xrdp_sec.c \
xrdp_bitmap_compress.c \
xrdp_bitmap32_compress.c \
2012-06-15 01:37:02 +04:00
xrdp_jpeg_compress.c \
xrdp_orders_rail.c \
2014-02-09 03:42:04 +04:00
xrdp_mppc_enc.c \
xrdp_fastpath.c \
xrdp_caps.c
2008-08-03 11:48:32 +04:00
2012-04-06 02:40:46 +04:00
libxrdp_la_LDFLAGS = \
$(EXTRA_FLAGS)
2008-08-03 11:48:32 +04:00
libxrdp_la_LIBADD = \
$(top_builddir)/common/libcommon.la \
2012-04-06 02:40:46 +04:00
$(EXTRA_LIBS)