Changeset 4196304 in mainline for uspace/lib/c/Makefile


Ignore:
Timestamp:
2010-04-09T13:12:49Z (15 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
ddfcfeb2
Parents:
a1caa3c2
Message:

use integer types detected by autotool also in uspace

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/Makefile

    ra1caa3c2 r4196304  
    3535INCLUDE_LIBARCH = include/libarch
    3636
    37 PRE_DEPEND = $(INCLUDE_KERNEL) $(INCLUDE_ARCH) $(INCLUDE_LIBARCH)
     37COMMON_MAKEFILE = $(ROOT_PATH)/Makefile.common
     38COMMON_HEADER = $(ROOT_PATH)/common.h
     39COMMON_HEADER_ARCH = arch/$(UARCH)/include/common.h
     40
     41CONFIG_MAKEFILE = $(ROOT_PATH)/Makefile.config
     42
     43PRE_DEPEND = $(INCLUDE_KERNEL) $(INCLUDE_ARCH) $(INCLUDE_LIBARCH) $(COMMON_HEADER_ARCH)
    3844EXTRA_OUTPUT = $(LINKER_SCRIPT)
    39 EXTRA_CLEAN = $(INCLUDE_KERNEL) $(INCLUDE_ARCH) $(INCLUDE_LIBARCH) $(LINKER_SCRIPT)
     45EXTRA_CLEAN = $(INCLUDE_KERNEL) $(INCLUDE_ARCH) $(INCLUDE_LIBARCH) $(COMMON_HEADER_ARCH) $(LINKER_SCRIPT)
    4046LIBRARY = libc
    41 
    42 COMMON_MAKEFILE = $(ROOT_PATH)/Makefile.common
    43 CONFIG_MAKEFILE = $(ROOT_PATH)/Makefile.config
    4447
    4548-include $(COMMON_MAKEFILE)
     
    112115$(LINKER_SCRIPT): $(LINKER_SCRIPT).in
    113116        $(GCC) $(DEFS) $(CFLAGS) -DLIBC_PATH=$(CURDIR) -E -x c $< | grep -v "^\#" > $@
     117
     118$(COMMON_HEADER_ARCH): $(COMMON_HEADER)
     119        ln -sfn ../../../$< $@
Note: See TracChangeset for help on using the changeset viewer.