3 exec_prefix = @exec_prefix@
5 includedir = @includedir@
12 CFLAGS=-I. -I$(srcdir) @CFLAGS@
14 OBJS = dlfcn.o getpass.o replace.o snprintf.o
16 all: libreplace.a testsuite
20 $(INSTALL) libreplace.a $(libdir)
29 installcheck: install test
31 TEST_OBJS = test/testsuite.o
33 testsuite: libreplace.a $(TEST_OBJS)
34 $(CC) -o testsuite $(TEST_OBJS) -L. -lreplace
38 @mkdir -p `dirname $@`
39 @$(CC) $(CFLAGS) -c $< -o $@
42 rm -f *.o test/*.o *.a testsuite
48 config.log config.status \