added dependency handling to Makefiles

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11149 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Gilles Depeyrot
2001-07-22 15:05:53 +00:00
parent cb71207424
commit 721a4a08bc
55 changed files with 189 additions and 67 deletions

View File

@@ -8,6 +8,8 @@ program_dir = samples/calendar
PROGRAM=calendar PROGRAM=calendar
OBJECTS =$(PROGRAM).o OBJECTS =$(PROGRAM).o
DEPFILES=$(PROGRAM).d
include ../../src/makeprog.env include ../../src/makeprog.env
-include $(DEPFILES)

View File

@@ -16,6 +16,8 @@ program_dir = samples/caret
PROGRAM=caret PROGRAM=caret
OBJECTS =$(PROGRAM).o OBJECTS =$(PROGRAM).o
DEPFILES=$(PROGRAM).d
include ../../src/makeprog.env include ../../src/makeprog.env
-include $(DEPFILES)

View File

@@ -16,6 +16,8 @@ program_dir = samples/checklst
PROGRAM=checklst PROGRAM=checklst
OBJECTS =$(PROGRAM).o OBJECTS =$(PROGRAM).o
DEPFILES=$(PROGRAM).d
include ../../src/makeprog.env include ../../src/makeprog.env
-include $(DEPFILES)

View File

@@ -16,6 +16,8 @@ program_dir = samples/config
PROGRAM=conftest PROGRAM=conftest
OBJECTS =$(PROGRAM).o OBJECTS =$(PROGRAM).o
DEPFILES=$(PROGRAM).d
include ../../src/makeprog.env include ../../src/makeprog.env
-include $(DEPFILES)

View File

@@ -16,7 +16,10 @@ program_dir = samples/console
PROGRAM=console PROGRAM=console
OBJECTS =$(PROGRAM).o OBJECTS =$(PROGRAM).o
DEPFILES=$(PROGRAM).d
DATAFILES=testdata.fc DATAFILES=testdata.fc
include ../../src/makeprog.env include ../../src/makeprog.env
-include $(DEPFILES)

View File

@@ -16,6 +16,8 @@ program_dir = samples/controls
PROGRAM=controls PROGRAM=controls
OBJECTS =$(PROGRAM).o OBJECTS =$(PROGRAM).o
DEPFILES=$(PROGRAM).d
include ../../src/makeprog.env include ../../src/makeprog.env
-include $(DEPFILES)

View File

@@ -16,6 +16,8 @@ program_dir = samples/db
PROGRAM=dbtest PROGRAM=dbtest
OBJECTS =$(PROGRAM).o listdb.o OBJECTS =$(PROGRAM).o listdb.o
DEPFILES=$(PROGRAM).d listdb.d
include ../../src/makeprog.env include ../../src/makeprog.env
-include $(DEPFILES)

View File

@@ -18,6 +18,8 @@ DATAFILES=tips.txt
PROGRAM=dialogs PROGRAM=dialogs
OBJECTS =$(PROGRAM).o OBJECTS =$(PROGRAM).o
DEPFILES=$(PROGRAM).d
include ../../src/makeprog.env include ../../src/makeprog.env
-include $(DEPFILES)

View File

@@ -16,6 +16,8 @@ program_dir = samples/dialup
PROGRAM=nettest PROGRAM=nettest
OBJECTS =$(PROGRAM).o OBJECTS =$(PROGRAM).o
DEPFILES=$(PROGRAM).d
include ../../src/makeprog.env include ../../src/makeprog.env
-include $(DEPFILES)

View File

@@ -18,6 +18,8 @@ DATAFILES=julian.png dnd.wxr
PROGRAM=dnd PROGRAM=dnd
OBJECTS =$(PROGRAM).o OBJECTS =$(PROGRAM).o
DEPFILES=$(PROGRAM).d
include ../../src/makeprog.env include ../../src/makeprog.env
-include $(DEPFILES)

View File

@@ -16,7 +16,9 @@ program_dir = samples/docview
PROGRAM=docview PROGRAM=docview
OBJECTS =$(PROGRAM).o doc.o view.o OBJECTS =$(PROGRAM).o doc.o view.o
DEPFILES=$(PROGRAM).d doc.d view.d
include ../../src/makeprog.env include ../../src/makeprog.env
-include $(DEPFILES)

View File

@@ -16,5 +16,8 @@ program_dir = samples/docvwmdi
PROGRAM=docview PROGRAM=docview
OBJECTS =$(PROGRAM).o doc.o view.o OBJECTS =$(PROGRAM).o doc.o view.o
DEPFILES=$(PROGRAM).d doc.d view.d
include ../../src/makeprog.env include ../../src/makeprog.env
-include $(DEPFILES)

View File

@@ -9,6 +9,8 @@ PROGRAM=dragimag
DATAFILES=backgrnd.png shape01.png shape02.png shape03.png DATAFILES=backgrnd.png shape01.png shape02.png shape03.png
OBJECTS =$(PROGRAM).o OBJECTS =$(PROGRAM).o
DEPFILES=$(PROGRAM).d
include ../../src/makeprog.env include ../../src/makeprog.env
-include $(DEPFILES)

View File

@@ -16,7 +16,10 @@ program_dir = samples/drawing
PROGRAM=drawing PROGRAM=drawing
OBJECTS =$(PROGRAM).o OBJECTS =$(PROGRAM).o
DEPFILES=$(PROGRAM).d
DATAFILES=pat4.bmp pat35.bmp pat36.bmp image.bmp mask.bmp DATAFILES=pat4.bmp pat35.bmp pat36.bmp image.bmp mask.bmp
include ../../src/makeprog.env include ../../src/makeprog.env
-include $(DEPFILES)

View File

@@ -16,6 +16,8 @@ program_dir = samples/dynamic
PROGRAM=dynamic PROGRAM=dynamic
OBJECTS =$(PROGRAM).o OBJECTS =$(PROGRAM).o
DEPFILES=$(PROGRAM).d
include ../../src/makeprog.env include ../../src/makeprog.env
-include $(DEPFILES)

View File

@@ -16,6 +16,8 @@ program_dir = samples/erase
PROGRAM=erase PROGRAM=erase
OBJECTS =$(PROGRAM).o OBJECTS =$(PROGRAM).o
DEPFILES=$(PROGRAM).d
include ../../src/makeprog.env include ../../src/makeprog.env
-include $(DEPFILES)

View File

@@ -8,6 +8,8 @@ program_dir = samples/event
PROGRAM=event PROGRAM=event
OBJECTS =$(PROGRAM).o OBJECTS =$(PROGRAM).o
DEPFILES=$(PROGRAM).d
include ../../src/makeprog.env include ../../src/makeprog.env
-include $(DEPFILES)

View File

@@ -8,6 +8,8 @@ program_dir = samples/exec
PROGRAM=exec PROGRAM=exec
OBJECTS =$(PROGRAM).o OBJECTS =$(PROGRAM).o
DEPFILES=$(PROGRAM).d
include ../../src/makeprog.env include ../../src/makeprog.env
-include $(DEPFILES)

View File

@@ -16,6 +16,8 @@ program_dir = samples/font
PROGRAM=font PROGRAM=font
OBJECTS =$(PROGRAM).o OBJECTS =$(PROGRAM).o
DEPFILES=$(PROGRAM).d
include ../../src/makeprog.env include ../../src/makeprog.env
-include $(DEPFILES)

View File

@@ -8,6 +8,9 @@ program_dir = samples/grid
PROGRAM=grid PROGRAM=grid
OBJECTS =$(PROGRAM).o OBJECTS =$(PROGRAM).o
DEPFILES=$(PROGRAM).d
include ../../src/makeprog.env include ../../src/makeprog.env
-include $(DEPFILES)

View File

@@ -16,6 +16,7 @@ program_dir = samples/help
PROGRAM=help PROGRAM=help
OBJECTS =demo.o OBJECTS =demo.o
DEPFILES=demo.d
DATADIRS=doc DATADIRS=doc
DATAFILES=doc.cnt doc.hlp doc.hpj doc.tex doc.zip back.gif forward.gif \ DATAFILES=doc.cnt doc.hlp doc.hpj doc.tex doc.zip back.gif forward.gif \
@@ -42,4 +43,4 @@ DATAFILES=doc.cnt doc.hlp doc.hpj doc.tex doc.zip back.gif forward.gif \
include ../../src/makeprog.env include ../../src/makeprog.env
-include $(DEPFILES)

View File

@@ -18,6 +18,8 @@ DATAFILES = horse.png horse.jpg horse.bmp horse.gif horse.pcx horse.pnm horse.ti
PROGRAM=image PROGRAM=image
OBJECTS =$(PROGRAM).o OBJECTS =$(PROGRAM).o
DEPFILES=$(PROGRAM).d
include ../../src/makeprog.env include ../../src/makeprog.env
-include $(DEPFILES)

View File

@@ -22,6 +22,8 @@ DATADIRS=fr de ru
PROGRAM=internat PROGRAM=internat
OBJECTS =$(PROGRAM).o OBJECTS =$(PROGRAM).o
DEPFILES=$(PROGRAM).d
include ../../src/makeprog.env include ../../src/makeprog.env
-include $(DEPFILES)

View File

@@ -10,6 +10,8 @@ DATAFILES=gun.wav
PROGRAM=joytest PROGRAM=joytest
OBJECTS =$(PROGRAM).o OBJECTS =$(PROGRAM).o
DEPFILES=$(PROGRAM).d
include ../../src/makeprog.env include ../../src/makeprog.env
-include $(DEPFILES)

View File

@@ -16,6 +16,8 @@ program_dir = samples/layout
PROGRAM=layout PROGRAM=layout
OBJECTS =$(PROGRAM).o OBJECTS =$(PROGRAM).o
DEPFILES=$(PROGRAM).d
include ../../src/makeprog.env include ../../src/makeprog.env
-include $(DEPFILES)

View File

@@ -16,6 +16,8 @@ program_dir = samples/listctrl
PROGRAM=listtest PROGRAM=listtest
OBJECTS =$(PROGRAM).o OBJECTS =$(PROGRAM).o
DEPFILES=$(PROGRAM).d
include ../../src/makeprog.env include ../../src/makeprog.env
-include $(DEPFILES)

View File

@@ -16,6 +16,8 @@ program_dir = samples/mdi
PROGRAM=mdi PROGRAM=mdi
OBJECTS =$(PROGRAM).o OBJECTS =$(PROGRAM).o
DEPFILES=$(PROGRAM).d
include ../../src/makeprog.env include ../../src/makeprog.env
-include $(DEPFILES)

View File

@@ -16,6 +16,8 @@ program_dir = samples/memcheck
PROGRAM=memcheck PROGRAM=memcheck
OBJECTS =$(PROGRAM).o OBJECTS =$(PROGRAM).o
DEPFILES=$(PROGRAM).d
include ../../src/makeprog.env include ../../src/makeprog.env
-include $(DEPFILES)

View File

@@ -16,6 +16,8 @@ program_dir = samples/menu
PROGRAM=menu PROGRAM=menu
OBJECTS =$(PROGRAM).o OBJECTS =$(PROGRAM).o
DEPFILES=$(PROGRAM).d
include ../../src/makeprog.env include ../../src/makeprog.env
-include $(DEPFILES)

View File

@@ -8,6 +8,8 @@ program_dir = samples/minifram
PROGRAM=minifram PROGRAM=minifram
OBJECTS =$(PROGRAM).o OBJECTS =$(PROGRAM).o
DEPFILES=$(PROGRAM).d
include ../../src/makeprog.env include ../../src/makeprog.env
-include $(DEPFILES)

View File

@@ -16,6 +16,8 @@ program_dir = samples/minimal
PROGRAM=minimal PROGRAM=minimal
OBJECTS =$(PROGRAM).o OBJECTS =$(PROGRAM).o
DEPFILES=$(PROGRAM).d
include ../../src/makeprog.env include ../../src/makeprog.env
-include $(DEPFILES)

View File

@@ -18,6 +18,8 @@ DATAFILES =
PROGRAM=griddemo PROGRAM=griddemo
OBJECTS =$(PROGRAM).o OBJECTS =$(PROGRAM).o
DEPFILES=$(PROGRAM).d
include ../../src/makeprog.env include ../../src/makeprog.env
-include $(DEPFILES)

View File

@@ -8,6 +8,8 @@ program_dir = samples/notebook
PROGRAM=notebook PROGRAM=notebook
OBJECTS =$(PROGRAM).o OBJECTS =$(PROGRAM).o
DEPFILES=$(PROGRAM).d
include ../../src/makeprog.env include ../../src/makeprog.env
-include $(DEPFILES)

View File

@@ -18,6 +18,8 @@ DATAFILES = julian.png paint16.png paint.png
PROGRAM=pngdemo PROGRAM=pngdemo
OBJECTS =$(PROGRAM).o OBJECTS =$(PROGRAM).o
DEPFILES=$(PROGRAM).d
include ../../src/makeprog.env include ../../src/makeprog.env
-include $(DEPFILES)

View File

@@ -16,6 +16,8 @@ program_dir = samples/printing
PROGRAM=printing PROGRAM=printing
OBJECTS =$(PROGRAM).o OBJECTS =$(PROGRAM).o
DEPFILES=$(PROGRAM).d
include ../../src/makeprog.env include ../../src/makeprog.env
-include $(DEPFILES)

View File

@@ -8,6 +8,8 @@ program_dir = samples/proplist
PROGRAM=proplist PROGRAM=proplist
OBJECTS =$(PROGRAM).o OBJECTS =$(PROGRAM).o
DEPFILES=$(PROGRAM).d
include ../../src/makeprog.env include ../../src/makeprog.env
-include $(DEPFILES)

View File

@@ -8,6 +8,8 @@ program_dir = samples/propsize
PROGRAM=propsize PROGRAM=propsize
OBJECTS =$(PROGRAM).o OBJECTS =$(PROGRAM).o
DEPFILES=$(PROGRAM).d
include ../../src/makeprog.env include ../../src/makeprog.env
-include $(DEPFILES)

View File

@@ -16,6 +16,8 @@ program_dir = samples/resource
PROGRAM=resource PROGRAM=resource
OBJECTS =$(PROGRAM).o OBJECTS =$(PROGRAM).o
DEPFILES=$(PROGRAM).d
include ../../src/makeprog.env include ../../src/makeprog.env
-include $(DEPFILES)

View File

@@ -16,6 +16,8 @@ program_dir = samples/richedit
PROGRAM=wxLayout PROGRAM=wxLayout
OBJECTS =$(PROGRAM).o kbList.o wxllist.o wxlparser.o wxlwindow.o OBJECTS =$(PROGRAM).o kbList.o wxllist.o wxlparser.o wxlwindow.o
DEPFILES=$(PROGRAM).d kbList.d wxllist.d wxlparser.d wxlwindow.d
include ../../src/makeprog.env include ../../src/makeprog.env
-include $(DEPFILES)

View File

@@ -16,8 +16,10 @@ program_dir = samples/rotate
PROGRAM=rotate PROGRAM=rotate
OBJECTS =$(PROGRAM).o OBJECTS =$(PROGRAM).o
DEPFILES=$(PROGRAM).d
DATAFILES=kclub.bmp DATAFILES=kclub.bmp
include ../../src/makeprog.env include ../../src/makeprog.env
-include $(DEPFILES)

View File

@@ -8,6 +8,8 @@ program_dir = samples/sashtest
PROGRAM=sashtest PROGRAM=sashtest
OBJECTS =$(PROGRAM).o OBJECTS =$(PROGRAM).o
DEPFILES=$(PROGRAM).d
include ../../src/makeprog.env include ../../src/makeprog.env
-include $(DEPFILES)

View File

@@ -16,6 +16,8 @@ program_dir = samples/scroll
PROGRAM=scroll PROGRAM=scroll
OBJECTS =$(PROGRAM).o OBJECTS =$(PROGRAM).o
DEPFILES=$(PROGRAM).d
include ../../src/makeprog.env include ../../src/makeprog.env
-include $(DEPFILES)

View File

@@ -16,6 +16,8 @@ program_dir = samples/scrollsub
PROGRAM=scrollsub PROGRAM=scrollsub
OBJECTS =$(PROGRAM).o OBJECTS =$(PROGRAM).o
DEPFILES=$(PROGRAM).d
include ../../src/makeprog.env include ../../src/makeprog.env
-include $(DEPFILES)

View File

@@ -8,6 +8,8 @@ program_dir = samples/splitter
PROGRAM=splitter PROGRAM=splitter
OBJECTS =$(PROGRAM).o OBJECTS =$(PROGRAM).o
DEPFILES=$(PROGRAM).d
include ../../src/makeprog.env include ../../src/makeprog.env
-include $(DEPFILES)

View File

@@ -8,6 +8,8 @@ program_dir = samples/statbar
PROGRAM=statbar PROGRAM=statbar
OBJECTS =$(PROGRAM).o OBJECTS =$(PROGRAM).o
DEPFILES=$(PROGRAM).d
include ../../src/makeprog.env include ../../src/makeprog.env
-include $(DEPFILES)

View File

@@ -8,6 +8,8 @@ program_dir = samples/tab
PROGRAM=tab PROGRAM=tab
OBJECTS =$(PROGRAM).o OBJECTS =$(PROGRAM).o
DEPFILES=$(PROGRAM).d
include ../../src/makeprog.env include ../../src/makeprog.env
-include $(DEPFILES)

View File

@@ -13,10 +13,11 @@ top_srcdir = @top_srcdir@/..
top_builddir = ../.. top_builddir = ../..
program_dir = samples/text program_dir = samples/text
PROGRAM=text PROGRAM=text
OBJECTS =$(PROGRAM).o OBJECTS =$(PROGRAM).o
DEPFILES=$(PROGRAM).d
include ../../src/makeprog.env include ../../src/makeprog.env
-include $(DEPFILES)

View File

@@ -8,6 +8,8 @@ program_dir = samples/thread
PROGRAM=thread PROGRAM=thread
OBJECTS =$(PROGRAM).o OBJECTS =$(PROGRAM).o
DEPFILES=$(PROGRAM).d
include ../../src/makeprog.env include ../../src/makeprog.env
-include $(DEPFILES)

View File

@@ -8,6 +8,8 @@ program_dir = samples/toolbar
PROGRAM=toolbar PROGRAM=toolbar
OBJECTS =$(PROGRAM).o OBJECTS =$(PROGRAM).o
DEPFILES=$(PROGRAM).d
include ../../src/makeprog.env include ../../src/makeprog.env
-include $(DEPFILES)

View File

@@ -8,6 +8,8 @@ program_dir = samples/treectrl
PROGRAM=treectrl PROGRAM=treectrl
OBJECTS =$(PROGRAM).o OBJECTS =$(PROGRAM).o
DEPFILES=$(PROGRAM).d
include ../../src/makeprog.env include ../../src/makeprog.env
-include $(DEPFILES)

View File

@@ -8,6 +8,8 @@ program_dir = samples/treelay
PROGRAM=treelay PROGRAM=treelay
OBJECTS =$(PROGRAM).o OBJECTS =$(PROGRAM).o
DEPFILES=$(PROGRAM).d
include ../../src/makeprog.env include ../../src/makeprog.env
-include $(DEPFILES)

View File

@@ -8,6 +8,8 @@ program_dir = samples/typetest
PROGRAM=typetest PROGRAM=typetest
OBJECTS =$(PROGRAM).o OBJECTS =$(PROGRAM).o
DEPFILES=$(PROGRAM).d
include ../../src/makeprog.env include ../../src/makeprog.env
-include $(DEPFILES)

View File

@@ -8,6 +8,8 @@ program_dir = samples/validate
PROGRAM=validate PROGRAM=validate
OBJECTS =$(PROGRAM).o OBJECTS =$(PROGRAM).o
DEPFILES=$(PROGRAM).d
include ../../src/makeprog.env include ../../src/makeprog.env
-include $(DEPFILES)

View File

@@ -26,6 +26,18 @@ OBJECTS=button.o \
static.o \ static.o \
textctrl.o \ textctrl.o \
widgets.o widgets.o
DEPFILES=button.d \
combobox.d \
gauge.d \
listbox.d \
notebook.d \
radiobox.d \
slider.d \
spinbtn.d \
static.d \
textctrl.d \
widgets.d
include ../../src/makeprog.env include ../../src/makeprog.env
-include $(DEPFILES)

View File

@@ -8,6 +8,8 @@ program_dir = samples/wizard
PROGRAM=wizard PROGRAM=wizard
OBJECTS =$(PROGRAM).o OBJECTS =$(PROGRAM).o
DEPFILES=$(PROGRAM).d
include ../../src/makeprog.env include ../../src/makeprog.env
-include $(DEPFILES)