merge ROS Shell without integrated explorer part into trunk
[reactos.git] / reactos / boot / freeldr / Makefile
1 #
2 # FreeLoader
3 # Copyright (C) 1999, 2000, 2001 Brian Palmer <brianp@sginet.com>
4 #
5 # This program is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; either version 2 of the License, or
8 # (at your option) any later version.
9 #
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 # GNU General Public License for more details.
14 #
15 # You should have received a copy of the GNU General Public License
16 # along with this program; if not, write to the Free Software
17 # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
18 #
19
20 PATH_TO_TOP = ../..
21
22 include rules.mak
23 include $(PATH_TO_TOP)/config
24
25 all:
26 $(MAKE) -C tools
27 $(MAKE) -C bootsect
28 $(MAKE) -C freeldr
29 $(MAKE) -C install
30 $(MAKE) -C fdebug
31
32 test:
33
34 clean:
35 $(MAKE) -C bootsect clean
36 $(MAKE) -C freeldr clean
37 $(MAKE) -C install clean
38 $(MAKE) -C fdebug clean
39 $(MAKE) -C tools clean
40
41 bootcd:
42 ifeq ($(ARCH),i386)
43 $(CP) bootsect/isoboot.bin ${BOOTCD_DIR}/../isoboot.bin
44 $(CP) bootsect/dosmbr.bin ${BOOTCD_DIR}/loader/dosmbr.bin
45 $(CP) bootsect/ext2.bin ${BOOTCD_DIR}/loader/ext2.bin
46 $(CP) bootsect/fat.bin ${BOOTCD_DIR}/loader/fat.bin
47 $(CP) bootsect/fat32.bin ${BOOTCD_DIR}/loader/fat32.bin
48 $(CP) bootsect/isoboot.bin ${BOOTCD_DIR}/loader/isoboot.bin
49 $(CP) freeldr/freeldr.sys ${BOOTCD_DIR}/loader/freeldr.sys
50 $(CP) freeldr/setupldr.sys ${BOOTCD_DIR}/loader/setupldr.sys
51 endif
52
53 .PHONY : clean
54