a452d8d36a
AM_CPPFLAGS is for flags passed to the preprocessor, such as defines and includes. AM_CFLAGS is for flags affecting the compiler, such as debug and optimization settings. INCLUDES is an obsolete name. Users can pass INCLUDES and break compilation. AM_CPPFLAGS is more explicit that the flags come from Automake and should not be overridden.
34 lines
595 B
Makefile
34 lines
595 B
Makefile
EXTRA_DIST = rdp.h
|
|
EXTRA_DEFINES =
|
|
|
|
if XRDP_DEBUG
|
|
EXTRA_DEFINES += -DXRDP_DEBUG
|
|
else
|
|
EXTRA_DEFINES += -DXRDP_NODEBUG
|
|
endif
|
|
|
|
AM_CPPFLAGS = \
|
|
-DXRDP_CFG_PATH=\"${sysconfdir}/xrdp\" \
|
|
-DXRDP_SBIN_PATH=\"${sbindir}\" \
|
|
-DXRDP_SHARE_PATH=\"${datadir}/xrdp\" \
|
|
-DXRDP_PID_PATH=\"${localstatedir}/run\" \
|
|
$(EXTRA_DEFINES) \
|
|
-I$(top_srcdir)/common
|
|
|
|
lib_LTLIBRARIES = \
|
|
librdp.la
|
|
|
|
librdp_la_SOURCES = \
|
|
rdp.c \
|
|
rdp_bitmap.c \
|
|
rdp_iso.c \
|
|
rdp_lic.c \
|
|
rdp_mcs.c \
|
|
rdp_orders.c \
|
|
rdp_rdp.c \
|
|
rdp_sec.c \
|
|
rdp_tcp.c
|
|
|
|
librdp_la_LIBADD = \
|
|
$(top_builddir)/common/libcommon.la
|