James Findley c002d47
--- netsniff-ng_0.5.3/src/Makefile	2009-12-07 12:28:47.000000000 +0000
James Findley c002d47
+++ netsniff-ng_0.5.3/src/Makefile.1	2010-02-23 16:03:07.535880239 +0000
James Findley c002d47
@@ -7,42 +7,29 @@
James Findley c002d47
 INCLUDE          = -Iinclude
James Findley c002d47
 CFLAGS           = -Wall -O2
James Findley c002d47
 
James Findley c002d47
-NAME_NETSNIFF    = netsniff-ng
James Findley c002d47
-OBJECTS_NETSNIFF = netsniff-ng.o
James Findley c002d47
-
James Findley c002d47
 NAME_CHECKP      = check_packets
James Findley c002d47
 OBJECTS_CHECKP   = check_packets.o
James Findley c002d47
 
James Findley c002d47
 BINDIR           = usr/bin
James Findley c002d47
-ETCDIR           = etc
James Findley c002d47
-MANDIR           = usr/share/man/man8
James Findley c002d47
-MANDIR_LOCAL     = doc
James Findley c002d47
+#ETCDIR           = etc
James Findley c002d47
+#MANDIR           = usr/share/man/man8
James Findley c002d47
+#MANDIR_LOCAL     = doc
James Findley c002d47
 
James Findley c002d47
-all: check_packets netsniff-ng
James Findley c002d47
+all: check_packets
James Findley c002d47
 
James Findley c002d47
 check_packets: $(OBJECTS_CHECKP)
James Findley c002d47
 	$(CC) -o $(NAME_CHECKP) $(OBJECTS_CHECKP) $(LIBS)
James Findley c002d47
 
James Findley c002d47
-netsniff-ng: $(OBJECTS_NETSNIFF)
James Findley c002d47
-	$(CC) -o $(NAME_NETSNIFF) $(OBJECTS_NETSNIFF) $(LIBS)
James Findley c002d47
 
James Findley c002d47
 %.o: %.c
James Findley c002d47
 	$(CC) -c $(CFLAGS) $(INCLUDE) $<
James Findley c002d47
 
James Findley c002d47
 install:
James Findley c002d47
-	install -D $(NAME_NETSNIFF) $(DESTDIR)/$(BINDIR)/$(NAME_NETSNIFF)
James Findley c002d47
 	install -D $(NAME_CHECKP) $(DESTDIR)/$(BINDIR)/$(NAME_CHECKP)
James Findley c002d47
-	install -d $(DESTDIR)/$(ETCDIR)/$(NAME_NETSNIFF)
James Findley c002d47
-	cp -r rules/ $(DESTDIR)/$(ETCDIR)/$(NAME_NETSNIFF)
James Findley c002d47
-	cat $(MANDIR_LOCAL)/$(NAME_NETSNIFF).8 | gzip > $(MANDIR_LOCAL)/$(NAME_NETSNIFF).8.gz
James Findley c002d47
-	install -D $(MANDIR_LOCAL)/$(NAME_NETSNIFF).8.gz $(DESTDIR)/$(MANDIR)/$(NAME_NETSNIFF).8.gz
James Findley c002d47
 
James Findley c002d47
 clean:
James Findley c002d47
-	rm *.o $(NAME_NETSNIFF) $(NAME_CHECKP) $(MANDIR_LOCAL)/$(NAME_NETSNIFF).8.gz || true
James Findley c002d47
+	rm *.o  $(NAME_CHECKP) || true
James Findley c002d47
 
James Findley c002d47
 uninstall:
James Findley c002d47
-	rm $(DESTDIR)/$(BINDIR)/$(NAME_NETSNIFF) || true
James Findley c002d47
 	rm $(DESTDIR)/$(BINDIR)/$(NAME_CHECKP) || true
James Findley c002d47
-	rm -rf $(DESTDIR)/$(ETCDIR)/$(NAME_NETSNIFF) || true
James Findley c002d47
-	rm $(DESTDIR)/$(MANDIR)/$(NAME_NETSNIFF).8.gz || true
James Findley c002d47