Changes in uspace/lib/c/Makefile [1d24ad3:6428115] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/Makefile
r1d24ad3 r6428115 31 31 ROOT_PATH = $(USPACE_PREFIX)/.. 32 32 33 INCLUDE_ABI = include/abi 34 INCLUDE_LIBARCH = include/libarch 35 33 36 COMMON_MAKEFILE = $(ROOT_PATH)/Makefile.common 34 37 COMMON_HEADER = $(ROOT_PATH)/common.h 35 COMMON_HEADER_ARCH = arch/$(UARCH)/include/ libarch/common.h38 COMMON_HEADER_ARCH = arch/$(UARCH)/include/common.h 36 39 37 40 CONFIG_MAKEFILE = $(ROOT_PATH)/Makefile.config … … 43 46 $(LIBC_PREFIX)/arch/$(UARCH)/_link-dlexe.ld 44 47 45 PRE_DEPEND = $( COMMON_HEADER_ARCH)48 PRE_DEPEND = $(INCLUDE_ABI) $(INCLUDE_LIBARCH) $(COMMON_HEADER_ARCH) 46 49 EXTRA_OUTPUT = $(LINKER_SCRIPTS) 47 EXTRA_CLEAN = $( COMMON_HEADER_ARCH) $(LINKER_SCRIPTS)50 EXTRA_CLEAN = $(INCLUDE_ABI) $(INCLUDE_LIBARCH) $(COMMON_HEADER_ARCH) $(LINKER_SCRIPTS) 48 51 LIBRARY = libc 49 52 SLIBRARY = libc.so.0.0 … … 59 62 generic/ddi.c \ 60 63 generic/as.c \ 61 generic/bd.c \62 generic/bd_srv.c \63 64 generic/cap.c \ 64 65 generic/cfg.c \ … … 68 69 generic/device/hw_res_parsed.c \ 69 70 generic/device/char_dev.c \ 70 generic/device/clock_dev.c \71 generic/device/battery_dev.c \72 generic/device/graph_dev.c \73 71 generic/device/nic.c \ 74 72 generic/device/pci.c \ 75 generic/device/ahci.c \76 generic/dnsr.c \77 generic/dlfcn.c \78 73 generic/elf/elf_load.c \ 79 74 generic/event.c \ … … 92 87 generic/task.c \ 93 88 generic/futex.c \ 94 generic/inet/addr.c \95 89 generic/inet.c \ 96 90 generic/inetcfg.c \ 97 91 generic/inetping.c \ 98 generic/inetping6.c \99 92 generic/io/asprintf.c \ 100 generic/io/input.c \101 93 generic/io/io.c \ 102 generic/io/chargrid.c \103 generic/io/output.c \104 94 generic/io/printf.c \ 105 95 generic/io/log.c \ 106 generic/io/logctl.c \107 96 generic/io/klog.c \ 108 97 generic/io/snprintf.c \ … … 110 99 generic/io/vsnprintf.c \ 111 100 generic/io/printf_core.c \ 112 generic/io/con_srv.c \113 101 generic/io/console.c \ 114 generic/io/visualizer.c \115 generic/io/window.c \116 102 generic/iplink.c \ 117 103 generic/iplink_srv.c \ 118 generic/ieee_double.c \119 generic/power_of_ten.c \120 generic/double_to_str.c \121 104 generic/malloc.c \ 122 105 generic/sysinfo.c \ … … 128 111 generic/adt/list.c \ 129 112 generic/adt/hash_table.c \ 113 generic/adt/hash_set.c \ 130 114 generic/adt/dynamic_fifo.c \ 131 115 generic/adt/char_map.c \ … … 138 122 generic/vfs/canonify.c \ 139 123 generic/net/inet.c \ 124 generic/net/modules.c \ 140 125 generic/net/socket_client.c \ 141 126 generic/net/socket_parse.c \ 142 generic/stack.c \143 127 generic/stacktrace.c \ 144 128 generic/arg_parse.c \ 145 129 generic/sort.c \ 146 130 generic/stats.c \ 147 generic/assert.c \ 148 generic/pio_trace.c 131 generic/assert.c 149 132 150 133 ifeq ($(CONFIG_RTLD),y) 151 134 GENERIC_SOURCES += \ 135 generic/dlfcn.c \ 152 136 generic/rtld/rtld.c \ 153 137 generic/rtld/dynamic.c \ … … 162 146 include $(USPACE_PREFIX)/Makefile.common 163 147 148 $(INCLUDE_LIBARCH): arch/$(UARCH)/include 149 ln -sfn ../$< $@ 150 151 $(INCLUDE_ABI): ../../../abi/include/ 152 ln -sfn ../$< $@ 164 153 165 154 $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld: $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld.in 166 $( CC) $(DEFS) $(CFLAGS) -DLIBC_PATH=$(CURDIR) -E -x c $< | grep -v "^\#" > $@155 $(GCC) $(DEFS) $(CFLAGS) -DLIBC_PATH=$(CURDIR) -E -x c $< | grep -v "^\#" > $@ 167 156 168 157 $(LIBC_PREFIX)/arch/$(UARCH)/_link-loader.ld: $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld.in 169 $( CC) $(DEFS) $(CFLAGS) -DLIBC_PATH=$(CURDIR) -DLOADER -E -x c $< | grep -v "^\#" > $@158 $(GCC) $(DEFS) $(CFLAGS) -DLIBC_PATH=$(CURDIR) -DLOADER -E -x c $< | grep -v "^\#" > $@ 170 159 171 160 $(LIBC_PREFIX)/arch/$(UARCH)/_link-shlib.ld: $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld.in 172 $( CC) $(DEFS) $(CFLAGS) -DLIBC_PATH=$(CURDIR) -DSHLIB -E -x c $< | grep -v "^\#" > $@161 $(GCC) $(DEFS) $(CFLAGS) -DLIBC_PATH=$(CURDIR) -DSHLIB -E -x c $< | grep -v "^\#" > $@ 173 162 174 163 $(LIBC_PREFIX)/arch/$(UARCH)/_link-dlexe.ld: $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld.in 175 $( CC) $(DEFS) $(CFLAGS) -DLIBC_PATH=$(CURDIR) -DDLEXE -E -x c $< | grep -v "^\#" > $@164 $(GCC) $(DEFS) $(CFLAGS) -DLIBC_PATH=$(CURDIR) -DDLEXE -E -x c $< | grep -v "^\#" > $@ 176 165 177 166 $(COMMON_HEADER_ARCH): $(COMMON_HEADER) 178 ln -sfn ../../../ ../$< $@167 ln -sfn ../../../$< $@
Note:
See TracChangeset
for help on using the changeset viewer.