mirror of
https://github.com/nmap/nmap.git
synced 2025-12-15 20:29:03 +00:00
Keep phony targets out of the prereqs for ncat itself, otherwise it is built every time
This commit is contained in:
@@ -109,6 +109,8 @@ endif
|
||||
|
||||
all: $(TARGET) $(TEST_PROGS)
|
||||
|
||||
$(LIBLUADIR)/liblua.a: @LUA_BUILD@
|
||||
|
||||
lua_build: $(LIBLUADIR)/Makefile
|
||||
@echo Compiling liblua; cd $(LIBLUADIR) && $(MAKE) liblua.a CC="$(CC)" MYCFLAGS="$(CFLAGS) $(LUA_CFLAGS)"
|
||||
|
||||
@@ -147,7 +149,7 @@ test/test-cmdline-split: test/test-cmdline-split.o ncat_posix.o ncat_core.o sys_
|
||||
test/test-wildcard: test/test-wildcard.o ncat_core.o ncat_ssl.o sys_wrap.o util.o ncat_posix.o $(LUA_OBJS)
|
||||
$(CC) -o $@ $(CFLAGS) $(LDFLAGS) $^ $(NSOCKLIB) $(NBASELIB) $(OPENSSL_LIBS) $(PCAP_LIBS) $(LUA_LIBS) $(LIBS)
|
||||
|
||||
.PHONY: uninstall all clean distclean
|
||||
.PHONY: uninstall all clean distclean lua_build
|
||||
|
||||
../libnetutil/libnetutil.a: ../libnetutil/Makefile
|
||||
@echo Compiling libnetutil;
|
||||
|
||||
2
ncat/configure
vendored
2
ncat/configure
vendored
@@ -5183,7 +5183,7 @@ if test "${with_liblua+set}" = set; then :
|
||||
included)
|
||||
CPPFLAGS="-I\$(top_srcdir)/$LIBLUADIR $CPPFLAGS"
|
||||
LIBLUA_LIBS="\$(top_srcdir)/$LIBLUADIR/liblua.a"
|
||||
LUA_DEPENDS="lua_build \$(top_srcdir)/$LIBLUADIR/liblua.a"
|
||||
LUA_DEPENDS="\$(top_srcdir)/$LIBLUADIR/liblua.a"
|
||||
LUA_BUILD="lua_build"
|
||||
LUA_CLEAN="lua_clean"
|
||||
LUA_DIST_CLEAN="lua_dist_clean"
|
||||
|
||||
@@ -222,7 +222,7 @@ AC_HELP_STRING([--without-liblua], [Compile without lua (this will exclude all o
|
||||
included)
|
||||
CPPFLAGS="-I\$(top_srcdir)/$LIBLUADIR $CPPFLAGS"
|
||||
LIBLUA_LIBS="\$(top_srcdir)/$LIBLUADIR/liblua.a"
|
||||
LUA_DEPENDS="lua_build \$(top_srcdir)/$LIBLUADIR/liblua.a"
|
||||
LUA_DEPENDS="\$(top_srcdir)/$LIBLUADIR/liblua.a"
|
||||
LUA_BUILD="lua_build"
|
||||
LUA_CLEAN="lua_clean"
|
||||
LUA_DIST_CLEAN="lua_dist_clean"
|
||||
|
||||
Reference in New Issue
Block a user