Alexandre Julliard : makefiles: Get rid of the checklink rules, they no longer work.

Alexandre Julliard julliard at wine.codeweavers.com
Sat Aug 26 13:47:43 CDT 2006


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

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Sat Aug 26 20:21:33 2006 +0200

makefiles: Get rid of the checklink rules, they no longer work.

---

 Make.rules.in         |    7 -------
 Makefile.in           |    2 --
 dlls/Makedll.rules.in |   16 ----------------
 dlls/Makefile.in      |    2 --
 dlls/checklink.c      |    4 ----
 5 files changed, 0 insertions(+), 31 deletions(-)
 delete mode 100644 dlls/checklink.c

diff --git a/Make.rules.in b/Make.rules.in
index f77ae49..9d7e502 100644
--- a/Make.rules.in
+++ b/Make.rules.in
@@ -263,13 +263,6 @@ uninstall:: $(INSTALLSUBDIRS:%=%/__unins
 	$(SUBDIRS:%=%/__install__) $(SUBDIRS:%=%/__uninstall__) \
 	$(SUBDIRS:%=%/__install-lib__) $(SUBDIRS:%=%/__install-dev__)
 
-# Rules for checking that no imports are missing
-
-$(SUBDIRS:%=%/__checklink__): dummy
-	@cd `dirname $@` && $(MAKE) checklink
-
-.PHONY: checklink $(SUBDIRS:%=%/__checklink__)
-
 # Rules for testing
 
 $(SUBDIRS:%=%/__test__): dummy
diff --git a/Makefile.in b/Makefile.in
index 52cb7c8..e013cfc 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -107,8 +107,6 @@ tools/__install-lib__ tools/__install-de
 
 # Test rules
 
-checklink:: $(TESTSUBDIRS:%=%/__checklink__)
-
 check test:: $(TESTSUBDIRS:%=%/__test__)
 $(TESTSUBDIRS:%=%/__test__): wine
 
diff --git a/dlls/Makedll.rules.in b/dlls/Makedll.rules.in
index 5b4f62c..b48e710 100644
--- a/dlls/Makedll.rules.in
+++ b/dlls/Makedll.rules.in
@@ -62,28 +62,12 @@ lib$(BASEMODULE).a: $(SPEC_DEF) $(IMPLIB
 
 $(SUBDIRS): implib
 
-# Rules for checking that no imports are missing
-
-.PHONY: checklink16 $(WIN16_FILES:%=__checklink16__%)
-
-$(WIN16_FILES:%=__checklink16__%): checklink16
-
-checklink16:: $(MAINSPEC).o $(OBJS) dummy
-	$(CC) -o checklink -Wl,-rpath,$(TOPOBJDIR)/libs $(TOPSRCDIR)/dlls/checklink.c $(MAINSPEC).o $(OBJS) -L$(DLLDIR) $(ALL_LIBS) -lwinecrt0 -lm && $(RM) checklink $(MAINSPEC).o
-
-checklink:: $(WIN16_FILES:%=__checklink16__%)
-
 # Rules for testing
 
 check test:: $(SUBDIRS:%=%/__test__)
 
 crosstest:: $(SUBDIRS:%=%/__crosstest__)
 
-# Rule to explicitly generate the .spec.s for debugging
-
-$(MAINSPEC).s $(MAINSPEC).o: $(MAINSPEC) $(ALL_OBJS)
-	$(WINEBUILD) $(WINEBUILDFLAGS) --dll -o $@ --export $(SRCDIR)/$(MAINSPEC) $(SUBSYSTEM:%=--subsystem %) $(ALL_OBJS) $(DLL_LDPATH) $(ALL_IMPORTS:%=-l%) $(DELAYIMPORTS:%=-d%) $(DLLDIR)/libwinecrt0.a
-
 # Rules for auto documentation
 
 man: $(C_SRCS)
diff --git a/dlls/Makefile.in b/dlls/Makefile.in
index ce542d6..5927f33 100644
--- a/dlls/Makefile.in
+++ b/dlls/Makefile.in
@@ -981,6 +981,4 @@ check test:: $(BUILDSUBDIRS:%=%/__test__
 
 crosstest:: $(BUILDSUBDIRS:%=%/__crosstest__)
 
-checklink:: $(BUILDSUBDIRS:%=%/__checklink__)
-
 ### Dependencies:
diff --git a/dlls/checklink.c b/dlls/checklink.c
deleted file mode 100644
index 58fe692..0000000
--- a/dlls/checklink.c
+++ /dev/null
@@ -1,4 +0,0 @@
-int main(void)
-{
-    return 0;
-}




More information about the wine-cvs mailing list