cvsuser 04/11/11 07:10:18
Modified: config/gen/makefiles root.in
Log:
Move the definition of .SUFFIXES to allow the Makefile to work with FreeBSD
make
Revision Changes Path
1.259 +6 -3 parrot/config/gen/makefiles/root.in
Index: root.in
===================================================================
RCS file: /cvs/public/parrot/config/gen/makefiles/root.in,v
retrieving revision 1.258
retrieving revision 1.259
diff -u -r1.258 -r1.259
--- root.in 10 Nov 2004 02:52:52 -0000 1.258
+++ root.in 11 Nov 2004 15:10:17 -0000 1.259
@@ -1,4 +1,4 @@
-# $Id: root.in,v 1.258 2004/11/10 02:52:52 coke Exp $
+# $Id: root.in,v 1.259 2004/11/11 15:10:17 nicholas Exp $
###############################################################################
#
@@ -451,6 +451,11 @@
${make_set_make}
MAKE_C = ${make_c}
+# These need to be above lines that define suffix rules to be portable
+# (certainly FreeBSD make doesn't grok the .imc.pbc rule otherwise)
+
+.SUFFIXES : .c .h .pmc .dump $(O) .str .imc .pbc
+
# Passing an empty argument in @ARGV to cc_flags.pl to indicate where extra
-Is
# (etc) should go. Otherwise it will insert them after the first space, which
# makes life go horribly wrong if $(CC) contains spaces but can't have -I
@@ -472,8 +477,6 @@
all : flags_dummy $(TEST_PROG) runtime/parrot/include/parrotlib.pbc
runtime/parrot/include/config.fpmc docs $(LIBNCI_SO) $(GEN_LIBRARY)
-.SUFFIXES : .c .h .pmc .dump $(O) .str .imc .pbc
-
# constant string support
.c.str :
$(PERL) build_tools/c2str.pl $< > $@