added some bootup messages to various parts of the kernel
[newos.git] / make.config
blob63a7e157739acfbf8b45dc16c78f5e46e2d90965
1 STDINCLUDE := -Iinclude -Iinclude/libc -Iinclude/libc++ $(LIBGCC_INCLUDE)
2 GLOBAL_CFLAGS := $(GLOBAL_CFLAGS) -include include/newos/sysconfig.h
4 LIBS_DIR := lib
5 LIBS_BUILD_DIR := $(call TOBUILDDIR, lib)
6 LIBS := $(addprefix $(LIBS_BUILD_DIR)/, \
7         glue/glue.o \
8         glue/libglue.o \
9         libc/libc.so \
10         libc/libc.a \
11         libm/libm.so \
12         libm/libm.a \
13         libnewos/libnewos.so \
14         libnewos/libnewos.a \
15         libsocket/libsocket.so \
16         libsocket/libsocket.a \
17         libsupc++/libsupc++.so \
18         libsupc++/libsupc++.a \
19         libwin/libwin.so \
20         libwin/libwin.a \
21         klibc/klibc.o \
22 )       
23 LIBGLUE := $(LIBS_BUILD_DIR)/glue/libglue.o
24 LIBS_LDSCRIPT := $(LIBS_DIR)/ldscripts/$(ARCH)/library.ld
25 LIBC := $(LIBS_BUILD_DIR)/libc/libc.so
26 LIBC_STATIC := $(LIBS_BUILD_DIR)/libc/libc.a
27 LIBNEWOS_STATIC := $(LIBS_BUILD_DIR)/libnewos/libnewos.a
28 #$(warning LIBS = $(LIBS))
30 KERNEL_DIR := kernel
31 KERNEL_BUILD_DIR := $(call TOBUILDDIR, kernel)
32 KERNEL := $(KERNEL_BUILD_DIR)/kernel
33 LIBKERNEL := $(KERNEL_BUILD_DIR)/kernel.so
34 KLIBS := $(LIBS_BUILD_DIR)/klibc/klibc.o
35 KERNEL_CFLAGS := $(KERNEL_CFLAGS) -D_KERNEL=1
36 #$(warning KERNEL = $(KERNEL))
38 KERNEL_ADDONS_DIR := kernel/addons
39 KERNEL_ADDONS_BUILD_DIR := $(KERNEL_BUILD_DIR)/addons
40 KERNEL_ADDONS := $(addprefix $(KERNEL_ADDONS_BUILD_DIR)/, \
41         fs/iso9660/iso9660 \
42         fs/nfs/nfs \
43         fs/zfs/zfs \
44         dev/tty/tty \
45         dev/console/console \
48 APPS_DIR := apps
49 APPS_BUILD_DIR := $(call TOBUILDDIR, apps)
50 APPS_LDSCRIPT = $(APPS_DIR)/ldscripts/$(ARCH)/app.ld
51 APPSGLUE := $(LIBS_BUILD_DIR)/glue/glue.o
52 APPS := $(addprefix $(APPS_BUILD_DIR)/, \
53         cpptest/cpptest \
54         false/false \
55         fibo/fibo \
56         fortune/fortune \
57         init/init \
58         ls/ls \
59         mount/mount \
60         rld/rld.so \
61         rldtest/rldtest \
62         shell/shell \
63         test_output/test_output \
64         test_input/test_input \
65         testapp/testapp \
66         true/true \
67         unmount/unmount \
68         vmtest/vmtest \
69         vtcolors/vtcolors \
70         rm/rm\
71         ps/ps \
72         top/top \
73         netcfg/netcfg \
74         nettest/nettest \
75         irc/irc \
76         consoled/consoled \
77         socketd/socketd \
78         telnetd/telnetd \
79         inputd/inputd \
80         window_server/window_server \
81         guiapp/guiapp \
82         disktest/disktest \
84 ULIBS := \
85         $(LIBS_BUILD_DIR)/libc/libc.so \
86         $(LIBS_BUILD_DIR)/libm/libm.so \
87         $(LIBS_BUILD_DIR)/libnewos/libnewos.so \
88         $(LIBS_BUILD_DIR)/libsocket/libsocket.so \
89         $(LIBS_BUILD_DIR)/libsupc++/libsupc++.so \
90         $(LIBS_BUILD_DIR)/libwin/libwin.so
92 ULIB_PATHS :=
93 #$(warning APPS = $(APPS))
95 STATICFILES_DIR := $(call TOBUILDDIR, static)
96 STATICFILES := $(addprefix $(STATICFILES_DIR)/, \
99 FINAL := $(call TOBUILDDIR, final)
100 #$(warning FINAL = $(FINAL))
102 include make.config.$(ARCH)
104 ALL := \
105         $(KERNEL) \
106         $(KERNEL_ADDONS) \
107         $(APPS) \
108         $(LIBS)
110 #$(warning ALL = $(ALL))