Changes in uspace/lib/c/Makefile [1d24ad3:1a2befb] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/Makefile
r1d24ad3 r1a2befb 31 31 ROOT_PATH = $(USPACE_PREFIX)/.. 32 32 33 COMMON_MAKEFILE = $(ROOT_PATH)/Makefile.common 34 COMMON_HEADER = $(ROOT_PATH)/common.h 33 CONFIG_MAKEFILE = $(ROOT_PATH)/Makefile.config 35 34 COMMON_HEADER_ARCH = arch/$(UARCH)/include/libarch/common.h 36 37 CONFIG_MAKEFILE = $(ROOT_PATH)/Makefile.config38 35 39 36 LINKER_SCRIPTS = \ … … 48 45 LIBRARY = libc 49 46 SLIBRARY = libc.so.0.0 50 LSONAME = libc.so0 51 52 53 -include $(COMMON_MAKEFILE) 47 LSONAME = libc.so.0 48 54 49 -include $(CONFIG_MAKEFILE) 55 50 -include arch/$(UARCH)/Makefile.inc 51 52 ARCH_AUTOGENS_H := $(addsuffix .h,$(basename $(ARCH_AUTOGENS_AG))) 53 ARCH_AUTOGENS_PROBE_C := $(addsuffix .ag.probe.c,$(basename $(ARCH_AUTOGENS_AG))) 54 ARCH_AUTOGENS_PROBE_S := $(addsuffix .ag.probe.s,$(basename $(ARCH_AUTOGENS_AG))) 55 56 PRE_DEPEND += $(ARCH_AUTOGENS_H) 57 EXTRA_CLEAN += $(ARCH_AUTOGENS_H) $(ARCH_AUTOGENS_PROBE_C) $(ARCH_AUTOGENS_PROBE_S) 56 58 57 59 GENERIC_SOURCES = \ … … 62 64 generic/bd_srv.c \ 63 65 generic/cap.c \ 64 generic/cfg.c \65 66 generic/clipboard.c \ 67 generic/config.c \ 68 generic/corecfg.c \ 66 69 generic/devman.c \ 67 70 generic/device/hw_res.c \ 68 71 generic/device/hw_res_parsed.c \ 69 generic/device/ char_dev.c \72 generic/device/pio_window.c \ 70 73 generic/device/clock_dev.c \ 71 generic/device/battery_dev.c \ 72 generic/device/graph_dev.c \ 73 generic/device/nic.c \ 74 generic/device/pci.c \ 75 generic/device/ahci.c \ 74 generic/device/led_dev.c \ 75 generic/dhcp.c \ 76 76 generic/dnsr.c \ 77 77 generic/dlfcn.c \ 78 78 generic/elf/elf_load.c \ 79 generic/elf/elf_mod.c \ 79 80 generic/event.c \ 80 81 generic/errno.c \ … … 88 89 generic/pcb.c \ 89 90 generic/smc.c \ 91 generic/smp_memory_barrier.c \ 90 92 generic/thread.c \ 91 93 generic/tls.c \ 92 94 generic/task.c \ 93 95 generic/futex.c \ 96 generic/imath.c \ 94 97 generic/inet/addr.c \ 98 generic/inet/endpoint.c \ 99 generic/inet/host.c \ 100 generic/inet/hostname.c \ 101 generic/inet/hostport.c \ 102 generic/inet/tcp.c \ 103 generic/inet/udp.c \ 95 104 generic/inet.c \ 96 105 generic/inetcfg.c \ 97 106 generic/inetping.c \ 98 generic/inetping6.c \99 107 generic/io/asprintf.c \ 100 108 generic/io/input.c \ 101 109 generic/io/io.c \ 110 generic/io/chardev.c \ 111 generic/io/chardev_srv.c \ 102 112 generic/io/chargrid.c \ 103 113 generic/io/output.c \ … … 105 115 generic/io/log.c \ 106 116 generic/io/logctl.c \ 117 generic/io/kio.c \ 107 118 generic/io/klog.c \ 108 119 generic/io/snprintf.c \ … … 116 127 generic/iplink.c \ 117 128 generic/iplink_srv.c \ 129 generic/irc.c \ 130 generic/irq.c \ 118 131 generic/ieee_double.c \ 119 132 generic/power_of_ten.c \ … … 126 139 generic/loader.c \ 127 140 generic/getopt.c \ 141 generic/adt/checksum.c \ 128 142 generic/adt/list.c \ 129 143 generic/adt/hash_table.c \ 130 generic/adt/dynamic_fifo.c \ 131 generic/adt/char_map.c \ 144 generic/adt/odict.c \ 132 145 generic/adt/prodcons.c \ 133 146 generic/time.c \ 134 147 generic/stdlib.c \ 135 generic/mman.c \136 148 generic/udebug.c \ 137 149 generic/vfs/vfs.c \ 138 150 generic/vfs/canonify.c \ 139 generic/net/inet.c \ 140 generic/net/socket_client.c \ 141 generic/net/socket_parse.c \ 151 generic/rcu.c \ 152 generic/setjmp.c \ 142 153 generic/stack.c \ 143 154 generic/stacktrace.c \ … … 146 157 generic/stats.c \ 147 158 generic/assert.c \ 148 generic/pio_trace.c 159 generic/pio_trace.c \ 160 generic/uuid.c \ 161 generic/vbd.c \ 162 generic/vol.c 149 163 150 164 ifeq ($(CONFIG_RTLD),y) … … 160 174 $(ARCH_SOURCES) 161 175 176 TEST_SOURCES = \ 177 test/main.c \ 178 test/odict.c \ 179 test/sprintf.c \ 180 test/str.c 181 162 182 include $(USPACE_PREFIX)/Makefile.common 163 183 184 %.h: %.ag 185 $(AUTOGEN) probe $< >$<.probe.c 186 $(CC) $(DEFS) $(CFLAGS) -S -o $<.probe.s $<.probe.c 187 $(AUTOGEN) generate $< <$<.probe.s >$@ 164 188 165 189 $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld: $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld.in
Note:
See TracChangeset
for help on using the changeset viewer.