# Makefile for source rpm: nmap NAME := nmap SPECFILE = $(firstword $(wildcard *.spec)) define find-makefile-common for d in common ../common ../../common ../../../common ../../../../common ; do if [ -f $$d/trunk/Makefile.common ] ; then if [ -f $$d/trunk/.svn -a -w $$/Makefile.common ] ; then cd $$d/trunk ; svn update --quiet ; fi ; echo "$$d/trunk/Makefile.common" ; break ; fi ; done endef MAKEFILE_COMMON := $(shell $(find-makefile-common)) # Fails to build prior to Fedora 23 # Probably needs openssl 1.0.2 or later # nsock_connect.c: In function 'nsock_connect_ssl': # nsock_connect.c:478:12: error: 'struct npool' has no member named 'dtlsctx' # EL-7 would be OK but doesn't have python3-gobject # F-29 onwards build from trunk DIST_REGEX = '^(fc2[3-8])' include $(MAKEFILE_COMMON)