summaryrefslogtreecommitdiff
path: root/package/libpcap/libpcap.mk
diff options
context:
space:
mode:
authorUlf Samuelsson <ulf.samuelsson@atmel.com>2007-08-19 21:11:15 +0000
committerUlf Samuelsson <ulf.samuelsson@atmel.com>2007-08-19 21:11:15 +0000
commit78f528763b9d011e3f86a4976e49e2e6866348d4 (patch)
tree7603ec2a8c9d47584234e14f269a8f4c82c20caa /package/libpcap/libpcap.mk
parent62354f041b4c0e3d38d2cebeab2b3687aca9c744 (diff)
libpcap cleanup
Diffstat (limited to 'package/libpcap/libpcap.mk')
-rw-r--r--package/libpcap/libpcap.mk21
1 files changed, 6 insertions, 15 deletions
diff --git a/package/libpcap/libpcap.mk b/package/libpcap/libpcap.mk
index 7e2f7ca87..0b1267a16 100644
--- a/package/libpcap/libpcap.mk
+++ b/package/libpcap/libpcap.mk
@@ -1,6 +1,6 @@
#############################################################
#
-# libpcap
+# libpcap
#
#############################################################
# Copyright (C) 2001-2003 by Erik Andersen <andersen@codepoet.org>
@@ -48,20 +48,10 @@ $(LIBPCAP_DIR)/.configured: $(LIBPCAP_DIR)/.unpacked
--host=$(GNU_TARGET_NAME) \
--build=$(GNU_HOST_NAME) \
--prefix=/usr \
- --exec-prefix=/usr \
- --bindir=/usr/bin \
- --sbindir=/usr/sbin \
- --libdir=/usr/lib \
- --libexecdir=/usr/lib \
- --sysconfdir=/etc \
- --datadir=/usr/share \
--localstatedir=/var \
- --includedir=/usr/include \
- --mandir=/usr/man \
- --infodir=/usr/info \
- --with-build-cc="$(HOSTCC)" \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
--disable-yydebug \
- --prefix=/usr \
--with-pcap=linux \
$(DISABLE_IPV6) \
)
@@ -76,8 +66,9 @@ $(STAGING_DIR)/usr/lib/libpcap.a: $(LIBPCAP_DIR)/libpcap.a
libpcap: uclibc zlib $(STAGING_DIR)/usr/lib/libpcap.a
libpcap-clean:
- rm -f $(STAGING_DIR)/usr/include/pcap*.h \
- $(STAGING_DIR)/usr/lib/libpcap.a
+ rm -f $(addprefix $(STAGING_DIR)/usr/,include/pcap*.h \
+ lib/libpcap.a \
+ share/man/man?/pcap.*)
-$(MAKE) -C $(LIBPCAP_DIR) clean
libpcap-dirclean: