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