1
0
mirror of https://github.com/nmap/nmap.git synced 2026-01-31 10:39:02 +00:00
Files
nmap/nselib/Makefile.in
2007-08-14 19:09:13 +00:00

34 lines
814 B
Makefile

PLATFORM=@host@
CC = @CC@
CXX = @CXX@
CCOPT =
DBGFLAGS =
SHTOOL = ../shtool
INSTALL = $(SHTOOL) install
LIBTOOL= ./libtool
LTFLAGS = --tag=CC --silent
all: bit.so pcre.so
bit.so: bit.c @LIBTOOL_DEPS@
$(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) @LUAINCLUDE@ $(CFLAGS) -c bit.c
$(LIBTOOL) $(LTFLAGS) --mode=link $(CC) -avoid-version -module -rpath /usr/local/lib -o bit.la bit.lo
mv .libs/bit.so bit.so
pcre.so: pcre.c @LIBTOOL_DEPS@
$(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) @PCRE_INCLUDE@ @LUAINCLUDE@ $(CFLAGS) -c pcre.c
$(LIBTOOL) $(LTFLAGS) --mode=link $(CC) @PCRE_LD@ @PCRE_LIBS@ -avoid-version -module -rpath /usr/local/lib -o pcre.la pcre.lo
mv .libs/pcre.so pcre.so
clean:
rm -f bit.so pcre.so *.la *.lo
rm -rf .libs
distclean: clean
rm -f Makefile config.log config.status libtool