Changeset 4c53333 in mainline for uspace/lib/c/Makefile
- Timestamp:
- 2013-07-11T08:21:10Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 64e63ce1
- Parents:
- 80445cf (diff), c8bb1633 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/Makefile
r80445cf r4c53333 31 31 ROOT_PATH = $(USPACE_PREFIX)/.. 32 32 33 INCLUDE_ABI = include/abi34 INCLUDE_LIBARCH = include/libarch35 36 33 COMMON_MAKEFILE = $(ROOT_PATH)/Makefile.common 37 34 COMMON_HEADER = $(ROOT_PATH)/common.h 38 COMMON_HEADER_ARCH = arch/$(UARCH)/include/ common.h35 COMMON_HEADER_ARCH = arch/$(UARCH)/include/libarch/common.h 39 36 40 37 CONFIG_MAKEFILE = $(ROOT_PATH)/Makefile.config … … 46 43 $(LIBC_PREFIX)/arch/$(UARCH)/_link-dlexe.ld 47 44 48 PRE_DEPEND = $( INCLUDE_ABI) $(INCLUDE_LIBARCH) $(COMMON_HEADER_ARCH)45 PRE_DEPEND = $(COMMON_HEADER_ARCH) 49 46 EXTRA_OUTPUT = $(LINKER_SCRIPTS) 50 EXTRA_CLEAN = $( INCLUDE_ABI) $(INCLUDE_LIBARCH) $(COMMON_HEADER_ARCH) $(LINKER_SCRIPTS)47 EXTRA_CLEAN = $(COMMON_HEADER_ARCH) $(LINKER_SCRIPTS) 51 48 LIBRARY = libc 52 49 SLIBRARY = libc.so.0.0 … … 62 59 generic/ddi.c \ 63 60 generic/as.c \ 61 generic/bd.c \ 62 generic/bd_srv.c \ 63 generic/bitops.c \ 64 64 generic/cap.c \ 65 65 generic/cfg.c \ … … 69 69 generic/device/hw_res_parsed.c \ 70 70 generic/device/char_dev.c \ 71 generic/device/clock_dev.c \ 72 generic/device/battery_dev.c \ 73 generic/device/graph_dev.c \ 71 74 generic/device/nic.c \ 72 75 generic/device/pci.c \ 76 generic/device/ahci.c \ 77 generic/dnsr.c \ 78 generic/dlfcn.c \ 73 79 generic/elf/elf_load.c \ 74 80 generic/event.c \ … … 87 93 generic/task.c \ 88 94 generic/futex.c \ 95 generic/inet/addr.c \ 89 96 generic/inet.c \ 90 97 generic/inetcfg.c \ 91 98 generic/inetping.c \ 99 generic/inetping6.c \ 92 100 generic/io/asprintf.c \ 101 generic/io/input.c \ 93 102 generic/io/io.c \ 103 generic/io/chargrid.c \ 104 generic/io/output.c \ 94 105 generic/io/printf.c \ 95 106 generic/io/log.c \ 107 generic/io/logctl.c \ 96 108 generic/io/klog.c \ 97 109 generic/io/snprintf.c \ … … 99 111 generic/io/vsnprintf.c \ 100 112 generic/io/printf_core.c \ 113 generic/io/con_srv.c \ 101 114 generic/io/console.c \ 115 generic/io/visualizer.c \ 116 generic/io/window.c \ 102 117 generic/iplink.c \ 103 118 generic/iplink_srv.c \ 119 generic/ieee_double.c \ 120 generic/power_of_ten.c \ 121 generic/double_to_str.c \ 104 122 generic/malloc.c \ 105 123 generic/sysinfo.c \ … … 111 129 generic/adt/list.c \ 112 130 generic/adt/hash_table.c \ 113 generic/adt/hash_set.c \114 131 generic/adt/dynamic_fifo.c \ 115 132 generic/adt/char_map.c \ … … 122 139 generic/vfs/canonify.c \ 123 140 generic/net/inet.c \ 124 generic/net/modules.c \125 141 generic/net/socket_client.c \ 126 142 generic/net/socket_parse.c \ 143 generic/stack.c \ 127 144 generic/stacktrace.c \ 128 145 generic/arg_parse.c \ 129 146 generic/sort.c \ 130 147 generic/stats.c \ 131 generic/assert.c 148 generic/assert.c \ 149 generic/pio_trace.c 132 150 133 151 ifeq ($(CONFIG_RTLD),y) 134 152 GENERIC_SOURCES += \ 135 generic/dlfcn.c \136 153 generic/rtld/rtld.c \ 137 154 generic/rtld/dynamic.c \ … … 146 163 include $(USPACE_PREFIX)/Makefile.common 147 164 148 $(INCLUDE_LIBARCH): arch/$(UARCH)/include149 ln -sfn ../$< $@150 151 $(INCLUDE_ABI): ../../../abi/include/152 ln -sfn ../$< $@153 165 154 166 $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld: $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld.in 155 $( GCC) $(DEFS) $(CFLAGS) -DLIBC_PATH=$(CURDIR) -E -x c $< | grep -v "^\#" > $@167 $(CC) $(DEFS) $(CFLAGS) -DLIBC_PATH=$(CURDIR) -E -x c $< | grep -v "^\#" > $@ 156 168 157 169 $(LIBC_PREFIX)/arch/$(UARCH)/_link-loader.ld: $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld.in 158 $( GCC) $(DEFS) $(CFLAGS) -DLIBC_PATH=$(CURDIR) -DLOADER -E -x c $< | grep -v "^\#" > $@170 $(CC) $(DEFS) $(CFLAGS) -DLIBC_PATH=$(CURDIR) -DLOADER -E -x c $< | grep -v "^\#" > $@ 159 171 160 172 $(LIBC_PREFIX)/arch/$(UARCH)/_link-shlib.ld: $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld.in 161 $( GCC) $(DEFS) $(CFLAGS) -DLIBC_PATH=$(CURDIR) -DSHLIB -E -x c $< | grep -v "^\#" > $@173 $(CC) $(DEFS) $(CFLAGS) -DLIBC_PATH=$(CURDIR) -DSHLIB -E -x c $< | grep -v "^\#" > $@ 162 174 163 175 $(LIBC_PREFIX)/arch/$(UARCH)/_link-dlexe.ld: $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld.in 164 $( GCC) $(DEFS) $(CFLAGS) -DLIBC_PATH=$(CURDIR) -DDLEXE -E -x c $< | grep -v "^\#" > $@176 $(CC) $(DEFS) $(CFLAGS) -DLIBC_PATH=$(CURDIR) -DDLEXE -E -x c $< | grep -v "^\#" > $@ 165 177 166 178 $(COMMON_HEADER_ARCH): $(COMMON_HEADER) 167 ln -sfn ../../../ $< $@179 ln -sfn ../../../../$< $@
Note:
See TracChangeset
for help on using the changeset viewer.