Ticket #38114: libtool_mode.patch
File libtool_mode.patch, 6.6 KB (added by jmroot (Joshua Root), 12 years ago) |
---|
-
libhosts_gatherer/Makefile
old new 22 22 $(LIBTOOL) --finish $(DESTDIR)${libdir} 23 23 24 24 libhosts_gatherer.la : $(OBJS) 25 $(LIBTOOL) $(CC) -o libhosts_gatherer.la $(LO_OBJS) -rpath ${libdir} \25 $(LIBTOOL) --mode=link $(CC) $(CFLAGS) -o libhosts_gatherer.la $(LO_OBJS) -rpath ${libdir} \ 26 26 -version-info ${PACKAGE_VERSION} 27 27 28 28 hg_utils.o : hg_utils.h hosts_gatherer.h hg_utils.c -
libnessus/Makefile
old new 22 22 23 23 24 24 getopt.o : getopt.c 25 $(LIBTOOL) $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c getopt.c25 $(LIBTOOL) --mode=compile $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c getopt.c 26 26 27 27 getopt1.o : getopt1.c 28 $(LIBTOOL) $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c getopt1.c28 $(LIBTOOL) --mode=compile $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c getopt1.c 29 29 30 30 plugutils.o : plugutils.c 31 $(LIBTOOL) $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c plugutils.c31 $(LIBTOOL) --mode=compile $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c plugutils.c 32 32 33 33 resolve.o : resolve.c resolve.h 34 $(LIBTOOL) $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c resolve.c34 $(LIBTOOL) --mode=compile $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c resolve.c 35 35 36 36 share_fd.o : share_fd.c 37 $(LIBTOOL) $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c share_fd.c37 $(LIBTOOL) --mode=compile $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c share_fd.c 38 38 39 39 system.o : system.c system.h 40 $(LIBTOOL) $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c system.c40 $(LIBTOOL) --mode=compile $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c system.c 41 41 42 42 arglists.o : arglists.c 43 $(LIBTOOL) $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c arglists.c43 $(LIBTOOL) --mode=compile $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c arglists.c 44 44 45 45 network.o : network.c network.h 46 $(LIBTOOL) $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c network.c46 $(LIBTOOL) --mode=compile $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c network.c 47 47 48 48 scanners_utils.o : scanners_utils.c scanners_utils.h 49 $(LIBTOOL) $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c scanners_utils.c49 $(LIBTOOL) --mode=compile $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c scanners_utils.c 50 50 51 51 ftp_funcs.o : ftp_funcs.c ftp_funcs.h 52 $(LIBTOOL) $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c ftp_funcs.c52 $(LIBTOOL) --mode=compile $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c ftp_funcs.c 53 53 www_funcs.o : www_funcs.c 54 $(LIBTOOL) $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c www_funcs.c54 $(LIBTOOL) --mode=compile $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c www_funcs.c 55 55 56 56 pcap.o : pcap.c 57 $(LIBTOOL) $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c pcap.c57 $(LIBTOOL) --mode=compile $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c pcap.c 58 58 59 59 hlst.o : hlst.c hlst.h 60 $(LIBTOOL) $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c hlst.c60 $(LIBTOOL) --mode=compile $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c hlst.c 61 61 62 62 ptycall.o : ptycall.c 63 $(LIBTOOL) $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c ptycall.c63 $(LIBTOOL) --mode=compile $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c ptycall.c 64 64 65 65 harglists.o : harglists.c 66 $(LIBTOOL) $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c harglists.c66 $(LIBTOOL) --mode=compile $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c harglists.c 67 67 68 68 diff.o : diff.c 69 $(LIBTOOL) $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c diff.c69 $(LIBTOOL) --mode=compile $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c diff.c 70 70 71 71 ids_send.o : ids_send.c 72 $(LIBTOOL) $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c ids_send.c72 $(LIBTOOL) --mode=compile $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c ids_send.c 73 73 74 74 bpf_share.o: bpf_share.c 75 $(LIBTOOL) $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -DNESSUS_STATE_DIR=\"$(localstatedir)\" -c bpf_share.c75 $(LIBTOOL) --mode=compile $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -DNESSUS_STATE_DIR=\"$(localstatedir)\" -c bpf_share.c 76 76 77 77 rand.o: rand.c 78 $(LIBTOOL) $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c rand.c78 $(LIBTOOL) --mode=compile $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c rand.c 79 79 80 80 popen.o: popen.c 81 $(LIBTOOL) $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c popen.c81 $(LIBTOOL) --mode=compile $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c popen.c 82 82 83 83 services.o: services.c 84 $(LIBTOOL) $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -DNESSUS_STATE_DIR=\"$(localstatedir)\" -c services.c84 $(LIBTOOL) --mode=compile $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -DNESSUS_STATE_DIR=\"$(localstatedir)\" -c services.c 85 85 86 86 services1.o: services1.c 87 $(LIBTOOL) $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -DNESSUS_STATE_DIR=\"$(localstatedir)\" -DCONF_DIR=\"$(sysconfdir)\" -c services1.c87 $(LIBTOOL) --mode=compile $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -DNESSUS_STATE_DIR=\"$(localstatedir)\" -DCONF_DIR=\"$(sysconfdir)\" -c services1.c 88 88 89 89 proctitle.o: proctitle.c 90 $(LIBTOOL) $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c proctitle.c90 $(LIBTOOL) --mode=compile $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c proctitle.c 91 91 92 92 store.o: store.c 93 $(LIBTOOL) $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -DNESSUS_STATE_DIR=\"$(localstatedir)\" -c store.c93 $(LIBTOOL) --mode=compile $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -DNESSUS_STATE_DIR=\"$(localstatedir)\" -c store.c 94 94 95 95 96 96 kb.o: kb.c 97 $(LIBTOOL) $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c kb.c97 $(LIBTOOL) --mode=compile $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c kb.c 98 98 99 99 100 100 snprintf.o : snprintf.c 101 $(LIBTOOL) $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c snprintf.c101 $(LIBTOOL) --mode=compile $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c snprintf.c 102 102 libnessus.la: $(OBJS) 103 $(LIBTOOL) $(CC) -o libnessus.la $(LO_OBJS) -rpath ${libdir} \103 $(LIBTOOL) --mode=link $(CC) $(CFLAGS) -o libnessus.la $(LO_OBJS) -rpath ${libdir} \ 104 104 -version-info ${PACKAGE_VERSION} 105 105 106 106 install : libnessus.la -
libpcap-nessus/Makefile.in
old new 31 31 # You shouldn't need to edit anything below. 32 32 # 33 33 34 COMPILE = $(LIBTOOL) $(CC)34 COMPILE = $(LIBTOOL) --mode=compile $(CC) 35 35 CCOPT = @V_CCOPT@ 36 36 INCLS = -I. @V_INCLS@ -I../../include 37 37 ### Solaris make does not like += (jordan) … … 89 89 90 90 libpcap-nessus.la: $(OBJ) 91 91 @rm -f $@ 92 $(LIBTOOL) $(CC) -o libpcap-nessus.la $(LO_OBJ) -rpath ${libdir} \92 $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(CCOPT) -o libpcap-nessus.la $(LO_OBJ) -rpath ${libdir} \ 93 93 -version-info ${PACKAGE_VERSION} 94 94 95 95 scanner.c: $(srcdir)/scanner.l