Generalise makefile references to subdirectories of lib.
This commit is contained in:
parent
32bd06e544
commit
ec54dd65e2
winsup/w32api
|
@ -1,2 +1,2 @@
|
||||||
.hg .hgignore .hgtags
|
.hg .hgignore .hgtags
|
||||||
autom4te.cache
|
.cvsignore configure autom4te.cache
|
||||||
|
|
|
@ -1,3 +1,11 @@
|
||||||
|
2012-01-16 Keith Marshall <keithmarshall@users.sf.net>
|
||||||
|
|
||||||
|
Generalise makefile references to subdirectories of lib.
|
||||||
|
|
||||||
|
* lib/Makefile.in (ddk, directx): Replace explicit references using...
|
||||||
|
(SUBDIRS): ...this macro; it already implements the same references in
|
||||||
|
a more generalised and extensible fashion.
|
||||||
|
|
||||||
2012-01-16 Corinna Vinschen <corinna@vinschen.de>
|
2012-01-16 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
* configure: Regenerate and re-add to repository.
|
* configure: Regenerate and re-add to repository.
|
||||||
|
|
|
@ -70,18 +70,15 @@ DISTFILES = Makefile.in $(DEF_FILES) $(MRI_FILES) $(SOURCES)
|
||||||
# which is the primary default target identified in the included
|
# which is the primary default target identified in the included
|
||||||
# common makefile fragment, ${top_builddir}/Makefile.comm
|
# common makefile fragment, ${top_builddir}/Makefile.comm
|
||||||
#
|
#
|
||||||
all-default: $(EXTRA_OBJS) $(LIBS) ddk directx
|
all-default: $(EXTRA_OBJS) $(LIBS) $(SUBDIRS)
|
||||||
|
|
||||||
%-subdirs:
|
%-subdirs:
|
||||||
for dir in $(SUBDIRS); do \
|
for dir in $(SUBDIRS); do \
|
||||||
$(MAKE) -C $$dir $*; \
|
$(MAKE) -C $$dir $*; \
|
||||||
done
|
done
|
||||||
|
|
||||||
ddk:
|
$(SUBDIRS):
|
||||||
$(MAKE) -C $@
|
cd $@ && $(MAKE)
|
||||||
|
|
||||||
directx:
|
|
||||||
$(MAKE) -C $@
|
|
||||||
|
|
||||||
TEST_OPTIONS = \
|
TEST_OPTIONS = \
|
||||||
$(ALL_CFLAGS) -DWINVER=0x0666 -Wall -pedantic -Wsystem-headers \
|
$(ALL_CFLAGS) -DWINVER=0x0666 -Wall -pedantic -Wsystem-headers \
|
||||||
|
|
Loading…
Reference in New Issue