make warning go away. the compiler should remove the call to this function if it...
[newos.git] / make.config
blob977d42b5593cf89bf7b576a33e32c4167b686b73
1 STDINCLUDE := -Iinclude -Iinclude/libc
3 LIBS_DIR := lib
4 LIBS_BUILD_DIR := $(call TOBUILDDIR, lib)
5 LIBS := $(addprefix $(LIBS_BUILD_DIR)/, \
6         glue/glue.o \
7         glue/libglue.o \
8         libm/libm.so \
9         libm/libm.a \
10         libc/libc.so \
11         libc/libc.a \
12         libsocket/libsocket.so \
13         libsocket/libsocket.a \
14         libwin/libwin.so \
15         libwin/libwin.a \
16         klibc/klibc.o \
17 )       
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))
24 KERNEL_DIR := kernel
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)/, \
35         fs/iso9660/iso9660 \
36         fs/zfs/zfs \
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 \
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         false/false \
54         fibo/fibo \
55         fortune/fortune \
56         init/init \
57         ls/ls \
58         mount/mount \
59         rld/rld.so \
60         rldtest/rldtest \
61         shell/shell \
62         testapp/testapp \
63         true/true \
64         unmount/unmount \
65         vmtest/vmtest \
66         vtcolors/vtcolors \
67         rm/rm\
68         ps/ps \
69         top/top \
70         nettest/nettest \
71         irc/irc \
72         consoled/consoled \
73         socketd/socketd \
74         telnetd/telnetd \
75         inputd/inputd \
76         window_server/window_server \
77         guiapp/guiapp \
79 ULIBS := \
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
85 ULIB_PATHS :=
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)
97 ALL := \
98         $(KERNEL) \
99         $(KERNEL_ADDONS) \
100         $(APPS) \
101         $(LIBS)
103 #$(warning ALL = $(ALL))