Minor cleanups
[lightOS.git] / trunk / Makefile
blob961f274bca91cbb38cae0781c2bcc0262c249a5b
1 ###############################################################################
2 ######### lightOS Makefile ##########
3 ###############################################################################
4 default: dep all
6 -include Makefile.config
7 -include Makefile.rules
9 .PHONY : doc
11 doc:
12 @doxygen Doxyfile
13 @doxygen Doxyfile.kernel
15 dep:
16 @make -C server dep
17 @make -C lib/lightOS++ dep
19 all:
20 @make -C lib/lightOS all
21 @make -C lib/libc all
22 @make -C lib/libunix all
23 @make -C lib/lightOS++ all
24 @make -C lib/libc++ all
25 @make -C lib/cdi all
26 @make -C lib/ports all
27 @make -C kernel all
28 @make -C server all
29 @make -C apps all
31 image:
32 @cd build && ./image.sh $(ARCH)
34 vmware-test:
35 @vmware
37 bochs-test:
38 @bochs -f config/bochs-$(ARCH).config
40 bochs-test-iso:
41 @bochs -f config/bochs-iso-$(ARCH).config
43 qemu-test:
44 @./toolchain/qemu-$(ARCH) -k de -net nic,model=pcnet -net user -fda build/lightOS-$(ARCH).img -boot a -m 32 -std-vga -localtime
45 ###-smp 2 -soundhw sb16 -net nic,model=rtl8139 -net user
47 qemu-test-iso:
48 @./toolchain/qemu-$(ARCH) -k de -net nic,model=pcnet -net user -cdrom build/lightOS-$(ARCH).iso -boot d -m 32 -std-vga -localtime
50 kloc:
51 @sloccount apps/*.cpp apps/shell apps/terminal kernel lib/libc lib/libc++ lib/lightOS lib/lightOS++ lib/libunix libarch libkernel libserver libsupc++ server
53 clean:
54 @./clean.sh
55 @./tmpdir.sh $(ARCH) remove