Ticket #41336: patch-Makefile.in.diff

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

    old new  
    66# $date: Sun Jul 25 17:56:15 MET DST 1999$
    77# $rev: 3$
    88
    9 CC= gcc
     9CC= gcc-mp-4.8
    1010AR=/usr/bin/ar
    1111RANLIB=/usr/bin/ranlib
    1212CCOPT= -O2 -Wall @PCAP_INCLUDE@ @TCL_INC@ @USE_TCL@
     
    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; \