diff options
Diffstat (limited to 'rdp')
-rw-r--r-- | rdp/Makefile.am | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/rdp/Makefile.am b/rdp/Makefile.am index 6f698d29..9b519d7c 100644 --- a/rdp/Makefile.am +++ b/rdp/Makefile.am @@ -1,10 +1,18 @@ EXTRA_DIST = rdp.h +EXTRA_DEFINES = + +if XRDP_DEBUG +EXTRA_DEFINES += -DXRDP_DEBUG +else +EXTRA_DEFINES += -DXRDP_NODEBUG +endif AM_CFLAGS = \ -DXRDP_CFG_PATH=\"${sysconfdir}/xrdp\" \ -DXRDP_SBIN_PATH=\"${sbindir}\" \ -DXRDP_SHARE_PATH=\"${datadir}/xrdp\" \ - -DXRDP_PID_PATH=\"${localstatedir}/run\" + -DXRDP_PID_PATH=\"${localstatedir}/run\" \ + $(EXTRA_DEFINES) INCLUDES = \ -I$(top_srcdir)/common |