xrdp/libxrdp/Makefile.am

55 lines
979 B
Makefile
Raw Normal View History

2010-11-20 04:52:24 +08:00
EXTRA_DIST = libxrdp.h libxrdpinc.h
2012-04-06 06:40:46 +08:00
EXTRA_DEFINES =
EXTRA_INCLUDES =
EXTRA_LIBS =
EXTRA_FLAGS =
2010-03-18 06:06:50 +08:00
if XRDP_DEBUG
2012-04-06 06:40:46 +08:00
EXTRA_DEFINES += -DXRDP_DEBUG
2010-03-18 06:06:50 +08:00
else
2012-04-06 06:40:46 +08:00
EXTRA_DEFINES += -DXRDP_NODEBUG
endif
if XRDP_FREERDP1
EXTRA_DEFINES += -DXRDP_FREERDP1
EXTRA_LIBS += -lfreerdp-codec
endif
if GOT_PREFIX
EXTRA_INCLUDES += -I$(prefix)/include
EXTRA_FLAGS += -L$(prefix)/lib -Wl,-rpath -Wl,$(prefix)/lib
2010-03-18 06:06:50 +08:00
endif
AM_CFLAGS = \
-DXRDP_CFG_PATH=\"${sysconfdir}/xrdp\" \
-DXRDP_SBIN_PATH=\"${sbindir}\" \
-DXRDP_SHARE_PATH=\"${datadir}/xrdp\" \
2010-03-18 06:06:50 +08:00
-DXRDP_PID_PATH=\"${localstatedir}/run\" \
$(EXTRA_DEFINES)
2008-08-03 15:48:32 +08:00
INCLUDES = \
2012-04-06 06:40:46 +08:00
-I$(top_srcdir)/common \
$(EXTRA_INCLUDES)
2008-08-03 15:48:32 +08: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_tcp.c \
xrdp_bitmap_compress.c
2012-04-06 06:40:46 +08:00
libxrdp_la_LDFLAGS = \
$(EXTRA_FLAGS)
2008-08-03 15:48:32 +08:00
libxrdp_la_LIBADD = \
2012-04-06 06:40:46 +08:00
$(top_srcdir)/common/libcommon.la \
$(EXTRA_LIBS)