Generate proper dependencies for testlist.c.

This commit is contained in:
Francois Gouget 2002-12-11 01:29:36 +00:00 committed by Alexandre Julliard
parent 72a2c37076
commit bc8b8a2221
1 changed files with 3 additions and 0 deletions

View File

@ -19,6 +19,7 @@ TESTPROGRAM = $(MODULE)$(DLLEXT)
RUNTESTFLAGS = -q -P wine -M $(TESTDLL) -T $(TOPOBJDIR) -p $(TESTPROGRAM) RUNTESTFLAGS = -q -P wine -M $(TESTDLL) -T $(TOPOBJDIR) -p $(TESTPROGRAM)
C_SRCS = $(CTESTS) C_SRCS = $(CTESTS)
EXTRA_SRCS = $(TESTLIST)
EXTRA_OBJS = $(TESTLIST:.c=.o) EXTRA_OBJS = $(TESTLIST:.c=.o)
ALL_LIBS = $(LIBWINE) $(EXTRALIBS) $(LIBS) ALL_LIBS = $(LIBWINE) $(EXTRALIBS) $(LIBS)
@ -49,6 +50,8 @@ $(MODULE): $(OBJS) $(RCOBJS) Makefile.in
$(TESTLIST): Makefile.in $(TESTLIST): Makefile.in
$(TOPSRCDIR)/tools/make_ctests $(CTESTS) >$(TESTLIST) || $(RM) $(TESTLIST) $(TOPSRCDIR)/tools/make_ctests $(CTESTS) >$(TESTLIST) || $(RM) $(TESTLIST)
depend: $(TESTLIST)
# Rules for testing # Rules for testing
check test:: $(TESTRESULTS) $(SUBDIRS:%=%/__test__) check test:: $(TESTRESULTS) $(SUBDIRS:%=%/__test__)