3 # Copyright 2009-2011 Joachim Wiedorn
6 # Licensed under the terms contained in the file 'COPYING'
7 # in the source directory.
16 @echo " make all # binaries (without dosexe, diag.)"
17 @echo " make dosexe # DOS lilo.com utility"
18 @echo " make diagnostic # standalone diagnostics"
19 @echo " make alles # all above + static binary"
20 @echo " make docs # doc/[user,tech].[pdf,dvi] docs"
21 @echo " make floppy # 2 standalone bootable diagnostic floppies"
23 @echo " make install # install binaries++ into root directory"
24 @echo " make install DESTDIR=<dir> # install binaries++ into directory"
26 @echo " make uninstall # remove binaries++ from root directory"
27 @echo " make uninstall DESTDIR=<dir> # rmove binaries++ from directory"
30 @echo " make test # test for all needed utilities (as86, ld86, etc.)"
31 @echo " make tidy # remove listings & other unnecessary files"
32 @echo " make clean # remove objects & ready for a fresh 'make all'"
33 @echo " make distclean # remove editor temps, & all of the above"
37 # everything needed to run, just short of installation
44 # everything above plus the statically linked version
57 # if you have the 'bcc' compiler, then you can make the diagnostics, too
58 # bcc = Bruce Evans’ C 16bit compiler (also for BIOS- and DOS code)
60 it: docs alles diagnostic dosexe
63 # make the bootable diagnostic floppies
67 @echo Make sure you have 2 blank, formatted, 1.44Mb floppies
68 @echo before you proceed from this point.
69 @echo "Press <Enter> to continue, <^C> to abort ..."
71 @$(MAKE) -C src floppy1
74 @echo Remove the floppy from the drive. Label it "\"1.6\""
75 @echo "Press <Enter> to continue, <^C> to abort ..."
77 @$(MAKE) -C src floppy2
80 @echo Remove the floppy from the drive. Label it "\"2.4\""
84 $(MAKE) -C src diagnostic
90 # test for compilers & utilities
98 # shorthand install, if one knows that one has the 'bcc' compiler
104 # normal install, but doesn't make the diagnostic binaries
107 $(MAKE) -C src install
108 $(MAKE) -C images install
109 $(MAKE) -C hooks install
110 $(MAKE) -C sample install
111 $(MAKE) -C scripts install
112 $(MAKE) -C man install
113 $(MAKE) -C dos install
117 $(MAKE) -C diagnose tidy
124 $(MAKE) -C images clean
125 $(MAKE) -C diagnose clean
131 $(MAKE) -C src distclean
132 $(MAKE) -C diagnose distclean
133 $(MAKE) -C dos distclean
136 $(MAKE) -C src uninstall
137 $(MAKE) -C images uninstall
138 $(MAKE) -C hooks uninstall
139 $(MAKE) -C sample uninstall
140 $(MAKE) -C scripts uninstall
141 $(MAKE) -C man uninstall