From ce74796188e798508e47d6285fe58fd806dc7fdc Mon Sep 17 00:00:00 2001 From: Tim Kientzle Date: Sat, 3 May 2008 09:50:32 -0400 Subject: [PATCH] Remove last vestiges of archive.h.in; fix 'make check' SVN-Revision: 18 --- libarchive/test/Makefile | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/libarchive/test/Makefile b/libarchive/test/Makefile index 24b09544a..1bc8356b6 100644 --- a/libarchive/test/Makefile +++ b/libarchive/test/Makefile @@ -73,12 +73,9 @@ TESTS= \ SRCS= ${LA_SRCS} \ ${TESTS} \ ${.OBJDIR}/list.h \ - ${.OBJDIR}/archive.h \ main.c \ read_open_memory.c -CLEANFILES+= list.h archive.h - NO_MAN=yes PROG=libarchive_test @@ -87,12 +84,7 @@ DPADD=${LIBBZ2} ${LIBZ} CFLAGS+= -DPLATFORM_CONFIG_H=\"config_freebsd.h\" LDADD= -lz -lbz2 CFLAGS+= -static -g -CFLAGS+= -I${.OBJDIR} -CFLAGS+= -I${.CURDIR} CFLAGS+= -I${LA_SRCDIR} -# Without this, libarchive source files find archive.h in LA_SRCDIR, -# which may not be the same as archive.h in the test dir. -CFLAGS+= -I- # Uncomment to link against dmalloc LDADD+= -L/usr/local/lib -ldmalloc @@ -103,16 +95,11 @@ WARNS=6 check test: libarchive_test ./libarchive_test -v -r ${.CURDIR} -# Build archive.h, but in our .OBJDIR, not libarchive's -# This keeps libarchive_test and libarchive builds completely separate. -${.OBJDIR}/archive.h: ${LA_SRCDIR}/archive.h.in ${LA_SRCDIR}/Makefile - cd ${LA_SRCDIR} && unset MAKEOBJDIRPREFIX && MAKEOBJDIR=${.OBJDIR} make archive.h - # list.h is just a list of all tests, as indicated by DEFINE_TEST macro lines ${.OBJDIR}/list.h: ${TESTS} Makefile (cd ${.CURDIR}; cat ${TESTS}) | grep DEFINE_TEST > list.h -CLEANFILES += *.out *.o *.core *~ list.h archive.h +CLEANFILES += *.out *.o *.core *~ list.h cleantest: -chmod -R +w /tmp/libarchive_test.* -- 2.47.3