From 1197380cfa0b346f2dda8ba0d2c1e84dca37528d Mon Sep 17 00:00:00 2001 From: Gilles Depeyrot Date: Sun, 22 Jul 2001 14:19:42 +0000 Subject: [PATCH] added dependency handling to Makefiles git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- samples/html/about/Makefile.in | 4 +++- samples/html/help/Makefile.in | 4 +++- samples/html/helpview/Makefile.in | 4 +++- samples/html/printing/Makefile.in | 4 +++- samples/html/test/Makefile.in | 4 +++- samples/html/virtual/Makefile.in | 4 +++- samples/html/widget/Makefile.in | 4 +++- samples/html/zip/Makefile.in | 4 +++- samples/opengl/cube/Makefile.in | 4 +++- samples/opengl/isosurf/Makefile.in | 4 +++- samples/opengl/penguin/Makefile.in | 4 +++- utils/HelpGen/src/Makefile.in | 4 ++++ utils/dialoged/src/Makefile.in | 2 ++ utils/hhp2cached/Makefile.in | 2 ++ utils/makegen/Makefile.in | 2 ++ utils/makegen/templates/Makefile.in | 2 ++ utils/tex2rtf/src/Makefile.in | 2 ++ 17 files changed, 47 insertions(+), 11 deletions(-) diff --git a/samples/html/about/Makefile.in b/samples/html/about/Makefile.in index 4911c00df7..02461c9726 100644 --- a/samples/html/about/Makefile.in +++ b/samples/html/about/Makefile.in @@ -18,7 +18,9 @@ DATAFILES = data/about.htm data/logo.png PROGRAM=about -OBJECTS=$(PROGRAM).o +OBJECTS =$(PROGRAM).o +DEPFILES=$(PROGRAM).d include ../../../src/makeprog.env +-include $(DEPFILES) diff --git a/samples/html/help/Makefile.in b/samples/html/help/Makefile.in index 6189ec355e..1f43668538 100644 --- a/samples/html/help/Makefile.in +++ b/samples/html/help/Makefile.in @@ -22,7 +22,9 @@ DATAFILES = helpfiles/Index.hhk helpfiles/book1.htm helpfiles/book2.htm \ PROGRAM=help -OBJECTS=$(PROGRAM).o +OBJECTS =$(PROGRAM).o +DEPFILES=$(PROGRAM).d include ../../../src/makeprog.env +-include $(DEPFILES) diff --git a/samples/html/helpview/Makefile.in b/samples/html/helpview/Makefile.in index f07afcab8c..f744e9f562 100644 --- a/samples/html/helpview/Makefile.in +++ b/samples/html/helpview/Makefile.in @@ -19,7 +19,9 @@ DATAFILES = test.zip PROGRAM=helpview -OBJECTS=$(PROGRAM).o +OBJECTS =$(PROGRAM).o +DEPFILES=$(PROGRAM).d include ../../../src/makeprog.env +-include $(DEPFILES) diff --git a/samples/html/printing/Makefile.in b/samples/html/printing/Makefile.in index a976563353..01761a8fe4 100644 --- a/samples/html/printing/Makefile.in +++ b/samples/html/printing/Makefile.in @@ -17,7 +17,9 @@ DATAFILES = test.htm PROGRAM=printing -OBJECTS=$(PROGRAM).o +OBJECTS =$(PROGRAM).o +DEPFILES=$(PROGRAM).d include ../../../src/makeprog.env +-include $(DEPFILES) diff --git a/samples/html/test/Makefile.in b/samples/html/test/Makefile.in index 0ce0382be1..f22949fe09 100644 --- a/samples/html/test/Makefile.in +++ b/samples/html/test/Makefile.in @@ -15,10 +15,12 @@ program_dir = samples/html/test PROGRAM=test -OBJECTS=$(PROGRAM).o +OBJECTS =$(PROGRAM).o +DEPFILES=$(PROGRAM).d DATAFILES=f.html fft.html imagemap.htm imagemap.png pic.png pic2.bmp \ tables.htm test.htm i18n.gif 8859_2.htm cp1250.htm include ../../../src/makeprog.env +-include $(DEPFILES) diff --git a/samples/html/virtual/Makefile.in b/samples/html/virtual/Makefile.in index ecba39d17f..34544f563e 100644 --- a/samples/html/virtual/Makefile.in +++ b/samples/html/virtual/Makefile.in @@ -15,9 +15,11 @@ program_dir = samples/html/virtual PROGRAM=virtual -OBJECTS=$(PROGRAM).o +OBJECTS =$(PROGRAM).o +DEPFILES=$(PROGRAM).d DATAFILES=start.htm include ../../../src/makeprog.env +-include $(DEPFILES) diff --git a/samples/html/widget/Makefile.in b/samples/html/widget/Makefile.in index b6872a473c..8c9d675ed2 100644 --- a/samples/html/widget/Makefile.in +++ b/samples/html/widget/Makefile.in @@ -15,9 +15,11 @@ program_dir = samples/html/widget PROGRAM=widget -OBJECTS=$(PROGRAM).o +OBJECTS =$(PROGRAM).o +DEPFILES=$(PROGRAM).d DATAFILES=start.htm include ../../../src/makeprog.env +-include $(DEPFILES) diff --git a/samples/html/zip/Makefile.in b/samples/html/zip/Makefile.in index 25041a8926..c88cd40105 100644 --- a/samples/html/zip/Makefile.in +++ b/samples/html/zip/Makefile.in @@ -15,9 +15,11 @@ program_dir = samples/html/zip PROGRAM=zip -OBJECTS=$(PROGRAM).o +OBJECTS =$(PROGRAM).o +DEPFILES=$(PROGRAM).d DATAFILES=pages.zip start.htm include ../../../src/makeprog.env +-include $(DEPFILES) diff --git a/samples/opengl/cube/Makefile.in b/samples/opengl/cube/Makefile.in index 99fbe8b50a..952ae87275 100644 --- a/samples/opengl/cube/Makefile.in +++ b/samples/opengl/cube/Makefile.in @@ -17,7 +17,9 @@ PROGRAM=cube LIBRARIES=$(top_builddir)/lib/@WX_TARGET_LIBRARY_GL@ $(OPENGLLIBS) -OBJECTS=$(PROGRAM).o +OBJECTS =$(PROGRAM).o +DEPFILES=$(PROGRAM).d include ../../../src/makeprog.env +-include $(DEPFILES) \ No newline at end of file diff --git a/samples/opengl/isosurf/Makefile.in b/samples/opengl/isosurf/Makefile.in index 90891fbdb7..f4aa205b1f 100644 --- a/samples/opengl/isosurf/Makefile.in +++ b/samples/opengl/isosurf/Makefile.in @@ -19,7 +19,9 @@ PROGRAM=isosurf LIBRARIES=$(top_builddir)/lib/@WX_TARGET_LIBRARY_GL@ $(OPENGLLIBS) -OBJECTS=$(PROGRAM).o +OBJECTS =$(PROGRAM).o +DEPFILES=$(PROGRAM).d include ../../../src/makeprog.env +-include $(DEPFILES) diff --git a/samples/opengl/penguin/Makefile.in b/samples/opengl/penguin/Makefile.in index 5b838e308d..4c911c4041 100644 --- a/samples/opengl/penguin/Makefile.in +++ b/samples/opengl/penguin/Makefile.in @@ -19,7 +19,9 @@ PROGRAM=penguin LIBRARIES=$(top_builddir)/lib/@WX_TARGET_LIBRARY_GL@ $(OPENGLLIBS) -OBJECTS=$(PROGRAM).o lw.o trackball.o +OBJECTS =$(PROGRAM).o lw.o trackball.o +DEPFILES=$(PROGRAM).d lw.d trackball.d include ../../../src/makeprog.env +-include $(DEPFILES) diff --git a/utils/HelpGen/src/Makefile.in b/utils/HelpGen/src/Makefile.in index f416f20904..ae2b0f3a8c 100644 --- a/utils/HelpGen/src/Makefile.in +++ b/utils/HelpGen/src/Makefile.in @@ -13,6 +13,10 @@ PROGRAM=HelpGen OBJECTS = HelpGen.o cjparser.o docripper.o ifcontext.o markup.o \ scriptbinder.o sourcepainter.o srcparser.o \ wx_extra_imps.o +DEPFILES= HelpGen.d cjparser.d docripper.d ifcontext.d markup.d \ + scriptbinder.d sourcepainter.d srcparser.d \ + wx_extra_imps.d include ../../../src/makeprog.env +-include $(DEPFILES) diff --git a/utils/dialoged/src/Makefile.in b/utils/dialoged/src/Makefile.in index e67ec92be1..b6894097ff 100644 --- a/utils/dialoged/src/Makefile.in +++ b/utils/dialoged/src/Makefile.in @@ -16,6 +16,8 @@ program_dir = utils/dialoged/src PROGRAM=DialogEd OBJECTS = dialoged.o dlghndlr.o edlist.o edtree.o reseditr.o reswrite.o symbtabl.o winprop.o winstyle.o +DEPFILES= dialoged.d dlghndlr.d edlist.d edtree.d reseditr.d reswrite.d symbtabl.d winprop.d winstyle.d include ../../../src/makeprog.env +-include $(DEPFILES) diff --git a/utils/hhp2cached/Makefile.in b/utils/hhp2cached/Makefile.in index f35b44e651..38cef34494 100644 --- a/utils/hhp2cached/Makefile.in +++ b/utils/hhp2cached/Makefile.in @@ -9,7 +9,9 @@ PROGRAM=hhp2cached OBJECTS=$(PROGRAM).o +DEPFILES=$(PROGRAM).d include ../../src/makeprog.env +-include $(DEPFILES) diff --git a/utils/makegen/Makefile.in b/utils/makegen/Makefile.in index 7b279b8a66..ba91161cba 100644 --- a/utils/makegen/Makefile.in +++ b/utils/makegen/Makefile.in @@ -16,7 +16,9 @@ DATAFILES = templates/Makefile.in templates/makefile.b32 \ templates/makefile.wat OBJECTS=$(PROGRAM).o +DEPFILES=$(PROGRAM).d include ../../src/makeprog.env +-include $(DEPFILES) diff --git a/utils/makegen/templates/Makefile.in b/utils/makegen/templates/Makefile.in index 8983b1bdc5..248fd4f13b 100644 --- a/utils/makegen/templates/Makefile.in +++ b/utils/makegen/templates/Makefile.in @@ -8,6 +8,8 @@ program_dir = samples/#NAME PROGRAM=#NAME OBJECTS=$(PROGRAM).o +DEPFILES=$(PROGRAM).d include ../../src/makeprog.env +-include $DEPFILES) diff --git a/utils/tex2rtf/src/Makefile.in b/utils/tex2rtf/src/Makefile.in index 075c80ce30..d9d0de5405 100644 --- a/utils/tex2rtf/src/Makefile.in +++ b/utils/tex2rtf/src/Makefile.in @@ -19,6 +19,8 @@ program_dir = utils/tex2rtf/src PROGRAM=tex2rtf OBJECTS = tex2rtf.o tex2any.o texutils.o rtfutils.o xlputils.o htmlutil.o readshg.o table.o +DEPFILES=tex2rtf.d tex2any.d texutils.d rtfutils.d xlputils.d htmlutil.d readshg.d table.d include ../../../src/makeprog.env +-include $(DEPFILES) -- 2.45.2