1 STDINCLUDE := -Iinclude -Iinclude/libc -Iinclude/libc++ $(LIBGCC_INCLUDE)
2 GLOBAL_CFLAGS := $(GLOBAL_CFLAGS) -include include/newos/sysconfig.h
5 LIBS_BUILD_DIR := $(call TOBUILDDIR, lib)
6 LIBS := $(addprefix $(LIBS_BUILD_DIR)/, \
13 libnewos/libnewos.so \
15 libsocket/libsocket.so \
16 libsocket/libsocket.a \
17 libsupc++/libsupc++.so \
18 libsupc++/libsupc++.a \
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))
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)/, \
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)/, \
63 test_output/test_output \
64 test_input/test_input \
80 window_server/window_server \
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
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)
110 #$(warning ALL = $(ALL))