ninpaths
Alexey Luckyanchikov
alexl at alkar.net
Mon Jan 29 15:32:31 UTC 2001
Hello,
Makefile in contrib/ninpaths is broken. I made changes that allow
ninpaths to compile - include DEFS in CFLAGS, swap CFLAGS and LDFLAGS,
replace $< with $(.ALLSRC) (BSD make in FreeBSD-3.4 does not understand
$< correctly), etc.
--
Sincerely, e-mail: alexl at alkar.net
Alexey Luckyanchikov
-- Attached file included as plaintext by Listar --
-- File: Makefile.diff
--- Makefile.orig Mon Jan 29 16:29:27 2001
+++ Makefile Mon Jan 29 17:12:23 2001
@@ -1,20 +1,20 @@
include ../../Makefile.global
-CFLAGS=$(GCFLAGS)
-
VERSION=3.1.1
DEFS=-DVERSION=\"$(VERSION)\"
+CFLAGS=$(GCFLAGS) $(DEFS)
+
all: ninpaths sendinpaths
ninpaths: ninpaths.o
- $(CC) $(CFLAGS) -o $@ $<
+ $(CC) $(LDLAGS) -o $@ $(.ALLSRC)
ninpaths.o: ninpaths.c
- $(CC) $(LDLAGS) -o $@ -c $<
+ $(CC) $(CFLAGS) -o $@ -c $(.ALLSRC)
sendinpaths: sendinpaths.in
- $(UPFIXSCRIPT) sendinpaths
+ $(UPFIXSCRIPT) $(.ALLSRC)
clean:
- rm -f ninpaths *.o *.out core
+ rm -f ninpaths sendinpaths *.o *.out core
More information about the inn-bugs
mailing list