summaryrefslogtreecommitdiff
path: root/source3/lib/replace/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib/replace/Makefile.in')
-rw-r--r--source3/lib/replace/Makefile.in9
1 files changed, 5 insertions, 4 deletions
diff --git a/source3/lib/replace/Makefile.in b/source3/lib/replace/Makefile.in
index f4c79749a6..30f39ac6cb 100644
--- a/source3/lib/replace/Makefile.in
+++ b/source3/lib/replace/Makefile.in
@@ -11,9 +11,10 @@ srcdir = @srcdir@
builddir = @builddir@
INSTALL = @INSTALL@
-.PHONY: test
+.PHONY: test all showflags install installcheck clean distclean realdistclean
-CFLAGS=-I. -I@libreplacedir@ @CFLAGS@
+CFLAGS=-I. @CFLAGS@
+LDFLAGS=@LDFLAGS@
OBJS = @LIBREPLACEOBJ@
@@ -23,7 +24,7 @@ showflags:
@echo 'libreplace will be compiled with flags:'
@echo ' CC = $(CC)'
@echo ' CFLAGS = $(CFLAGS)'
- @echo ' LIBS = $(LIBS)'
+ @echo ' LDFLAGS= $(LDFLAGS)'
install: all
mkdir -p $(libdir)
@@ -40,7 +41,7 @@ installcheck: install test
TEST_OBJS = test/testsuite.o test/os2_delete.o test/strptime.o
testsuite: libreplace.a $(TEST_OBJS)
- $(CC) -o testsuite $(TEST_OBJS) -L. -lreplace
+ $(CC) -o testsuite $(TEST_OBJS) -L. -lreplace $(LDFLAGS)
.c.o:
@echo Compiling $*.c