Build test programs as part of the normal build.
This commit is contained in:
parent
5bfcdc8d73
commit
bcf2a78268
|
@ -18,7 +18,7 @@ WIN16_FILES = $(SPEC_SRCS:.spec=.spec.o) $(C_SRCS16:.c=.o) $(EXTRA_OBJS16)
|
||||||
ALL_OBJS = @WIN16_FILES@ $(OBJS) $(MODULE).dbg.o
|
ALL_OBJS = @WIN16_FILES@ $(OBJS) $(MODULE).dbg.o
|
||||||
ALL_LIBS = $(LIBWINE) $(EXTRALIBS) $(LIBS)
|
ALL_LIBS = $(LIBWINE) $(EXTRALIBS) $(LIBS)
|
||||||
|
|
||||||
all: $(MODULE)$(DLLEXT)
|
all: $(MODULE)$(DLLEXT) $(SUBDIRS)
|
||||||
|
|
||||||
@MAKE_RULES@
|
@MAKE_RULES@
|
||||||
|
|
||||||
|
@ -65,7 +65,7 @@ check test:: $(SUBDIRS:%=%/__test__)
|
||||||
|
|
||||||
crosstest:: $(SUBDIRS:%=%/__crosstest__)
|
crosstest:: $(SUBDIRS:%=%/__crosstest__)
|
||||||
|
|
||||||
$(TESTRESULTS): $(MODULE)$(DLLEXT)
|
$(TESTRESULTS) $(SUBDIRS): $(MODULE)$(DLLEXT)
|
||||||
|
|
||||||
# Sanity check
|
# Sanity check
|
||||||
|
|
||||||
|
|
|
@ -27,10 +27,12 @@ CROSSOBJS = $(C_SRCS:.c=.cross.o) $(TESTLIST:.c=.cross.o)
|
||||||
|
|
||||||
@MAKE_RULES@
|
@MAKE_RULES@
|
||||||
|
|
||||||
|
all: $(TESTPROGRAM)
|
||||||
|
|
||||||
# Rule for main module spec file
|
# Rule for main module spec file
|
||||||
|
|
||||||
$(MODULE).spec.c: $(RC_SRCS:.rc=.res) $(OBJS) $(WINEBUILD)
|
$(MODULE).spec.c: $(RC_SRCS:.rc=.res) $(OBJS) $(WINEBUILD)
|
||||||
$(LDPATH) $(WINEBUILD) $(DEFS) -o $@ -exe $(MODULE) -mcui $(RC_SRCS:%.rc=-r %.res) $(OBJS) -L$(DLLDIR) $(DELAYIMPORTS:%=-d%) $(IMPORTS:%=-l%)
|
$(LDPATH) $(WINEBUILD) $(DEFS) -o $@ -exe $(MODULE) -mcui $(RC_SRCS:%.rc=-r %.res) $(OBJS) -L$(DLLDIR) -L.. $(DELAYIMPORTS:%=-d%) $(IMPORTS:%=-l%)
|
||||||
|
|
||||||
# Rules for .so main module
|
# Rules for .so main module
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue