Alexandre Julliard : Make.rules: Move the all: target before the implicit rules to avoid confusing FreeBSD make.

Alexandre Julliard julliard at winehq.org
Thu Apr 24 06:24:10 CDT 2008


Module: wine
Branch: master
Commit: d8e3d181d18cfdfb681e1c3b05b885d07fc04941
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=d8e3d181d18cfdfb681e1c3b05b885d07fc04941

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Thu Apr 24 12:46:43 2008 +0200

Make.rules: Move the all: target before the implicit rules to avoid confusing FreeBSD make.

---

 Make.rules.in |   18 +++++++++---------
 1 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/Make.rules.in b/Make.rules.in
index 84842d4..76a4d42 100644
--- a/Make.rules.in
+++ b/Make.rules.in
@@ -125,6 +125,15 @@ OBJS = $(C_SRCS:.c=.o) $(BISON_SRCS:.y=.tab.o) $(LEX_SRCS:.l=.yy.o) $(IDL_GEN_C_
 RCOBJS = $(RC_SRCS:.rc=.res.o)
 LINTS  = $(C_SRCS:.c=.ln)
 
+# 'all' target first in case the enclosing Makefile didn't define any target
+
+all:
+
+filter: dummy
+	@$(TOPSRCDIR)/tools/winapi/make_filter --make $(MAKE) all
+
+.PHONY: all filter
+
 # Implicit rules
 
 .SUFFIXES: .mc .rc .mc.rc .res .res.o .spec .spec.o .idl .tlb .h .y .l .tab.c .tab.h .yy.c .ok .man.in .man _c.c _i.c _p.c _s.c @MAINTAINER_MODE@ .sfd .ttf .svg .ico
@@ -193,15 +202,6 @@ LINTS  = $(C_SRCS:.c=.ln)
 	$(ICOTOOL) -c -o $@ $*-16.png $*-32.png $*-48.png
 	$(RM) $*-16.png $*-32.png $*-48.png
 
-# 'all' target first in case the enclosing Makefile didn't define any target
-
-all:
-
-filter: dummy
-	@$(TOPSRCDIR)/tools/winapi/make_filter --make $(MAKE) all
-
-.PHONY: all filter
-
 # Rules for IDL files
 
 dlldata.c: $(WIDL) Makefile.in




More information about the wine-cvs mailing list