testlist.c dependencies

Francois Gouget fgouget at free.fr
Tue Dec 10 14:45:57 CST 2002


When changing test.h in my previous patch, I noticed that testlist.c
does not have any dependency. The reason is that it is a generated file
and thus is not taken into account by the depend rule. This patch should
fix this.


Changelog:

 * dlls/Maketest.rules.in

   Generate proper dependencies for testlist.c


Index: dlls/Maketest.rules.in
===================================================================
RCS file: /home/wine/wine/dlls/Maketest.rules.in,v
retrieving revision 1.14
diff -u -r1.14 Maketest.rules.in
--- dlls/Maketest.rules.in	6 Dec 2002 23:26:29 -0000	1.14
+++ dlls/Maketest.rules.in	10 Dec 2002 20:30:07 -0000
@@ -19,6 +19,7 @@
 RUNTESTFLAGS = -q -P wine -M $(TESTDLL) -T $(TOPOBJDIR) -p $(TESTPROGRAM)

 C_SRCS       = $(CTESTS)
+EXTRA_SRCS   = $(TESTLIST)
 EXTRA_OBJS   = $(TESTLIST:.c=.o)
 ALL_LIBS     = $(LIBWINE) $(EXTRALIBS) $(LIBS)

@@ -66,6 +67,8 @@

 testclean::
 	$(RM) $(TESTRESULTS)
+
+depend: $(TESTLIST)

 clean::
 	$(RM) $(MODULE) $(TESTLIST) $(TESTRESULTS) $(CROSSTEST)




-- 
Francois Gouget         fgouget at free.fr        http://fgouget.free.fr/
                            $live{free} || die "";




More information about the wine-patches mailing list