1
0
mirror of https://github.com/nmap/nmap.git synced 2026-01-06 06:29:03 +00:00
Files
nmap/libnetutil/Makefile.in
colin 221d8db694 Merging from nmap-exp/colin/nmap-addrset and /nmap-exp/colin/ncat-addrset
Ported addrset from ncat to libnetutil. Made --exclude and --exclude-file options use addrset. As a side effect IPv6 Excludes work.
2011-06-17 19:58:03 +00:00

42 lines
666 B
Makefile

top_srcdir = @top_srcdir@
srcdir = @srcdir@
CXX = @CXX@
CXXFLAGS = @CXXFLAGS@
CPPFLAGS = @CPPFLAGS@ $(DEFS)
DEFS = @DEFS@
DEFS += -D_FORTIFY_SOURCE=2
AR = ar
RANLIB = @RANLIB@
LIBDNETDIR = @LIBDNETDIR@
LIBPCAPDIR = @libpcapdir@
TARGET = libnetutil.a
SRCS = $(srcdir)/netutil.cc $(srcdir)/addrset.cc
OBJS = netutil.o addrset.o
all: $(TARGET)
$(TARGET): $(OBJS)
rm -f $@
$(AR) cr $@ $(OBJS)
$(RANLIB) $@
clean:
rm -f $(OBJS) $(TARGET)
distclean: clean
rm -rf Makefile
Makefile: Makefile.in
cd $(top_srcdir) && ./config.status
.cc.o:
$(CXX) -c $(CPPFLAGS) $(CXXFLAGS) $< -o $@
makefile.dep:
$(CXX) -MM $(CPPFLAGS) $(SRCS) > $@
include makefile.dep