1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-15 04:09:01 +00:00
Files
nmap/libnetutil/Makefile.in
2010-06-24 15:04:40 +00:00

42 lines
663 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
OBJS = netutil.o
all: $(TARGET)
$(TARGET): $(OBJS)
rm -f $@
$(AR) cr $@ $(OBJS)
$(RANLIB) $@
clean:
rm -f $(OBJS) $(TARGET)
distclean: clean
rm -rf Makefile
Makefile: Makefile.in $(top_srcdir)/config.status
cd $(top_srcdir) && ./config.status
.cc.o:
$(CXX) -c $(CPPFLAGS) $(CXXFLAGS) $< -o $@
makefile.dep:
$(CXX) -MM $(CPPFLAGS) $(SRCS) > $@
include makefile.dep