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)/, \
23 LIBGLUE := $(LIBS_BUILD_DIR)/libglue.o
24 LIBS_LDSCRIPT := $(LIBS_DIR)/ldscripts/$(ARCH)/library.ld
25 LIBC := $(LIBS_BUILD_DIR)/libc.so
26 LIBC_STATIC := $(LIBS_BUILD_DIR)/libc.a
27 LIBNEWOS_STATIC := $(LIBS_BUILD_DIR)/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.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)/, \
50 APPS_BUILD_DIR := $(call TOBUILDDIR, apps)
51 APPS_LDSCRIPT = $(APPS_DIR)/ldscripts/$(ARCH)/app.ld
52 APPSGLUE := $(LIBS_BUILD_DIR)/glue.o
53 APPS := $(addprefix $(APPS_BUILD_DIR)/, \
64 test_output/test_output \
65 test_input/test_input \
83 window_server/window_server \
89 $(LIBS_BUILD_DIR)/libc.so \
90 $(LIBS_BUILD_DIR)/libm.so \
91 $(LIBS_BUILD_DIR)/libnewos.so \
92 $(LIBS_BUILD_DIR)/libsocket.so \
93 $(LIBS_BUILD_DIR)/libsupc++.so \
94 $(LIBS_BUILD_DIR)/libwin.so
97 #$(warning APPS = $(APPS))
99 STATICFILES_DIR := $(call TOBUILDDIR, static)
100 STATICFILES := $(addprefix $(STATICFILES_DIR)/, \
103 FINAL := $(call TOBUILDDIR, final)
104 #$(warning FINAL = $(FINAL))
112 include make.config.$(ARCH)
117 #$(warning ALL = $(ALL))