2002-04-26 05:16:26 -07:00
|
|
|
# Top Makefile for mlTk
|
1999-11-30 06:59:39 -08:00
|
|
|
|
2002-05-03 05:56:42 -07:00
|
|
|
SUBDIRS=compiler support lib jpf frx tkanim examples_labltk \
|
|
|
|
camltk labltk examples_camltk browser
|
|
|
|
|
1999-11-30 06:59:39 -08:00
|
|
|
all:
|
|
|
|
cd support; $(MAKE)
|
|
|
|
cd compiler; $(MAKE)
|
2002-04-26 05:16:26 -07:00
|
|
|
cd labltk; $(MAKE) -f Makefile.gen
|
|
|
|
cd labltk; $(MAKE)
|
|
|
|
cd camltk; $(MAKE) -f Makefile.gen
|
|
|
|
cd camltk; $(MAKE)
|
|
|
|
cd lib; $(MAKE)
|
1999-11-30 06:59:39 -08:00
|
|
|
cd jpf; $(MAKE)
|
2002-04-26 05:16:26 -07:00
|
|
|
cd frx; $(MAKE)
|
|
|
|
cd tkanim; $(MAKE)
|
1999-11-30 06:59:39 -08:00
|
|
|
cd browser; $(MAKE)
|
|
|
|
|
|
|
|
allopt:
|
|
|
|
cd support; $(MAKE) opt
|
2002-04-26 05:16:26 -07:00
|
|
|
cd labltk; $(MAKE) -f Makefile.gen
|
|
|
|
cd labltk; $(MAKE) opt
|
|
|
|
cd camltk; $(MAKE) -f Makefile.gen
|
|
|
|
cd camltk; $(MAKE) opt
|
|
|
|
cd lib; $(MAKE) opt
|
1999-11-30 06:59:39 -08:00
|
|
|
cd jpf; $(MAKE) opt
|
2002-04-26 05:16:26 -07:00
|
|
|
cd frx; $(MAKE) opt
|
|
|
|
cd tkanim; $(MAKE) opt
|
1999-11-30 06:59:39 -08:00
|
|
|
|
2002-04-26 05:16:26 -07:00
|
|
|
byte: all
|
|
|
|
opt: allopt
|
|
|
|
|
|
|
|
.PHONY: labltk camltk examples_labltk examples_camltk
|
|
|
|
|
|
|
|
labltk: Widgets.src
|
|
|
|
compiler/tkcompiler -outdir labltk
|
|
|
|
cd labltk; $(MAKE)
|
|
|
|
|
|
|
|
camltk: Widgets.src
|
|
|
|
compiler/tkcompiler -camltk -outdir camltk
|
|
|
|
cd camltk; $(MAKE)
|
|
|
|
|
|
|
|
examples: examples_labltk examples_camltk
|
1999-11-30 06:59:39 -08:00
|
|
|
|
2002-04-26 05:16:26 -07:00
|
|
|
examples_labltk:
|
|
|
|
cd examples_labltk; $(MAKE) all
|
1999-11-30 06:59:39 -08:00
|
|
|
|
2002-04-26 05:16:26 -07:00
|
|
|
examples_camltk:
|
|
|
|
cd examples_camltk; $(MAKE) all
|
1999-11-30 06:59:39 -08:00
|
|
|
|
|
|
|
install:
|
2002-04-26 05:16:26 -07:00
|
|
|
cd labltk; $(MAKE) install
|
|
|
|
cd camltk; $(MAKE) install
|
1999-11-30 06:59:39 -08:00
|
|
|
cd lib; $(MAKE) install
|
|
|
|
cd support; $(MAKE) install
|
|
|
|
cd compiler; $(MAKE) install
|
|
|
|
cd jpf; $(MAKE) install
|
2002-04-26 05:16:26 -07:00
|
|
|
cd frx; $(MAKE) install
|
|
|
|
cd tkanim; $(MAKE) install
|
1999-11-30 06:59:39 -08:00
|
|
|
cd browser; $(MAKE) install
|
|
|
|
|
|
|
|
installopt:
|
2002-04-26 05:16:26 -07:00
|
|
|
cd labltk; $(MAKE) installopt
|
|
|
|
cd camltk; $(MAKE) installopt
|
1999-11-30 06:59:39 -08:00
|
|
|
cd lib; $(MAKE) installopt
|
|
|
|
cd jpf; $(MAKE) installopt
|
2002-04-26 05:16:26 -07:00
|
|
|
cd frx; $(MAKE) installopt
|
|
|
|
cd tkanim; $(MAKE) installopt
|
1999-11-30 06:59:39 -08:00
|
|
|
|
|
|
|
partialclean clean:
|
2002-05-03 05:56:42 -07:00
|
|
|
for d in $(SUBDIRS); do \
|
|
|
|
cd $$d; $(MAKE) -f Makefile clean; cd ..; \
|
1999-11-30 06:59:39 -08:00
|
|
|
done
|
2002-05-16 08:23:05 -07:00
|
|
|
|
|
|
|
depend:
|