Change-Id: I14544a6fa5f4a9d4ded753ec12f031a7e09309ef
tdm_monitor_SOURCES = \
$(top_srcdir)/protocol/tdm-protocol.c \
tdm_monitor.c
-tdm_monitor_LDFLAGS = ${LDFLAGS}
+tdm_monitor_LDFLAGS = \
+ -pie \
+ ${LDFLAGS}
tdm_monitor_LDADD = $(TDM_CLIENT_LIBS) ../common/libtdm-common.la
tdm_monitor_CFLAGS = \
+ -fPIE \
$(TDM_CFLAGS) \
-I$(top_srcdir)/include \
-I$(top_srcdir)/protocol \
tdm_test_server_SOURCES = \
buffers.c \
tdm_test_server.c
-tdm_test_server_LDFLAGS = ${LDFLAGS}
+tdm_test_server_LDFLAGS = \
+ -pie \
+ ${LDFLAGS}
tdm_test_server_CFLAGS = \
+ -fPIE \
$(TDM_CFLAGS) \
-I$(top_srcdir)/include \
-I$(top_srcdir)/src
#tdm-test-cliet
tdm_test_client_SOURCES = \
tdm_test_client.c
-tdm_test_client_LDFLAGS = ${LDFLAGS}
+tdm_test_client_LDFLAGS = \
+ -pie \
+ ${LDFLAGS}
tdm_test_client_CFLAGS = \
+ -fPIE \
$(TDM_CFLAGS) \
-I$(top_srcdir)/include \
-I$(top_srcdir)/client \