fcfb08301602da2dae4249ede3a5b363988b7748
[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
24 all:
25 $(MAKE) -C tools
26 $(MAKE) -C bootsect
27 $(MAKE) -C freeldr
28 $(MAKE) -C install
29 $(MAKE) -C fdebug
30
31 test:
32
33 clean:
34 $(MAKE) -C bootsect clean
35 $(MAKE) -C freeldr clean
36 $(MAKE) -C install clean
37 $(MAKE) -C fdebug clean
38 $(MAKE) -C tools clean
39
40 bootcd:
41 $(CP) bootsect/isoboot.bin ${BOOTCD_DIR}/../isoboot.bin
42 $(CP) bootsect/dosmbr.bin ${BOOTCD_DIR}/loader/dosmbr.bin
43 $(CP) bootsect/ext2.bin ${BOOTCD_DIR}/loader/ext2.bin
44 $(CP) bootsect/fat.bin ${BOOTCD_DIR}/loader/fat.bin
45 $(CP) bootsect/fat32.bin ${BOOTCD_DIR}/loader/fat32.bin
46 $(CP) bootsect/isoboot.bin ${BOOTCD_DIR}/loader/isoboot.bin
47 $(CP) freeldr/freeldr.sys ${BOOTCD_DIR}/loader/freeldr.sys
48 $(CP) freeldr/setupldr.sys ${BOOTCD_DIR}/loader/setupldr.sys
49
50 .PHONY : clean