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