1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-30 10:38:37 +00:00
freebsd-ports/net/mcast-tools/files/patch-mfc-Makefile.am
Hiroki Sato b6128b71dc - Add STAGEDIR support.
- Remove MAKE_JOBS_UNSAFE.
- Take maintainership.
2013-10-17 06:11:39 +00:00

30 lines
671 B
Plaintext

--- mfc/Makefile.am.orig 2005-12-11 14:15:10.000000000 +0900
+++ mfc/Makefile.am 2013-10-17 13:52:36.000000000 +0900
@@ -9,15 +9,19 @@
# Config file parser (this is necessary because not all yacc generate y.tab.h)
cftoken.o: cftoken.c cfparse.h
- $(COMPILE) -c -o $@ $<
+ $(COMPILE) -c -o $@ cftoken.c
cfparse.o: cfparse.c
- $(COMPILE) -c -o $@ $<
+ $(COMPILE) -c -o $@ $?
cftoken.c: cftoken.l
- $(LEX) -ocftoken.c $<
+ $(LEX) -o$@ $?
-cfparse.h cfparse.c: cfparse.y
- $(YACC) -d $< && \
- mv y.tab.c cfparse.c && \
- mv y.tab.h cfparse.h
+y.tab.h y.tab.c: cfparse.y
+ $(YACC) -d $?
+
+cfparse.h: y.tab.h
+ mv y.tab.h $@
+
+cfparse.c: y.tab.c
+ mv y.tab.c $@