Changeset e3bc355 in mainline for uspace/lib/c/Makefile
- Timestamp:
- 2013-07-28T23:07:18Z (11 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 2b55edb
- Parents:
- 283ea3d (diff), ccdc63e (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
r283ea3d re3bc355 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 … … 64 61 generic/bd.c \ 65 62 generic/bd_srv.c \ 63 generic/bitops.c \ 66 64 generic/cap.c \ 67 65 generic/cfg.c \ … … 78 76 generic/device/pci.c \ 79 77 generic/device/ahci.c \ 78 generic/dnsr.c \ 80 79 generic/dlfcn.c \ 81 80 generic/elf/elf_load.c \ … … 95 94 generic/task.c \ 96 95 generic/futex.c \ 96 generic/inet/addr.c \ 97 97 generic/inet.c \ 98 98 generic/inetcfg.c \ 99 99 generic/inetping.c \ 100 generic/inetping6.c \ 100 101 generic/io/asprintf.c \ 101 102 generic/io/input.c \ … … 141 142 generic/net/socket_client.c \ 142 143 generic/net/socket_parse.c \ 144 generic/stack.c \ 143 145 generic/stacktrace.c \ 144 146 generic/arg_parse.c \ 145 147 generic/sort.c \ 146 148 generic/stats.c \ 147 generic/assert.c 149 generic/assert.c \ 150 generic/pio_trace.c 148 151 149 152 ifeq ($(CONFIG_RTLD),y) … … 161 164 include $(USPACE_PREFIX)/Makefile.common 162 165 163 $(INCLUDE_LIBARCH): arch/$(UARCH)/include164 ln -sfn ../$< $@165 166 $(INCLUDE_ABI): ../../../abi/include/167 ln -sfn ../$< $@168 166 169 167 $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld: $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld.in 170 $( GCC) $(DEFS) $(CFLAGS) -DLIBC_PATH=$(CURDIR) -E -x c $< | grep -v "^\#" > $@168 $(CC) $(DEFS) $(CFLAGS) -DLIBC_PATH=$(CURDIR) -E -x c $< | grep -v "^\#" > $@ 171 169 172 170 $(LIBC_PREFIX)/arch/$(UARCH)/_link-loader.ld: $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld.in 173 $( GCC) $(DEFS) $(CFLAGS) -DLIBC_PATH=$(CURDIR) -DLOADER -E -x c $< | grep -v "^\#" > $@171 $(CC) $(DEFS) $(CFLAGS) -DLIBC_PATH=$(CURDIR) -DLOADER -E -x c $< | grep -v "^\#" > $@ 174 172 175 173 $(LIBC_PREFIX)/arch/$(UARCH)/_link-shlib.ld: $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld.in 176 $( GCC) $(DEFS) $(CFLAGS) -DLIBC_PATH=$(CURDIR) -DSHLIB -E -x c $< | grep -v "^\#" > $@174 $(CC) $(DEFS) $(CFLAGS) -DLIBC_PATH=$(CURDIR) -DSHLIB -E -x c $< | grep -v "^\#" > $@ 177 175 178 176 $(LIBC_PREFIX)/arch/$(UARCH)/_link-dlexe.ld: $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld.in 179 $( GCC) $(DEFS) $(CFLAGS) -DLIBC_PATH=$(CURDIR) -DDLEXE -E -x c $< | grep -v "^\#" > $@177 $(CC) $(DEFS) $(CFLAGS) -DLIBC_PATH=$(CURDIR) -DDLEXE -E -x c $< | grep -v "^\#" > $@ 180 178 181 179 $(COMMON_HEADER_ARCH): $(COMMON_HEADER) 182 ln -sfn ../../../ $< $@180 ln -sfn ../../../../$< $@
Note:
See TracChangeset
for help on using the changeset viewer.