Changeset 15d0046 in mainline for uspace/lib/c/Makefile


Ignore:
Timestamp:
2014-09-12T13:22:33Z (10 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
9b20126
Parents:
8db09e4 (diff), 105d8d6 (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.
Message:

Merge mainline changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/Makefile

    r8db09e4 r15d0046  
    5050-include arch/$(UARCH)/Makefile.inc
    5151
     52ARCH_AUTOGENS_H := $(addsuffix .h,$(basename $(ARCH_AUTOGENS_AG)))
     53ARCH_AUTOGENS_PROBE_C := $(addsuffix .ag.probe.c,$(basename $(ARCH_AUTOGENS_AG)))
     54ARCH_AUTOGENS_PROBE_S := $(addsuffix .ag.probe.s,$(basename $(ARCH_AUTOGENS_AG)))
     55
     56PRE_DEPEND += $(ARCH_AUTOGENS_H)
     57EXTRA_CLEAN += $(ARCH_AUTOGENS_H) $(ARCH_AUTOGENS_PROBE_C) $(ARCH_AUTOGENS_PROBE_S)
     58
    5259GENERIC_SOURCES = \
    5360        generic/libc.c \
     
    6572        generic/device/pio_window.c \
    6673        generic/device/clock_dev.c \
     74        generic/device/led_dev.c \
    6775        generic/dhcp.c \
    6876        generic/dnsr.c \
     
    9199        generic/io/input.c \
    92100        generic/io/io.c \
     101        generic/io/chardev.c \
     102        generic/io/chardev_srv.c \
    93103        generic/io/chargrid.c \
    94104        generic/io/output.c \
     
    108118        generic/iplink.c \
    109119        generic/iplink_srv.c \
     120        generic/irc.c \
     121        generic/irq.c \
    110122        generic/ieee_double.c \
    111123        generic/power_of_ten.c \
     
    159171include $(USPACE_PREFIX)/Makefile.common
    160172
     173%.h: %.ag
     174        $(AUTOGEN) probe $< >$<.probe.c
     175        $(CC) $(DEFS) $(CFLAGS) -S -o $<.probe.s $<.probe.c
     176        $(AUTOGEN) generate $< <$<.probe.s >$@   
     177
    161178$(LIBC_PREFIX)/arch/$(UARCH)/_link.ld: $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld.in
    162179        $(CC) $(DEFS) $(CFLAGS) -DLIBC_PATH=$(CURDIR) -E -x c $< | grep -v "^\#" > $@
Note: See TracChangeset for help on using the changeset viewer.