diff options
| author | Tim Kientzle <kientzle@FreeBSD.org> | 2008-08-27 05:06:51 +0000 |
|---|---|---|
| committer | Tim Kientzle <kientzle@FreeBSD.org> | 2008-08-27 05:06:51 +0000 |
| commit | 540e858cd7c01c44c6d6f207e4476a2ba39f84b6 (patch) | |
| tree | dbf01750f4573ace5a5e05ac940e339cb2c411ed /lib | |
| parent | 80eb0f71c7130ec0e0669496f93b87c388014014 (diff) | |
Notes
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/libarchive/test/Makefile | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/libarchive/test/Makefile b/lib/libarchive/test/Makefile index ed4dfe86b5b11..cbfb6ddef1447 100644 --- a/lib/libarchive/test/Makefile +++ b/lib/libarchive/test/Makefile @@ -51,28 +51,28 @@ TESTS= \ test_tar_filenames.c \ test_tar_large.c \ test_ustar_filenames.c \ - test_write_compress_program.c \ test_write_compress.c \ + test_write_compress_program.c \ test_write_disk.c \ test_write_disk_hardlink.c \ test_write_disk_perms.c \ test_write_disk_secure.c \ test_write_format_ar.c \ test_write_format_cpio.c \ - test_write_format_cpio_odc.c \ - test_write_format_cpio_newc.c \ test_write_format_cpio_empty.c \ + test_write_format_cpio_newc.c \ + test_write_format_cpio_odc.c \ test_write_format_shar_empty.c \ test_write_format_tar.c \ - test_write_format_tar_ustar.c \ test_write_format_tar_empty.c \ + test_write_format_tar_ustar.c \ test_write_open_memory.c # Build the test program using all libarchive sources + the test sources. SRCS= ${LA_SRCS} \ ${TESTS} \ - ${.OBJDIR}/list.h \ + list.h \ main.c \ read_open_memory.c @@ -84,19 +84,19 @@ DPADD=${LIBBZ2} ${LIBZ} CFLAGS+= -DPLATFORM_CONFIG_H=\"config_freebsd.h\" LDADD= -lz -lbz2 CFLAGS+= -static -g -CFLAGS+= -I${LA_SRCDIR} +CFLAGS+= -I${LA_SRCDIR} -I. # Uncomment to link against dmalloc #LDADD+= -L/usr/local/lib -ldmalloc #CFLAGS+= -I/usr/local/include -DUSE_DMALLOC -WARNS=6 +#WARNS=6 # Build libarchive_test and run it. check test: libarchive_test ./libarchive_test -v -r ${.CURDIR} # list.h is just a list of all tests, as indicated by DEFINE_TEST macro lines -${.OBJDIR}/list.h: ${TESTS} Makefile +list.h: ${TESTS} Makefile (cd ${.CURDIR}; cat ${TESTS}) | grep DEFINE_TEST > list.h CLEANFILES += *.out *.o *.core *~ list.h |
