Ticket #40763: patch-Makefile.in.diff

File patch-Makefile.in.diff, 1.1 KB (added by Schamschula (Marius Schamschula), 10 years ago)
  • Makefile.in

    old new  
    99CC= gcc
    1010AR=/usr/bin/ar
    1111RANLIB=/usr/bin/ranlib
    12 CCOPT= -O2 -Wall @PCAP_INCLUDE@ @TCL_INC@ @USE_TCL@
     12CCOPT= -O2 -Wall @PCAP_INCLUDE@ @TCL_INC@ @USE_TCL@ -D_FORTIFY_SOURCE=0
    1313DEBUG= -g
    1414#uncomment the following if you need libpcap based build under linux
    1515#(not raccomanded)
    1616COMPILE_TIME=
    17 INSTALL_MANPATH=@MANPATH@
     17INSTALL_PATH=
     18INSTALL_MANPATH=
    1819@PCAP@
    1920
    2021ARSOBJ = ars.o apd.o split.o rapd.o
     
    7273        rm -rf hping3 *.o byteorder byteorder.h systype.h Makefile libars.a .depend
    7374
    7475install: hping3
    75         cp -f hping3 /usr/sbin/
    76         chmod 755 /usr/sbin/hping3
    77         ln -s /usr/sbin/hping3 /usr/sbin/hping
    78         ln -s /usr/sbin/hping3 /usr/sbin/hping2
     76        cp -f hping3 ${INSTALL_PATH}/sbin/
     77        chmod 755 ${INSTALL_PATH}/sbin/hping3
     78        ln -s ${INSTALL_PATH}/sbin/hping3 ${INSTALL_PATH}/sbin/hping
     79        ln -s ${INSTALL_PATH}/sbin/hping3 ${INSTALL_PATH}/sbin/hping2
    7980        @if [ -d ${INSTALL_MANPATH}/man8 ]; then \
    8081                cp ./docs/hping3.8 ${INSTALL_MANPATH}/man8; \
    8182                chmod 644 ${INSTALL_MANPATH}/man8/hping3.8; \