2005-04-21 16:53:53 +02:00
|
|
|
# Makefile for cmd/scripts.
|
|
|
|
|
|
|
|
CFLAGS = -D_MINIX -D_POSIX_SOURCE
|
|
|
|
CCLD = $(CC) -i $(CFLAGS)
|
|
|
|
MAKE = exec make -$(MAKEFLAGS) install
|
|
|
|
|
|
|
|
all: # Does nothing
|
|
|
|
|
|
|
|
install: usr root
|
|
|
|
|
|
|
|
# Commands on the /usr partition.
|
|
|
|
usr: \
|
|
|
|
/usr/bin/DESCRIBE \
|
|
|
|
/usr/bin/M \
|
|
|
|
/usr/bin/U \
|
|
|
|
/usr/bin/MAKEDEV \
|
2005-08-30 12:20:39 +02:00
|
|
|
/usr/bin/bigmake \
|
2005-04-21 16:53:53 +02:00
|
|
|
/usr/bin/adduser \
|
2006-01-23 13:22:06 +01:00
|
|
|
/usr/bin/binpackage \
|
2006-02-02 18:12:16 +01:00
|
|
|
/usr/bin/binpackages \
|
2005-04-21 16:53:53 +02:00
|
|
|
/usr/bin/cd \
|
|
|
|
/usr/bin/[ \
|
|
|
|
/usr/bin/command \
|
2005-09-15 16:55:11 +02:00
|
|
|
/usr/bin/easypack \
|
2005-04-21 16:53:53 +02:00
|
|
|
/usr/bin/echo \
|
|
|
|
/usr/bin/expr \
|
|
|
|
/usr/bin/false \
|
|
|
|
/usr/bin/getopts \
|
2005-09-12 14:26:18 +02:00
|
|
|
/usr/bin/getpack \
|
2005-04-21 16:53:53 +02:00
|
|
|
/usr/bin/read \
|
|
|
|
/usr/bin/test \
|
|
|
|
/usr/bin/true \
|
|
|
|
/usr/bin/umask \
|
|
|
|
/usr/bin/wait \
|
|
|
|
/usr/bin/checkhier \
|
|
|
|
/usr/bin/clear \
|
|
|
|
/usr/bin/clr \
|
|
|
|
/usr/bin/makewhatis \
|
2005-06-24 18:19:21 +02:00
|
|
|
/usr/bin/mkdep \
|
2005-04-21 16:53:53 +02:00
|
|
|
/usr/bin/mkdist \
|
2007-01-12 17:35:04 +01:00
|
|
|
/bin/readclock \
|
2006-03-17 21:22:39 +01:00
|
|
|
/bin/setup \
|
2009-09-03 11:38:27 +02:00
|
|
|
/bin/netconf \
|
2005-09-08 11:29:17 +02:00
|
|
|
/usr/bin/binsizes \
|
2009-09-21 16:24:29 +02:00
|
|
|
/usr/bin/datasizes \
|
2005-08-12 15:28:37 +02:00
|
|
|
/usr/bin/rotate \
|
2005-07-26 15:14:12 +02:00
|
|
|
/usr/bin/floppysetup \
|
2006-02-16 16:43:37 +01:00
|
|
|
/usr/bin/packit \
|
2006-03-19 22:36:20 +01:00
|
|
|
/usr/bin/packman \
|
2009-06-12 15:02:51 +02:00
|
|
|
/usr/bin/poweroff \
|
2005-04-21 16:53:53 +02:00
|
|
|
/usr/bin/spell \
|
|
|
|
/usr/bin/srccrc \
|
|
|
|
/usr/bin/svclog \
|
2007-03-21 10:33:39 +01:00
|
|
|
/usr/bin/unstack \
|
2005-09-12 13:43:30 +02:00
|
|
|
/usr/bin/version \
|
2005-04-21 16:53:53 +02:00
|
|
|
/usr/bin/whatis \
|
|
|
|
/usr/bin/apropos \
|
|
|
|
/usr/bin/whereis \
|
|
|
|
|
|
|
|
# Commands on the root partition.
|
|
|
|
root: \
|
|
|
|
/bin/M \
|
|
|
|
/bin/U \
|
|
|
|
/bin/cd \
|
|
|
|
/bin/[ \
|
|
|
|
/bin/command \
|
|
|
|
/bin/echo \
|
|
|
|
/bin/expr \
|
|
|
|
/bin/false \
|
|
|
|
/bin/getopts \
|
|
|
|
/bin/read \
|
|
|
|
/bin/test \
|
|
|
|
/bin/true \
|
|
|
|
/bin/umask \
|
|
|
|
/bin/wait \
|
|
|
|
|
|
|
|
clean:
|
|
|
|
|
|
|
|
/usr/bin/DESCRIBE: DESCRIBE.sh
|
2005-05-04 11:37:12 +02:00
|
|
|
install -m 755 -c -o bin $? $@
|
2005-04-21 16:53:53 +02:00
|
|
|
|
|
|
|
/usr/bin/M: M.sh
|
2005-05-04 11:37:12 +02:00
|
|
|
install -m 755 -c -o bin $? $@
|
2005-04-21 16:53:53 +02:00
|
|
|
|
|
|
|
/usr/bin/U: /usr/bin/M
|
2005-05-04 11:37:12 +02:00
|
|
|
install -m 755 -l $? $@
|
2005-04-21 16:53:53 +02:00
|
|
|
|
|
|
|
/usr/bin/MAKEDEV: MAKEDEV.sh
|
2005-05-04 11:37:12 +02:00
|
|
|
install -m 755 -c -o bin $? $@
|
2005-04-21 16:53:53 +02:00
|
|
|
|
2005-08-30 12:20:39 +02:00
|
|
|
/usr/bin/bigmake: bigmake.sh
|
|
|
|
install -m 755 -c -o bin $? $@
|
|
|
|
|
2006-01-23 13:22:06 +01:00
|
|
|
/usr/bin/binpackage: binpackage.sh
|
|
|
|
install -m 755 -c -o bin $? $@
|
|
|
|
|
2006-02-02 18:12:16 +01:00
|
|
|
/usr/bin/binpackages: binpackages.sh
|
|
|
|
install -m 755 -c -o bin $? $@
|
|
|
|
|
2005-04-21 16:53:53 +02:00
|
|
|
/usr/bin/adduser: adduser.sh
|
2005-05-04 11:37:12 +02:00
|
|
|
install -m 755 -c -o bin $? $@
|
2005-04-21 16:53:53 +02:00
|
|
|
|
|
|
|
/usr/bin/cd: cd.sh
|
2005-05-04 11:37:12 +02:00
|
|
|
install -m 755 -c -o bin $? $@
|
2005-04-21 16:53:53 +02:00
|
|
|
|
|
|
|
/usr/bin/[ /usr/bin/command /usr/bin/echo /usr/bin/expr /usr/bin/false \
|
|
|
|
/usr/bin/getopts /usr/bin/read /usr/bin/test /usr/bin/true /usr/bin/umask \
|
|
|
|
/usr/bin/wait: /usr/bin/cd
|
2005-05-04 11:37:12 +02:00
|
|
|
install -m 755 -l $? $@
|
2005-04-21 16:53:53 +02:00
|
|
|
|
2005-09-15 16:55:11 +02:00
|
|
|
/usr/bin/easypack: easypack.sh
|
|
|
|
install -m 755 -c -o bin $? $@
|
|
|
|
|
2005-09-12 14:26:18 +02:00
|
|
|
/usr/bin/getpack: getpack.sh
|
|
|
|
install -m 755 -c -o bin $? $@
|
|
|
|
|
2005-04-21 16:53:53 +02:00
|
|
|
/usr/bin/checkhier: checkhier.sh
|
2005-05-04 11:37:12 +02:00
|
|
|
install -m 755 -c -o bin $? $@
|
2005-04-21 16:53:53 +02:00
|
|
|
|
|
|
|
/usr/bin/clear: clear.sh
|
2005-05-04 11:37:12 +02:00
|
|
|
install -m 755 -c -o bin $? $@
|
2005-04-21 16:53:53 +02:00
|
|
|
|
|
|
|
/usr/bin/clr: /usr/bin/clear
|
2005-05-04 11:37:12 +02:00
|
|
|
install -m 755 -l $? $@
|
2005-04-21 16:53:53 +02:00
|
|
|
|
|
|
|
/usr/bin/makewhatis: makewhatis.sh
|
2005-05-04 11:37:12 +02:00
|
|
|
install -m 755 -c -o bin $? $@
|
2005-04-21 16:53:53 +02:00
|
|
|
|
2005-06-24 18:19:21 +02:00
|
|
|
/usr/bin/mkdep: mkdep.sh
|
|
|
|
install -m 755 -c -o bin $? $@
|
|
|
|
|
2005-04-21 16:53:53 +02:00
|
|
|
/usr/bin/mkdist: mkdist.sh
|
2005-05-04 11:37:12 +02:00
|
|
|
install -m 755 -c -o bin $? $@
|
2005-04-21 16:53:53 +02:00
|
|
|
|
2005-07-26 15:14:12 +02:00
|
|
|
/usr/bin/floppysetup: floppysetup.sh
|
2005-07-13 15:04:56 +02:00
|
|
|
install -m 755 -c -o bin $? $@
|
|
|
|
|
2005-08-12 15:28:37 +02:00
|
|
|
/usr/bin/rotate: rotate.sh
|
|
|
|
install -m 755 -c -o bin $? $@
|
|
|
|
|
2007-01-12 17:35:04 +01:00
|
|
|
/bin/readclock: readclock.sh
|
|
|
|
install -m 755 -c -o bin $? $@
|
|
|
|
|
2006-03-17 21:22:39 +01:00
|
|
|
/bin/setup: setup.sh
|
2005-05-04 11:37:12 +02:00
|
|
|
install -m 755 -c -o bin $? $@
|
2005-04-21 16:53:53 +02:00
|
|
|
|
2009-09-03 11:38:27 +02:00
|
|
|
/bin/netconf: netconf.sh
|
|
|
|
install -m 755 -c -o bin $? $@
|
|
|
|
|
2005-09-08 11:29:17 +02:00
|
|
|
/usr/bin/binsizes: binsizes.sh
|
2005-08-26 14:53:17 +02:00
|
|
|
install -m 755 -c -o bin $? $@
|
|
|
|
|
2009-09-21 16:24:29 +02:00
|
|
|
/usr/bin/datasizes: datasizes.sh
|
|
|
|
install -m 755 -c -o bin $? $@
|
|
|
|
|
2006-02-16 16:43:37 +01:00
|
|
|
/usr/bin/packit: packit.sh
|
|
|
|
install -m 755 -c -o bin $? $@
|
|
|
|
|
2006-03-19 22:36:20 +01:00
|
|
|
/usr/bin/packman: packman.sh
|
2006-02-03 16:41:58 +01:00
|
|
|
install -m 755 -c -o bin $? $@
|
|
|
|
|
2009-06-12 15:02:51 +02:00
|
|
|
/usr/bin/poweroff: poweroff.sh
|
|
|
|
install -m 755 -c -o bin $? $@
|
|
|
|
|
2005-04-21 16:53:53 +02:00
|
|
|
/usr/bin/spell: spell.sh
|
2005-05-04 11:37:12 +02:00
|
|
|
install -m 755 -c -o bin $? $@
|
2005-04-21 16:53:53 +02:00
|
|
|
|
|
|
|
/usr/bin/srccrc: srccrc.sh
|
2005-05-04 11:37:12 +02:00
|
|
|
install -m 755 -c -o bin $? $@
|
2005-04-21 16:53:53 +02:00
|
|
|
|
|
|
|
/usr/bin/svclog: svclog.sh
|
2005-05-04 11:37:12 +02:00
|
|
|
install -m 755 -c -o bin $? $@
|
2005-04-21 16:53:53 +02:00
|
|
|
|
2005-09-12 13:43:30 +02:00
|
|
|
/usr/bin/version: version.sh
|
|
|
|
install -m 755 -c -o bin $? $@
|
|
|
|
|
2007-03-21 10:33:39 +01:00
|
|
|
/usr/bin/unstack: unstack.sh
|
|
|
|
install -m 755 -c -o bin $? $@
|
|
|
|
|
2005-04-21 16:53:53 +02:00
|
|
|
/usr/bin/whatis: whatis.sh
|
2005-05-04 11:37:12 +02:00
|
|
|
install -m 755 -c -o bin $? $@
|
2005-04-21 16:53:53 +02:00
|
|
|
|
|
|
|
/usr/bin/apropos: /usr/bin/whatis
|
2005-05-04 11:37:12 +02:00
|
|
|
install -m 755 -l $? $@
|
2005-04-21 16:53:53 +02:00
|
|
|
|
|
|
|
/usr/bin/whereis: whereis.sh
|
2005-05-04 11:37:12 +02:00
|
|
|
install -m 755 -c -o bin $? $@
|
2005-04-21 16:53:53 +02:00
|
|
|
|
|
|
|
/bin/M: /usr/bin/M
|
2005-05-04 11:37:12 +02:00
|
|
|
install -m 755 -c -o bin $? $@
|
2005-04-21 16:53:53 +02:00
|
|
|
|
|
|
|
/bin/U: /bin/M
|
2005-05-04 11:37:12 +02:00
|
|
|
install -m 755 -l $? $@
|
2005-04-21 16:53:53 +02:00
|
|
|
|
|
|
|
/bin/cd: /usr/bin/cd
|
2005-05-04 11:37:12 +02:00
|
|
|
install -m 755 -lc $? $@
|
2005-04-21 16:53:53 +02:00
|
|
|
|
|
|
|
/bin/[ /bin/command /bin/echo /bin/expr /bin/false /bin/getopts \
|
|
|
|
/bin/read /bin/test /bin/true /bin/umask /bin/wait: /bin/cd
|
2005-05-04 11:37:12 +02:00
|
|
|
install -m 755 -l $? $@
|