summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Ovsienko <denis@ovsienko.info>2023-02-18 00:30:30 +0000
committerDenis Ovsienko <denis@ovsienko.info>2023-02-18 00:44:30 +0000
commit3d4434b380d6be3d5645a1005cab10444faa8913 (patch)
treea479ed566efcbe0abe81a4154528b6a01b98e1be
parentb356d209e66c53b536dd508174b5c4cb7e3e5169 (diff)
downloadlibpcap-3d4434b380d6be3d5645a1005cab10444faa8913.tar.gz
Clean/ignore shared libraries other than .so. [skip ci]
On AIX one of the files "make all" produces is libpcap.shareda, which then "git status" displays, but "make clean" does not remove. Make this the opposite way around.
-rw-r--r--.gitignore1
-rw-r--r--Makefile.in2
2 files changed, 2 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index 9ddfbae4..75ed6a4d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -32,6 +32,7 @@ libpcap.pc
libpcap.sl
libpcap.so
libpcap.so.*
+libpcap.shareda
libpcap-*.tar.gz
net
os-proto.h
diff --git a/Makefile.in b/Makefile.in
index 4df484b0..f236c919 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -159,7 +159,7 @@ TAGFILES = \
CLEANFILES = $(OBJ) libpcap.a libpcap.so.`cat $(srcdir)/VERSION` \
$(PROG)-`cat $(srcdir)/VERSION`.tar.gz $(GENERATED_C_SRC) $(GENHDR) \
- lex.yy.c pcap-config libpcap.pc
+ lex.yy.c pcap-config libpcap.pc libpcap.$(DYEXT)
MAN1 = pcap-config.1