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