aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile5
-rw-r--r--dosutil/Makefile6
2 files changed, 9 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index c964e8d1..d0f5e71d 100644
--- a/Makefile
+++ b/Makefile
@@ -43,6 +43,7 @@ BOBJECTS = $(BTARGET) \
mbr/mbr_f.bin mbr/altmbr_f.bin mbr/gptmbr_f.bin \
core/pxelinux.0 core/isolinux.bin core/isolinux-debug.bin \
gpxe/gpxelinux.0 dos/syslinux.com win32/syslinux.exe \
+ dosutil/*.com dosutil/*.sys \
$(MODULES)
# BSUBDIRs build the on-target binary components.
@@ -52,7 +53,7 @@ BOBJECTS = $(BTARGET) \
# files that depend only on the B phase, but may have to be regenerated
# for "make installer".
BSUBDIRS = codepage core memdisk modules com32 mbr memdump gpxe sample \
- libinstaller dos win32
+ libinstaller dos win32 dosutil
ITARGET =
IOBJECTS = $(ITARGET) dos/copybs.com \
utils/gethostip utils/isohybrid utils/mkdiskimage \
@@ -71,7 +72,7 @@ INSTALL_AUX = core/pxelinux.0 gpxe/gpxelinux.0 core/isolinux.bin \
INSTALL_AUX_OPT = win32/syslinux.exe
# These directories manage their own installables
-INSTALLSUBDIRS = com32 utils
+INSTALLSUBDIRS = com32 utils dosutil
# Things to install in /boot/extlinux
EXTBOOTINSTALL = $(MODULES)
diff --git a/dosutil/Makefile b/dosutil/Makefile
index f3f90b3e..ecb695a2 100644
--- a/dosutil/Makefile
+++ b/dosutil/Makefile
@@ -1,6 +1,9 @@
#
# OpenWatcom compile and link utility
#
+topdir = ..
+include $(topdir)/MCONFIG
+
WCL = wcl
WCLOPT = -6 -osx -mt -bt=DOS -l=COM
@@ -42,4 +45,7 @@ clean: tidy
spotless: clean
-rm -f *.com *.sys *~
+installer: all
+install: installer
+ install -m 644 $(TARGETS) $(INSTALLROOT)$(AUXDIR)