Eliminate EXTRA_FLAGS, it's a poor name, use AM_LDFLAGS

master
Pavel Roskin 8 years ago
parent 0422734fc7
commit 5c69f3cd57

@ -1,5 +1,4 @@
EXTRA_LIBS = EXTRA_LIBS =
EXTRA_FLAGS =
AM_CPPFLAGS = \ AM_CPPFLAGS = \
-DXRDP_CFG_PATH=\"${sysconfdir}/xrdp\" \ -DXRDP_CFG_PATH=\"${sysconfdir}/xrdp\" \
@ -8,6 +7,8 @@ AM_CPPFLAGS = \
-DXRDP_PID_PATH=\"${localstatedir}/run\" \ -DXRDP_PID_PATH=\"${localstatedir}/run\" \
-I$(top_srcdir)/common -I$(top_srcdir)/common
AM_LDFLAGS =
if XRDP_DEBUG if XRDP_DEBUG
AM_CPPFLAGS += -DXRDP_DEBUG AM_CPPFLAGS += -DXRDP_DEBUG
else else
@ -21,7 +22,7 @@ endif
if XRDP_TJPEG if XRDP_TJPEG
AM_CPPFLAGS += -DXRDP_JPEG -DXRDP_TJPEG @TurboJpegIncDir@ AM_CPPFLAGS += -DXRDP_JPEG -DXRDP_TJPEG @TurboJpegIncDir@
EXTRA_FLAGS += @TurboJpegLibDir@ AM_LDFLAGS += @TurboJpegLibDir@
EXTRA_LIBS += -lturbojpeg EXTRA_LIBS += -lturbojpeg
else else
if XRDP_JPEG if XRDP_JPEG
@ -52,9 +53,6 @@ libxrdp_la_SOURCES = \
xrdp_rdp.c \ xrdp_rdp.c \
xrdp_sec.c xrdp_sec.c
libxrdp_la_LDFLAGS = \
$(EXTRA_FLAGS)
libxrdp_la_LIBADD = \ libxrdp_la_LIBADD = \
$(top_builddir)/common/libcommon.la \ $(top_builddir)/common/libcommon.la \
$(EXTRA_LIBS) $(EXTRA_LIBS)

@ -1,5 +1,4 @@
EXTRA_LIBS = EXTRA_LIBS =
EXTRA_FLAGS =
AM_CPPFLAGS = \ AM_CPPFLAGS = \
-DXRDP_CFG_PATH=\"${sysconfdir}/xrdp\" \ -DXRDP_CFG_PATH=\"${sysconfdir}/xrdp\" \
@ -61,8 +60,7 @@ xrdp_chansrv_SOURCES = \
xcommon.h xcommon.h
xrdp_chansrv_LDFLAGS = \ xrdp_chansrv_LDFLAGS = \
$(X_LIBS) \ $(X_LIBS)
$(EXTRA_FLAGS)
xrdp_chansrv_LDADD = \ xrdp_chansrv_LDADD = \
$(top_builddir)/common/libcommon.la \ $(top_builddir)/common/libcommon.la \

@ -1,5 +1,4 @@
EXTRA_LIBS = EXTRA_LIBS =
EXTRA_FLAGS =
AM_CPPFLAGS = \ AM_CPPFLAGS = \
-DXRDP_CFG_PATH=\"${sysconfdir}/xrdp\" \ -DXRDP_CFG_PATH=\"${sysconfdir}/xrdp\" \
@ -56,9 +55,6 @@ xrdp_LDADD = \
$(top_builddir)/libxrdp/libxrdp.la \ $(top_builddir)/libxrdp/libxrdp.la \
$(EXTRA_LIBS) $(EXTRA_LIBS)
xrdp_LDFLAGS = \
$(EXTRA_FLAGS)
xrdpsysconfdir=$(sysconfdir)/xrdp xrdpsysconfdir=$(sysconfdir)/xrdp
dist_xrdpsysconf_DATA = \ dist_xrdpsysconf_DATA = \

@ -1,5 +1,4 @@
EXTRA_LIBS = EXTRA_LIBS =
EXTRA_FLAGS =
module_LTLIBRARIES = \ module_LTLIBRARIES = \
libxrdpapi.la libxrdpapi.la
@ -8,8 +7,5 @@ libxrdpapi_la_SOURCES = \
xrdpapi.c \ xrdpapi.c \
xrdpapi.h xrdpapi.h
libxrdpapi_la_LDFLAGS = \
$(EXTRA_FLAGS)
libxrdpapi_la_LIBADD = \ libxrdpapi_la_LIBADD = \
$(EXTRA_LIBS) $(EXTRA_LIBS)

@ -1,5 +1,4 @@
EXTRA_LIBS = EXTRA_LIBS =
EXTRA_FLAGS =
module_LTLIBRARIES = \ module_LTLIBRARIES = \
libxrdpvr.la libxrdpvr.la
@ -8,8 +7,5 @@ libxrdpvr_la_SOURCES = \
xrdpvr.c \ xrdpvr.c \
xrdpvr.h xrdpvr.h
libxrdpvr_la_LDFLAGS = \
$(EXTRA_FLAGS)
libxrdpvr_la_LIBADD = \ libxrdpvr_la_LIBADD = \
$(EXTRA_LIBS) $(EXTRA_LIBS)

Loading…
Cancel
Save