Changes in uspace/lib/c/Makefile [0aae87a6:bd88bee] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/Makefile
r0aae87a6 rbd88bee 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 \ 68 66 generic/clipboard.c \ 67 generic/corecfg.c \ 69 68 generic/devman.c \ 70 69 generic/device/hw_res.c \ 71 70 generic/device/hw_res_parsed.c \ 71 generic/device/pio_window.c \ 72 72 generic/device/char_dev.c \ 73 73 generic/device/clock_dev.c \ … … 77 77 generic/device/pci.c \ 78 78 generic/device/ahci.c \ 79 generic/dhcp.c \ 80 generic/dnsr.c \ 79 81 generic/dlfcn.c \ 80 82 generic/elf/elf_load.c \ … … 94 96 generic/task.c \ 95 97 generic/futex.c \ 98 generic/inet/addr.c \ 96 99 generic/inet.c \ 97 100 generic/inetcfg.c \ 98 101 generic/inetping.c \ 102 generic/inetping6.c \ 99 103 generic/io/asprintf.c \ 100 104 generic/io/input.c \ … … 145 149 generic/sort.c \ 146 150 generic/stats.c \ 147 generic/assert.c 151 generic/assert.c \ 152 generic/pio_trace.c 148 153 149 154 ifeq ($(CONFIG_RTLD),y) … … 161 166 include $(USPACE_PREFIX)/Makefile.common 162 167 163 $(INCLUDE_LIBARCH): arch/$(UARCH)/include164 ln -sfn ../$< $@165 166 $(INCLUDE_ABI): ../../../abi/include/167 ln -sfn ../$< $@168 168 169 169 $(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 "^\#" > $@170 $(CC) $(DEFS) $(CFLAGS) -DLIBC_PATH=$(CURDIR) -E -x c $< | grep -v "^\#" > $@ 171 171 172 172 $(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 "^\#" > $@173 $(CC) $(DEFS) $(CFLAGS) -DLIBC_PATH=$(CURDIR) -DLOADER -E -x c $< | grep -v "^\#" > $@ 174 174 175 175 $(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 "^\#" > $@176 $(CC) $(DEFS) $(CFLAGS) -DLIBC_PATH=$(CURDIR) -DSHLIB -E -x c $< | grep -v "^\#" > $@ 177 177 178 178 $(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 "^\#" > $@179 $(CC) $(DEFS) $(CFLAGS) -DLIBC_PATH=$(CURDIR) -DDLEXE -E -x c $< | grep -v "^\#" > $@ 180 180 181 181 $(COMMON_HEADER_ARCH): $(COMMON_HEADER) 182 ln -sfn ../../../ $< $@182 ln -sfn ../../../../$< $@
Note:
See TracChangeset
for help on using the changeset viewer.