1 STDINCLUDE := -Iinclude -Iinclude/libc
4 LIBS_BUILD_DIR := $(call TOBUILDDIR, lib)
5 LIBS := $(addprefix $(LIBS_BUILD_DIR)/, \
12 libsocket/libsocket.so \
13 libsocket/libsocket.a \
18 LIBGLUE := $(LIBS_BUILD_DIR)/glue/libglue.o
19 LIBS_LDSCRIPT := $(LIBS_DIR)/ldscripts/$(ARCH)/library.ld
20 LIBC := $(LIBS_BUILD_DIR)/libc/libc.so
21 LIBC_STATIC := $(LIBS_BUILD_DIR)/libc/libc.a
22 #$(warning LIBS = $(LIBS))
25 KERNEL_BUILD_DIR := $(call TOBUILDDIR, kernel)
26 KERNEL := $(KERNEL_BUILD_DIR)/kernel
27 LIBKERNEL := $(KERNEL_BUILD_DIR)/kernel.so
28 KLIBS := $(LIBS_BUILD_DIR)/klibc/klibc.o
29 KERNEL_CFLAGS := $(KERNEL_CFLAGS) -DKERNEL=1 -DDEBUG=1
30 #$(warning KERNEL = $(KERNEL))
32 KERNEL_ADDONS_DIR := kernel/addons
33 KERNEL_ADDONS_BUILD_DIR := $(KERNEL_BUILD_DIR)/addons
34 KERNEL_ADDONS := $(addprefix $(KERNEL_ADDONS_BUILD_DIR)/, \
37 bus_managers/isa/isa \
38 busses/ide/ide_isa/ide_isa \
39 bus_managers/ide/ide \
40 bus_managers/scsi/scsi \
41 generic/locked_pool/locked_pool \
42 generic/scsi_periph/scsi_periph \
43 dev/disk/scsi/scsi_dsk/scsi_dsk \
44 dev/disk/netblock/netblock \
45 generic/blkman/blkman \
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)/, \
76 window_server/window_server \
80 $(LIBS_BUILD_DIR)/libm/libm.so \
81 $(LIBS_BUILD_DIR)/libc/libc.so \
82 $(LIBS_BUILD_DIR)/libsocket/libsocket.so \
83 $(LIBS_BUILD_DIR)/libwin/libwin.so
86 #$(warning APPS = $(APPS))
88 STATICFILES_DIR := $(call TOBUILDDIR, static)
89 STATICFILES := $(addprefix $(STATICFILES_DIR)/, \
92 FINAL := $(call TOBUILDDIR, final)
93 #$(warning FINAL = $(FINAL))
95 include make.config.$(ARCH)
103 #$(warning ALL = $(ALL))