2004-02-15 20:46:45 +00:00
|
|
|
#
|
2007-09-06 22:08:51 +00:00
|
|
|
# (c) 2004-2007 Laurent Vivier <Laurent@lvivier.info>
|
2004-02-15 20:46:45 +00:00
|
|
|
#
|
|
|
|
#
|
|
|
|
|
2005-12-01 13:49:25 +00:00
|
|
|
MAKEFLAGS += --no-print-directory
|
|
|
|
|
2007-09-06 22:08:51 +00:00
|
|
|
include config.mk
|
|
|
|
include tools.mk
|
|
|
|
include kernel.mk
|
2005-05-10 10:51:04 +00:00
|
|
|
|
|
|
|
# Target
|
2004-02-15 20:46:45 +00:00
|
|
|
|
2005-11-26 09:21:26 +00:00
|
|
|
.PHONY: first libemile libblock libiso9660 libiso9660-m68k libgzip-m68k tools \
|
2007-10-04 20:54:14 +00:00
|
|
|
libcontainer clean all_bin all install tools-install first-install \
|
|
|
|
docs-install uninstall tools-uninstall first-uninstall docs-uninstall \
|
2005-11-26 09:21:26 +00:00
|
|
|
clean libemile-clean libmacos-clean libunix-clean tools-clean \
|
|
|
|
first-clean second-clean docs-clean libiso9660-clean libgzip-clean \
|
2006-10-19 17:34:52 +00:00
|
|
|
libfloppy-clean libscsi-clean libstream-clean libblock-clean dist docs \
|
2007-10-10 21:17:00 +00:00
|
|
|
apple_driver apple_driver_clean libconfig libconfig-m68k libmap \
|
2008-04-12 21:17:49 +00:00
|
|
|
libmap-m68k libext2 libext2-m68k
|
2005-11-26 09:21:26 +00:00
|
|
|
|
2007-09-06 22:08:51 +00:00
|
|
|
all: tools.mk docs libemile libblock libiso9660 libiso9660-m68k libgzip-m68k \
|
2008-04-12 21:17:49 +00:00
|
|
|
tools first libstream libcontainer libmap libext2 libext2-m68k \
|
2005-11-12 22:31:15 +00:00
|
|
|
second/$(KARCH)-linux-floppy/second \
|
2006-10-19 17:34:52 +00:00
|
|
|
second/$(KARCH)-linux-scsi/second second/m68k-netbsd-floppy/second \
|
2007-09-01 22:24:05 +00:00
|
|
|
apple_driver libconfig libconfig-m68k \
|
|
|
|
second/$(KARCH)-linux-all/second
|
2005-05-10 10:51:04 +00:00
|
|
|
|
2007-09-06 22:08:51 +00:00
|
|
|
tools.mk: scripts/tools.sh
|
|
|
|
sh scripts/tools.sh > $@
|
|
|
|
|
2007-03-27 09:01:28 +00:00
|
|
|
ALL_BIN = cdboot-sarge.bin cdboot-woody.bin cdboot-etch.bin
|
2005-05-10 11:25:17 +00:00
|
|
|
|
2005-11-30 15:34:34 +00:00
|
|
|
cdboot-woody.bin: tools first second/$(KARCH)-linux-scsi/second
|
|
|
|
tools/emile-install -f first/first_floppy \
|
|
|
|
-s second/$(KARCH)-linux-scsi/second \
|
|
|
|
-k "iso9660:(sd3)/install/mac/linux.bin" \
|
|
|
|
-r "iso9660:(sd3)/install/mac/root.bin" \
|
|
|
|
cdboot-woody.bin.X
|
2006-06-05 22:35:17 +00:00
|
|
|
tools/emile-set-cmdline -a $(CDBOOT_ARGS) cdboot-woody.bin.X
|
2005-11-30 15:34:34 +00:00
|
|
|
mv cdboot-woody.bin.X cdboot-woody.bin
|
2005-12-01 06:16:51 +00:00
|
|
|
rm -f last.bin
|
|
|
|
ln -s cdboot-woody.bin last.bin
|
2005-11-30 15:34:34 +00:00
|
|
|
|
|
|
|
cdboot-sarge.bin: tools first second/$(KARCH)-linux-scsi/second
|
|
|
|
tools/emile-install -f first/first_floppy \
|
|
|
|
-s second/$(KARCH)-linux-scsi/second \
|
|
|
|
-k "iso9660:(sd3)/install/kernels/vmlinuz-2.2.25-mac" \
|
|
|
|
-r "iso9660:(sd3)/install/cdrom/initrd22.gz" \
|
|
|
|
cdboot-sarge.bin.X
|
2006-06-05 22:35:17 +00:00
|
|
|
tools/emile-set-cmdline -a $(CDBOOT_ARGS) cdboot-sarge.bin.X
|
2005-11-30 15:34:34 +00:00
|
|
|
mv cdboot-sarge.bin.X cdboot-sarge.bin
|
2005-12-01 06:16:51 +00:00
|
|
|
rm -f last.bin
|
|
|
|
ln -s cdboot-sarge.bin last.bin
|
2005-11-30 15:34:34 +00:00
|
|
|
|
2007-03-26 18:33:14 +00:00
|
|
|
cdboot-etch.bin: tools first second/$(KARCH)-linux-scsi/second
|
|
|
|
tools/emile-install -f first/first_floppy \
|
|
|
|
-s second/$(KARCH)-linux-scsi/second \
|
|
|
|
-k "iso9660:(sd3)/install/kernels/vmlinuz-2.6.18-4-mac"\
|
|
|
|
-r "iso9660:(sd3)/install/cdrom/initrd.gz" \
|
|
|
|
cdboot-etch.bin.X
|
|
|
|
tools/emile-set-cmdline -a $(CDBOOT_ARGS26) cdboot-etch.bin.X
|
|
|
|
mv cdboot-etch.bin.X cdboot-etch.bin
|
|
|
|
rm -f last.bin
|
|
|
|
ln -s cdboot-etch.bin last.bin
|
|
|
|
|
2007-03-27 09:01:28 +00:00
|
|
|
# We can build floppy image only if a kernel is provided
|
|
|
|
|
|
|
|
ifeq ($(LINUX),$(LINUXPATH))
|
|
|
|
|
2007-09-01 22:24:05 +00:00
|
|
|
ALL_BIN += netboot.bin rescue.bin debian-installer.bin boot.bin multiboot.bin second/$(KARCH)-linux-scsi/second second/$(KARCH)-linux-all/second
|
2007-03-27 09:01:28 +00:00
|
|
|
|
2005-11-26 09:21:26 +00:00
|
|
|
floppy.bin: tools first vmlinuz \
|
2005-09-19 23:08:16 +00:00
|
|
|
second/$(KARCH)-linux-floppy/second
|
2005-11-26 09:21:26 +00:00
|
|
|
tools/emile-install -f first/first_floppy \
|
2005-09-19 19:08:55 +00:00
|
|
|
-s second/$(KARCH)-linux-floppy/second \
|
2005-05-09 22:47:39 +00:00
|
|
|
-k vmlinuz floppy.bin.X
|
|
|
|
ifdef CONSOLE
|
|
|
|
tools/emile-set-output floppy.bin.X --printer --modem
|
2008-07-11 20:47:44 +00:00
|
|
|
endif
|
|
|
|
ifdef GESTALTID
|
|
|
|
tools/emile-set-output floppy.bin.X --gestaltid $(GESTALTID)
|
2005-01-25 23:25:38 +00:00
|
|
|
endif
|
2005-05-09 22:47:39 +00:00
|
|
|
mv floppy.bin.X floppy.bin
|
|
|
|
|
2005-11-26 09:21:26 +00:00
|
|
|
floppy_ramdisk.bin: tools first vmlinuz \
|
2005-09-19 19:08:55 +00:00
|
|
|
second/$(KARCH)-linux-floppy/second $(LINUXRAMDISK)
|
2005-11-26 09:21:26 +00:00
|
|
|
tools/emile-install -f first/first_floppy \
|
2005-09-19 19:08:55 +00:00
|
|
|
-s second/$(KARCH)-linux-floppy/second \
|
|
|
|
-k vmlinuz -r $(LINUXRAMDISK) floppy_ramdisk.bin.X
|
2005-01-25 23:25:38 +00:00
|
|
|
ifdef CONSOLE
|
2005-05-09 22:47:39 +00:00
|
|
|
tools/emile-set-output floppy_ramdisk.bin.X --printer --modem
|
2008-07-11 20:47:44 +00:00
|
|
|
endif
|
|
|
|
ifdef GESTALTID
|
|
|
|
tools/emile-set-output floppy.bin.X --gestaltid $(GESTALTID)
|
2004-06-02 21:10:19 +00:00
|
|
|
endif
|
2005-05-09 22:47:39 +00:00
|
|
|
mv floppy_ramdisk.bin.X floppy_ramdisk.bin
|
|
|
|
|
|
|
|
debian-installer.bin: floppy.bin
|
|
|
|
rm -f last.bin
|
|
|
|
cp floppy.bin debian-installer.bin.X
|
2006-06-05 22:35:17 +00:00
|
|
|
tools/emile-set-cmdline -a $(INSTALLER_ARGS) debian-installer.bin.X
|
2005-05-09 22:47:39 +00:00
|
|
|
mv debian-installer.bin.X debian-installer.bin
|
|
|
|
ln -s debian-installer.bin last.bin
|
|
|
|
|
|
|
|
netboot.bin: floppy.bin
|
|
|
|
rm -f last.bin
|
|
|
|
cp floppy.bin netboot.bin.X
|
2006-06-05 22:35:17 +00:00
|
|
|
tools/emile-set-cmdline -a $(NETBOOT_ARGS) netboot.bin.X
|
2005-05-09 22:47:39 +00:00
|
|
|
mv netboot.bin.X netboot.bin
|
|
|
|
ln -s netboot.bin last.bin
|
|
|
|
|
|
|
|
rescue.bin: floppy_ramdisk.bin
|
|
|
|
rm -f last.bin
|
|
|
|
cp floppy_ramdisk.bin rescue.bin.X
|
2006-06-05 22:35:17 +00:00
|
|
|
tools/emile-set-cmdline -a $(RESCUE_ARGS) rescue.bin.X
|
2005-05-09 22:47:39 +00:00
|
|
|
mv rescue.bin.X rescue.bin
|
|
|
|
ln -s rescue.bin last.bin
|
|
|
|
|
2007-09-01 22:24:05 +00:00
|
|
|
multiboot.bin: tools first vmlinuz second/$(KARCH)-linux-all/second
|
|
|
|
rm -f last.bin
|
2007-09-02 08:13:29 +00:00
|
|
|
tools/emile-install -c $(FLOPPY_CONF) multiboot.bin.X
|
2007-09-01 22:24:05 +00:00
|
|
|
mv multiboot.bin.X multiboot.bin
|
|
|
|
ln -s multiboot.bin last.bin
|
|
|
|
|
2005-05-09 22:47:39 +00:00
|
|
|
boot.bin: floppy.bin
|
|
|
|
rm -f last.bin
|
|
|
|
cp floppy.bin boot.bin.X
|
2006-06-05 22:35:17 +00:00
|
|
|
tools/emile-set-cmdline -a $(BOOT_ARGS) boot.bin.X
|
2005-05-09 22:47:39 +00:00
|
|
|
mv boot.bin.X boot.bin
|
|
|
|
ln -s boot.bin last.bin
|
2004-02-15 20:46:45 +00:00
|
|
|
|
2005-11-23 22:46:35 +00:00
|
|
|
vmlinuz: $(LINUX)
|
2006-12-30 17:30:52 +00:00
|
|
|
$(KSTRIP) -s $(LINUX) -o $(LINUX).stripped
|
2005-11-23 22:46:35 +00:00
|
|
|
gzip -9 $(LINUX).stripped
|
|
|
|
mv $(LINUX).stripped.gz vmlinuz
|
2005-05-10 11:25:17 +00:00
|
|
|
endif
|
2004-02-15 20:46:45 +00:00
|
|
|
|
2005-09-19 19:08:55 +00:00
|
|
|
NETBSDPATH=netbsd
|
|
|
|
|
|
|
|
NETBSD=$(shell ls $(NETBSDPATH) 2> /dev/null)
|
|
|
|
|
|
|
|
ifeq ($(NETBSD),$(NETBSDPATH))
|
2005-11-26 09:21:26 +00:00
|
|
|
netbsd-floppy.bin: tools first netbsd.gz \
|
2005-09-19 23:08:16 +00:00
|
|
|
second/m68k-netbsd-floppy/second
|
2005-11-26 09:21:26 +00:00
|
|
|
tools/emile-install -f first/first_floppy \
|
2005-09-19 23:08:16 +00:00
|
|
|
-s second/$(KARCH)-netbsd-floppy/second \
|
2005-09-19 19:08:55 +00:00
|
|
|
-k netbsd.gz netbsd-floppy.bin.X
|
|
|
|
ifdef CONSOLE
|
|
|
|
tools/emile-set-output netbsd-floppy.bin.X --printer --modem
|
|
|
|
endif
|
|
|
|
mv netbsd-floppy.bin.X netbsd-floppy.bin
|
|
|
|
|
|
|
|
netbsd-boot.bin: netbsd-floppy.bin
|
|
|
|
rm -f last.bin
|
|
|
|
cp netbsd-floppy.bin netbsd-boot.bin.X
|
2006-06-05 22:35:17 +00:00
|
|
|
tools/emile-set-cmdline -a $(BOOT_ARGS) netbsd-boot.bin.X
|
2005-09-19 19:08:55 +00:00
|
|
|
mv netbsd-boot.bin.X netbsd-boot.bin
|
|
|
|
ln -s netbsd-boot.bin last.bin
|
|
|
|
|
2005-11-23 22:46:35 +00:00
|
|
|
netbsd.gz: $(NETBSD)
|
2006-12-30 17:30:52 +00:00
|
|
|
$(KSTRIP) -s $(NETBSD) -o $(NETBSD).stripped
|
2005-11-23 22:46:35 +00:00
|
|
|
gzip -9 $(NETBSD).stripped
|
|
|
|
mv $(NETBSD).stripped.gz netbsd.gz
|
2005-09-19 19:08:55 +00:00
|
|
|
endif
|
|
|
|
|
2007-03-27 09:01:28 +00:00
|
|
|
all_bin: $(ALL_BIN)
|
|
|
|
rm -f last.bin
|
|
|
|
|
2005-11-26 09:21:26 +00:00
|
|
|
export SIGNATURE VERSION DESTDIR PREFIX KARCH CROSS_COMPILE
|
2005-11-23 22:46:35 +00:00
|
|
|
|
2005-11-26 09:21:26 +00:00
|
|
|
first::
|
2007-09-06 22:08:51 +00:00
|
|
|
$(MAKE) -C first TARGET=m68k-linux
|
2005-05-10 10:51:04 +00:00
|
|
|
|
2006-10-19 17:34:52 +00:00
|
|
|
apple_driver::
|
2007-09-06 22:08:51 +00:00
|
|
|
$(MAKE) -C apple_driver TARGET=m68k-linux
|
2006-10-19 17:34:52 +00:00
|
|
|
|
2008-04-12 21:17:49 +00:00
|
|
|
second/$(KARCH)-linux-floppy/second:: libmacos libunix libiso9660-m68k libext2-m68k libgzip-m68k libfloppy libscsi libstream libblock libcontainer libui libconfig-m68k libmap-m68k
|
2007-09-06 22:08:51 +00:00
|
|
|
$(MAKE) -C second MEDIA=floppy TARGET=$(KARCH)-linux
|
2004-02-15 20:46:45 +00:00
|
|
|
|
2008-04-12 21:17:49 +00:00
|
|
|
second/$(KARCH)-linux-scsi/second:: libmacos libunix libiso9660-m68k libext2-m68k libgzip-m68k libfloppy libscsi libstream libblock libcontainer libui libconfig-m68k libmap-m68k
|
2007-09-06 22:08:51 +00:00
|
|
|
$(MAKE) -C second MEDIA=scsi TARGET=$(KARCH)-linux
|
2005-09-19 23:08:16 +00:00
|
|
|
|
2008-04-12 21:17:49 +00:00
|
|
|
second/$(KARCH)-linux-all/second:: libmacos libunix libiso9660-m68k libext2-m68k libgzip-m68k libfloppy libscsi libstream libblock libcontainer libui libconfig-m68k libmap-m68k
|
2007-09-06 22:08:51 +00:00
|
|
|
$(MAKE) -C second MEDIA=full TARGET=$(KARCH)-linux
|
2007-09-01 22:24:05 +00:00
|
|
|
|
2008-04-12 21:17:49 +00:00
|
|
|
second/m68k-netbsd-floppy/second:: libmacos libunix libiso9660-m68k libext2-m68k libgzip-m68k libfloppy libstream libblock libcontainer libui libconfig-m68k libmap-m68k
|
2007-09-06 22:08:51 +00:00
|
|
|
$(MAKE) -C second TARGET=m68k-netbsd MEDIA=floppy
|
2004-05-19 00:09:58 +00:00
|
|
|
|
2005-11-26 09:21:26 +00:00
|
|
|
first-install::
|
|
|
|
$(MAKE) -C first install
|
2005-11-08 02:19:46 +00:00
|
|
|
|
|
|
|
first-uninstall::
|
2005-11-26 09:21:26 +00:00
|
|
|
$(MAKE) -C first uninstall
|
2005-11-08 02:19:46 +00:00
|
|
|
|
2005-11-26 09:21:26 +00:00
|
|
|
second-install::
|
|
|
|
$(MAKE) -C second install
|
2005-11-08 02:19:46 +00:00
|
|
|
|
|
|
|
second-uninstall::
|
2005-11-26 09:21:26 +00:00
|
|
|
$(MAKE) -C second uninstall
|
2005-11-08 02:19:46 +00:00
|
|
|
|
|
|
|
libmacos::
|
2007-09-06 22:08:51 +00:00
|
|
|
$(MAKE) -C libmacos all TARGET=m68k-linux
|
2005-11-08 02:19:46 +00:00
|
|
|
|
|
|
|
libunix::
|
2007-09-06 22:08:51 +00:00
|
|
|
$(MAKE) -C libunix all TARGET=m68k-linux
|
2005-11-08 02:19:46 +00:00
|
|
|
|
2007-08-12 20:41:36 +00:00
|
|
|
libui::
|
2007-09-06 22:08:51 +00:00
|
|
|
$(MAKE) -C libui all TARGET=m68k-linux
|
2007-08-12 20:41:36 +00:00
|
|
|
|
2005-11-12 22:31:15 +00:00
|
|
|
libiso9660-m68k::
|
2007-09-06 22:08:51 +00:00
|
|
|
$(MAKE) -C libiso9660 all TARGET=m68k-linux
|
2005-11-12 22:31:15 +00:00
|
|
|
|
2008-04-12 21:17:49 +00:00
|
|
|
libext2-m68k::
|
|
|
|
$(MAKE) -C libext2 all TARGET=m68k-linux
|
|
|
|
|
2007-08-25 21:32:48 +00:00
|
|
|
libconfig-m68k::
|
2007-09-06 22:08:51 +00:00
|
|
|
$(MAKE) -C libconfig all TARGET=m68k-linux
|
2007-08-25 21:32:48 +00:00
|
|
|
|
|
|
|
libconfig::
|
|
|
|
$(MAKE) -C libconfig all TARGET=native CROSS_COMPILE=$(CROSS_COMPILE)
|
|
|
|
|
2005-11-12 22:31:15 +00:00
|
|
|
libiso9660::
|
2005-11-30 00:54:04 +00:00
|
|
|
$(MAKE) -C libiso9660 all TARGET=native CROSS_COMPILE=$(CROSS_COMPILE)
|
2005-11-12 22:31:15 +00:00
|
|
|
|
2008-04-12 21:17:49 +00:00
|
|
|
libext2::
|
|
|
|
$(MAKE) -C libext2 all TARGET=native CROSS_COMPILE=$(CROSS_COMPILE)
|
|
|
|
|
2005-12-01 22:16:34 +00:00
|
|
|
libcontainer::
|
2007-09-06 22:08:51 +00:00
|
|
|
$(MAKE) -C libcontainer all TARGET=m68k-linux
|
2005-12-01 22:16:34 +00:00
|
|
|
|
2005-11-23 22:46:35 +00:00
|
|
|
libblock::
|
2007-09-06 22:08:51 +00:00
|
|
|
$(MAKE) -C libblock all TARGET=m68k-linux
|
2005-11-12 22:31:15 +00:00
|
|
|
|
2005-11-16 01:29:57 +00:00
|
|
|
libgzip-m68k::
|
2007-09-06 22:08:51 +00:00
|
|
|
$(MAKE) -C libgzip all TARGET=m68k-linux
|
2005-11-16 01:29:57 +00:00
|
|
|
|
|
|
|
libgzip::
|
2005-11-30 00:54:04 +00:00
|
|
|
$(MAKE) -C libgzip all TARGET=native CROSS_COMPILE=$(CROSS_COMPILE)
|
2005-11-16 01:29:57 +00:00
|
|
|
|
2004-12-10 00:29:57 +00:00
|
|
|
libemile::
|
2005-11-26 09:21:26 +00:00
|
|
|
$(MAKE) -C libemile all CROSS_COMPILE=$(CROSS_COMPILE)
|
2004-12-10 00:29:57 +00:00
|
|
|
|
2005-11-16 01:29:57 +00:00
|
|
|
libfloppy::
|
|
|
|
$(MAKE) -C libfloppy all CC=$(M68K_CC) AS=$(M68K_AS)
|
|
|
|
|
2005-11-23 22:46:35 +00:00
|
|
|
libscsi::
|
|
|
|
$(MAKE) -C libscsi all CC=$(M68K_CC) AS=$(M68K_AS)
|
|
|
|
|
|
|
|
libstream::
|
|
|
|
$(MAKE) -C libstream all CC=$(M68K_CC) AS=$(M68K_AS)
|
|
|
|
|
2007-10-04 20:54:14 +00:00
|
|
|
libmap::
|
|
|
|
$(MAKE) -C libmap all TARGET=native CROSS_COMPILE=$(CROSS_COMPILE)
|
|
|
|
|
|
|
|
libmap-m68k::
|
|
|
|
$(MAKE) -C libmap all TARGET=m68k-linux
|
|
|
|
|
2008-04-12 21:17:49 +00:00
|
|
|
tools:: libemile libiso9660 libext2 libgzip libconfig libmap
|
2005-11-26 09:21:26 +00:00
|
|
|
$(MAKE) -C tools all CROSS_COMPILE=$(CROSS_COMPILE)
|
2004-05-19 00:09:58 +00:00
|
|
|
|
2005-11-08 02:19:46 +00:00
|
|
|
tools-install:: tools
|
2005-11-26 09:21:26 +00:00
|
|
|
$(MAKE) -C tools install
|
2005-11-08 02:19:46 +00:00
|
|
|
|
|
|
|
tools-uninstall::
|
2005-11-26 09:21:26 +00:00
|
|
|
$(MAKE) -C tools uninstall
|
2005-11-08 02:19:46 +00:00
|
|
|
|
|
|
|
docs-install:: docs
|
2005-11-26 09:21:26 +00:00
|
|
|
$(MAKE) -C docs install
|
2005-11-08 02:19:46 +00:00
|
|
|
|
|
|
|
docs-uninstall::
|
2005-11-26 09:21:26 +00:00
|
|
|
$(MAKE) -C docs uninstall
|
2005-11-08 02:19:46 +00:00
|
|
|
|
2006-10-20 18:39:30 +00:00
|
|
|
apple_driver-install::
|
|
|
|
$(MAKE) -C apple_driver install
|
|
|
|
|
|
|
|
apple_driver-uninstall::
|
|
|
|
$(MAKE) -C apple_driver uninstall
|
|
|
|
|
2005-06-16 05:27:49 +00:00
|
|
|
docs::
|
|
|
|
$(MAKE) -C docs all
|
2004-02-15 20:46:45 +00:00
|
|
|
|
2005-05-09 22:47:39 +00:00
|
|
|
dump: last.bin
|
|
|
|
dd if=last.bin of=$(FLOPPY) bs=512
|
2004-02-15 20:46:45 +00:00
|
|
|
|
2006-10-20 18:39:30 +00:00
|
|
|
install: tools-install first-install second-install docs-install apple_driver-install
|
2005-11-08 02:19:46 +00:00
|
|
|
|
2005-11-26 09:21:26 +00:00
|
|
|
uninstall: tools-uninstall first-uninstall second-uninstall docs-uninstall
|
2005-11-08 02:19:46 +00:00
|
|
|
|
|
|
|
libemile-clean:
|
2004-12-10 00:29:57 +00:00
|
|
|
$(MAKE) -C libemile clean
|
2005-11-08 02:19:46 +00:00
|
|
|
|
|
|
|
libmacos-clean:
|
|
|
|
$(MAKE) -C libmacos clean
|
|
|
|
|
|
|
|
libunix-clean:
|
|
|
|
$(MAKE) -C libunix clean
|
|
|
|
|
2007-08-12 20:41:36 +00:00
|
|
|
libui-clean:
|
|
|
|
$(MAKE) -C libui clean
|
|
|
|
|
2005-11-23 22:46:35 +00:00
|
|
|
libscsi-clean:
|
|
|
|
$(MAKE) -C libscsi clean
|
|
|
|
|
|
|
|
libstream-clean:
|
|
|
|
$(MAKE) -C libstream clean
|
2005-11-16 01:29:57 +00:00
|
|
|
|
2005-11-12 22:31:15 +00:00
|
|
|
libiso9660-clean::
|
|
|
|
$(MAKE) -C libiso9660 clean TARGET=native
|
|
|
|
$(MAKE) -C libiso9660 clean TARGET=$(KARCH)-linux
|
|
|
|
|
2008-04-12 21:17:49 +00:00
|
|
|
libext2-clean::
|
|
|
|
$(MAKE) -C libext2 clean TARGET=native
|
|
|
|
$(MAKE) -C libext2 clean TARGET=$(KARCH)-linux
|
|
|
|
|
2007-08-25 21:32:48 +00:00
|
|
|
libconfig-clean::
|
|
|
|
$(MAKE) -C libconfig clean TARGET=native
|
|
|
|
$(MAKE) -C libconfig clean TARGET=$(KARCH)-linux
|
|
|
|
|
2005-12-01 22:16:34 +00:00
|
|
|
libcontainer-clean::
|
|
|
|
$(MAKE) -C libcontainer clean
|
|
|
|
|
2005-11-23 22:46:35 +00:00
|
|
|
libblock-clean::
|
|
|
|
$(MAKE) -C libblock clean
|
|
|
|
|
2005-11-16 01:29:57 +00:00
|
|
|
libgzip-clean::
|
|
|
|
$(MAKE) -C libgzip clean TARGET=native
|
|
|
|
$(MAKE) -C libgzip clean TARGET=$(KARCH)-linux
|
|
|
|
|
2007-10-04 20:54:14 +00:00
|
|
|
libmap-clean::
|
|
|
|
$(MAKE) -C libmap clean TARGET=native
|
|
|
|
$(MAKE) -C libmap clean TARGET=$(KARCH)-linux
|
|
|
|
|
2005-11-08 02:19:46 +00:00
|
|
|
tools-clean:
|
2004-05-21 15:06:35 +00:00
|
|
|
$(MAKE) -C tools clean
|
2005-11-08 02:19:46 +00:00
|
|
|
|
|
|
|
first-clean:
|
2005-11-26 09:21:26 +00:00
|
|
|
$(MAKE) -C first clean
|
2005-11-08 02:19:46 +00:00
|
|
|
|
|
|
|
second-clean:
|
2004-02-15 20:46:45 +00:00
|
|
|
$(MAKE) -C second clean
|
2005-11-08 02:19:46 +00:00
|
|
|
|
|
|
|
docs-clean:
|
2005-06-16 05:27:49 +00:00
|
|
|
$(MAKE) -C docs clean
|
2005-11-08 02:19:46 +00:00
|
|
|
|
2005-11-23 22:46:35 +00:00
|
|
|
libfloppy-clean:
|
|
|
|
$(MAKE) -C libfloppy clean
|
|
|
|
|
2006-11-01 19:50:58 +00:00
|
|
|
apple_driver-clean:
|
|
|
|
$(MAKE) -C apple_driver clean
|
|
|
|
|
2007-09-13 16:54:10 +00:00
|
|
|
distclean:: clean
|
|
|
|
rm -f tools.mk
|
|
|
|
|
2005-11-08 02:19:46 +00:00
|
|
|
clean:: libemile-clean libmacos-clean libunix-clean tools-clean first-clean \
|
2008-04-12 21:17:49 +00:00
|
|
|
second-clean docs-clean libiso9660-clean libext2-clean libgzip-clean \
|
|
|
|
libfloppy-clean \
|
2006-11-01 19:50:58 +00:00
|
|
|
libscsi-clean libstream-clean libblock-clean libcontainer-clean \
|
2007-10-04 20:54:14 +00:00
|
|
|
apple_driver-clean libui-clean libconfig-clean libmap-clean
|
2005-05-09 22:47:39 +00:00
|
|
|
rm -f floppy.bin floppy.bin.X floppy_ramdisk.bin \
|
|
|
|
floppy_ramdisk.bin.X rescue.bin rescue.bin.X \
|
|
|
|
debian-installer.bin debian-installer.bin.X \
|
|
|
|
netboot.bin netboot.bin.X boot.bin boot.bin.X \
|
2007-09-01 22:24:05 +00:00
|
|
|
vmlinuz last.bin cdboot-sarge.bin cdboot-woody.bin \
|
2007-09-13 16:54:10 +00:00
|
|
|
multiboot.bin
|
2004-02-15 20:46:45 +00:00
|
|
|
|
2005-11-08 02:19:46 +00:00
|
|
|
DISTFILES = AUTHORS ChangeLog COPYING Makefile README README.floppy \
|
2007-09-06 22:20:45 +00:00
|
|
|
README.scsi Rules.mk floppy.conf kernel.mk config.mk \
|
|
|
|
scripts/tools.sh
|
2004-02-15 20:46:45 +00:00
|
|
|
|
|
|
|
dist:
|
|
|
|
rm -fr $(PACKAGE)-$(VERSION)
|
|
|
|
mkdir $(PACKAGE)-$(VERSION)
|
2005-12-01 13:49:25 +00:00
|
|
|
@$(MAKE) -C tools dist DISTDIR=$(shell pwd)/$(PACKAGE)-$(VERSION)
|
|
|
|
@$(MAKE) -C libemile dist DISTDIR=$(shell pwd)/$(PACKAGE)-$(VERSION)
|
|
|
|
@$(MAKE) -C second dist DISTDIR=$(shell pwd)/$(PACKAGE)-$(VERSION)
|
|
|
|
@$(MAKE) -C first dist DISTDIR=$(shell pwd)/$(PACKAGE)-$(VERSION)
|
|
|
|
@$(MAKE) -C docs dist DISTDIR=$(shell pwd)/$(PACKAGE)-$(VERSION)
|
|
|
|
@$(MAKE) -C libmacos dist DISTDIR=$(shell pwd)/$(PACKAGE)-$(VERSION)
|
|
|
|
@$(MAKE) -C libunix dist DISTDIR=$(shell pwd)/$(PACKAGE)-$(VERSION)
|
2007-08-12 20:41:36 +00:00
|
|
|
@$(MAKE) -C libui dist DISTDIR=$(shell pwd)/$(PACKAGE)-$(VERSION)
|
2005-12-01 13:49:25 +00:00
|
|
|
@$(MAKE) -C libstream dist DISTDIR=$(shell pwd)/$(PACKAGE)-$(VERSION)
|
|
|
|
@$(MAKE) -C libscsi dist DISTDIR=$(shell pwd)/$(PACKAGE)-$(VERSION)
|
|
|
|
@$(MAKE) -C libfloppy dist DISTDIR=$(shell pwd)/$(PACKAGE)-$(VERSION)
|
|
|
|
@$(MAKE) -C libblock dist DISTDIR=$(shell pwd)/$(PACKAGE)-$(VERSION)
|
|
|
|
@$(MAKE) -C libiso9660 dist DISTDIR=$(shell pwd)/$(PACKAGE)-$(VERSION)
|
2008-04-12 21:17:49 +00:00
|
|
|
@$(MAKE) -C libext2 dist DISTDIR=$(shell pwd)/$(PACKAGE)-$(VERSION)
|
2005-12-01 13:49:25 +00:00
|
|
|
@$(MAKE) -C libcontainer dist DISTDIR=$(shell pwd)/$(PACKAGE)-$(VERSION)
|
|
|
|
@$(MAKE) -C libgzip dist DISTDIR=$(shell pwd)/$(PACKAGE)-$(VERSION)
|
|
|
|
@$(MAKE) -C tools dist DISTDIR=$(shell pwd)/$(PACKAGE)-$(VERSION)
|
2006-10-08 17:07:05 +00:00
|
|
|
@$(MAKE) -C debian dist DISTDIR=$(shell pwd)/$(PACKAGE)-$(VERSION)
|
2006-10-20 18:44:52 +00:00
|
|
|
@$(MAKE) -C apple_driver dist DISTDIR=$(shell pwd)/$(PACKAGE)-$(VERSION)
|
2007-08-25 21:32:48 +00:00
|
|
|
@$(MAKE) -C libconfig dist DISTDIR=$(shell pwd)/$(PACKAGE)-$(VERSION)
|
2007-10-04 21:01:09 +00:00
|
|
|
@$(MAKE) -C libmap dist DISTDIR=$(shell pwd)/$(PACKAGE)-$(VERSION)
|
2005-12-01 13:49:25 +00:00
|
|
|
@echo TAR emile
|
|
|
|
@for file in $(DISTFILES); do \
|
2004-02-15 20:46:45 +00:00
|
|
|
dir=$$(dirname $$file); \
|
|
|
|
if [ "$$dir" != "" ] ; then \
|
|
|
|
mkdir -p $(PACKAGE)-$(VERSION)/$$dir; \
|
|
|
|
fi; \
|
|
|
|
cp -p $$file $(PACKAGE)-$(VERSION)/$$file; \
|
|
|
|
done
|
2005-12-01 13:49:25 +00:00
|
|
|
@rm -f $(PACKAGE)-$(VERSION).tar $(PACKAGE)-$(VERSION).tar.bz2
|
|
|
|
@tar cf $(PACKAGE)-$(VERSION).tar $(PACKAGE)-$(VERSION)
|
|
|
|
@bzip2 -9 $(PACKAGE)-$(VERSION).tar
|
|
|
|
@rm -fr $(PACKAGE)-$(VERSION)
|
2008-07-08 21:59:20 +00:00
|
|
|
|
|
|
|
Changelog::
|
|
|
|
cvs2cl -U CVS/users --no-common-dir --accum
|