source: branches/packages_10.03.1/net/xl2tpd/patches/110-makefile_dont_build_pfc.patch @ 29245

Last change on this file since 29245 was 29245, checked in by nico, 4 years ago

[backfire] packages/xl2tpd: merge r28012 (update to 1.3.0)

File size: 1.2 KB
  • Makefile

    a b  
    106106MANDIR?=$(DESTDIR)${PREFIX}/share/man 
    107107 
    108108 
    109 all: $(EXEC) pfc $(CONTROL_EXEC) 
     109all: $(EXEC) $(CONTROL_EXEC) 
    110110 
    111111clean: 
    112         rm -f $(OBJS) $(EXEC) pfc.o pfc $(CONTROL_EXEC) 
     112        rm -f $(OBJS) $(EXEC) $(CONTROL_EXEC) 
    113113 
    114114$(EXEC): $(OBJS) $(HDRS) 
    115115        $(CC) $(LDFLAGS) -o $@ $(OBJS) $(LDLIBS) 
     
    117117$(CONTROL_EXEC): $(CONTROL_SRCS) 
    118118        $(CC) $(CONTROL_SRCS) -o $@ 
    119119 
    120 pfc: 
    121         $(CC) $(CFLAGS) -c contrib/pfc.c 
    122         $(CC) $(LDFLAGS) -o pfc pfc.o -lpcap $(LDLIBS) 
    123  
    124120romfs: 
    125121        $(ROMFSINST) /bin/$(EXEC) 
    126122 
    127 install: ${EXEC} pfc ${CONTROL_EXEC} 
     123install: ${EXEC} ${CONTROL_EXEC} 
    128124        install -d -m 0755 ${SBINDIR} 
    129125        install -m 0755 $(EXEC) ${SBINDIR}/$(EXEC) 
    130126        install -d -m 0755 ${MANDIR}/man5 
     
    132128        install -m 0644 doc/xl2tpd.8 ${MANDIR}/man8/ 
    133129        install -m 0644 doc/xl2tpd.conf.5 doc/l2tp-secrets.5 \ 
    134130                 ${MANDIR}/man5/ 
    135         # pfc 
    136         install -d -m 0755 ${BINDIR} 
    137         install -m 0755 pfc ${BINDIR}/pfc 
    138         install -d -m 0755 ${MANDIR}/man1 
    139         install -m 0644 contrib/pfc.1 ${MANDIR}/man1/ 
    140131        # control exec 
    141132        install -d -m 0755 ${SBINDIR} 
    142133        install -m 0755 $(CONTROL_EXEC) ${SBINDIR}/$(CONTROL_EXEC) 
Note: See TracBrowser for help on using the repository browser.