Changes in uspace/lib/c/Makefile [21365c0:0caa075e] in mainline


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/Makefile

    r21365c0 r0caa075e  
    3131ROOT_PATH = $(USPACE_PREFIX)/..
    3232
     33COMMON_MAKEFILE = $(ROOT_PATH)/Makefile.common
     34COMMON_HEADER = $(ROOT_PATH)/common.h
     35COMMON_HEADER_ARCH = arch/$(UARCH)/include/libarch/common.h
     36
    3337CONFIG_MAKEFILE = $(ROOT_PATH)/Makefile.config
    34 COMMON_HEADER_ARCH = arch/$(UARCH)/include/libarch/common.h
    3538
    3639LINKER_SCRIPTS = \
     
    4750LSONAME = libc.so0
    4851
     52
     53-include $(COMMON_MAKEFILE)
    4954-include $(CONFIG_MAKEFILE)
    5055-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)
    5856
    5957GENERIC_SOURCES = \
     
    7169        generic/device/hw_res_parsed.c \
    7270        generic/device/pio_window.c \
     71        generic/device/char_dev.c \
    7372        generic/device/clock_dev.c \
    74         generic/device/led_dev.c \
     73        generic/device/battery_dev.c \
     74        generic/device/graph_dev.c \
     75        generic/device/nic.c \
     76        generic/device/pci.c \
     77        generic/device/ahci.c \
    7578        generic/dhcp.c \
    7679        generic/dnsr.c \
     
    99102        generic/io/input.c \
    100103        generic/io/io.c \
    101         generic/io/chardev.c \
    102         generic/io/chardev_srv.c \
    103104        generic/io/chargrid.c \
    104105        generic/io/output.c \
     
    118119        generic/iplink.c \
    119120        generic/iplink_srv.c \
    120         generic/irc.c \
    121         generic/irq.c \
    122121        generic/ieee_double.c \
    123122        generic/power_of_ten.c \
     
    138137        generic/time.c \
    139138        generic/stdlib.c \
     139        generic/mman.c \
    140140        generic/udebug.c \
    141141        generic/vfs/vfs.c \
     
    167167include $(USPACE_PREFIX)/Makefile.common
    168168
    169 %.h: %.ag
    170         $(AUTOGEN) probe $< >$<.probe.c
    171         $(CC) $(DEFS) $(CFLAGS) -S -o $<.probe.s $<.probe.c
    172         $(AUTOGEN) generate $< <$<.probe.s >$@   
    173169
    174170$(LIBC_PREFIX)/arch/$(UARCH)/_link.ld: $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld.in
Note: See TracChangeset for help on using the changeset viewer.