mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Add DPADD to Makefile (thanks to Andrey for pointing this out).
Generally clean up Makefile, remove dmalloc references from source (there are better ways to do this than pollute the FreeBSD src tree).
This commit is contained in:
parent
445d3a34a6
commit
4cbbc3a35e
5 changed files with 2 additions and 24 deletions
|
|
@ -1,21 +1,11 @@
|
|||
# Makefile for bsdtar
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
DEBUG_FLAGS= -g
|
||||
|
||||
PROG= bsdtar
|
||||
SRCS= bsdtar.c matching.c read.c util.c write.c
|
||||
MAN = bsdtar.1
|
||||
|
||||
BINDIR?= /usr/bin
|
||||
WARNS?= 6
|
||||
LDADD += -larchive -lz -lbz2
|
||||
|
||||
.if defined(DMALLOC)
|
||||
CFLAGS += -DDMALLOC -I/usr/local/include
|
||||
LDADD += -L/usr/local/lib -ldmalloc
|
||||
.endif
|
||||
LDADD+= -larchive -lbz2 -lz
|
||||
DPADD+= ${LIBARCHIVE} ${LIBBZ2} ${LIBZ}
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
||||
|
|
|
|||
|
|
@ -32,9 +32,6 @@ __FBSDID("$FreeBSD$");
|
|||
#include <archive.h>
|
||||
#include <archive_entry.h>
|
||||
#include <dirent.h>
|
||||
#ifdef DMALLOC
|
||||
#include <dmalloc.h>
|
||||
#endif
|
||||
#include <errno.h>
|
||||
#include <fcntl.h>
|
||||
#include <fnmatch.h>
|
||||
|
|
|
|||
|
|
@ -27,9 +27,6 @@
|
|||
#include "bsdtar_platform.h"
|
||||
__FBSDID("$FreeBSD$");
|
||||
|
||||
#ifdef DMALLOC
|
||||
#include <dmalloc.h>
|
||||
#endif
|
||||
#include <errno.h>
|
||||
#include <fnmatch.h>
|
||||
#include <stdlib.h>
|
||||
|
|
|
|||
|
|
@ -32,9 +32,6 @@ __FBSDID("$FreeBSD$");
|
|||
|
||||
#include <archive.h>
|
||||
#include <archive_entry.h>
|
||||
#ifdef DMALLOC
|
||||
#include <dmalloc.h>
|
||||
#endif
|
||||
#include <errno.h>
|
||||
#include <grp.h>
|
||||
#include <limits.h>
|
||||
|
|
|
|||
|
|
@ -34,9 +34,6 @@ __FBSDID("$FreeBSD$");
|
|||
#endif
|
||||
#include <archive.h>
|
||||
#include <archive_entry.h>
|
||||
#ifdef DMALLOC
|
||||
#include <dmalloc.h>
|
||||
#endif
|
||||
#include <errno.h>
|
||||
#include <fcntl.h>
|
||||
#include <fnmatch.h>
|
||||
|
|
|
|||
Loading…
Reference in a new issue