Changeset 48e1467 in mainline for uspace/lib/libc/Makefile
- Timestamp:
- 2010-01-22T16:52:17Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 0cb2d72
- Parents:
- 92bee46 (diff), 9d3133d (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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/libc/Makefile
r92bee46 r48e1467 1 1 # 2 2 # Copyright (c) 2005 Martin Decky 3 # Copyright (c) 2007 Jakub Jermar 3 4 # All rights reserved. 4 5 # … … 27 28 # 28 29 29 include Makefile.common 30 -include ../../../Makefile.config 30 31 31 .PHONY: all clean 32 USPACE_PREFIX = $(shell pwd)/../.. 33 #LIBS = $(LIBC_PREFIX)/libc.a 34 LIBS = 32 35 33 all: ../../../Makefile.config ../../../config.h ../../../config.defs 34 -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV) 35 $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK) 36 LINK = arch/$(UARCH)/_link.ld 36 37 37 clean: 38 rm -f $(DEPEND) $(DEPEND_PREV) $(JOB) $(INCLUDE_KERNEL) $(INCLUDE_ARCH) $(INCLUDE_LIBARCH) $(LIBC) arch/*/_link.ld 39 find generic/ arch/*/ -name '*.o' -follow -exec rm \{\} \; 38 PRE_DEPEND = $(INCLUDE_KERNEL) $(INCLUDE_ARCH) $(INCLUDE_LIBARCH) 39 EXTRA_CLEAN = $(INCLUDE_KERNEL) $(INCLUDE_ARCH) $(INCLUDE_LIBARCH) 40 EXTRA_OUTPUT = $(LINK) 41 42 INCLUDE_KERNEL = include/kernel 43 INCLUDE_ARCH = include/arch 44 INCLUDE_LIBARCH = include/libarch 45 46 OUTPUT = libc.a 47 48 GENERIC_SOURCES = \ 49 generic/libc.c \ 50 generic/ddi.c \ 51 generic/as.c \ 52 generic/cap.c \ 53 generic/clipboard.c \ 54 generic/devmap.c \ 55 generic/event.c \ 56 generic/errno.c \ 57 generic/mem.c \ 58 generic/string.c \ 59 generic/fibril.c \ 60 generic/fibril_synch.c \ 61 generic/pcb.c \ 62 generic/smc.c \ 63 generic/thread.c \ 64 generic/tls.c \ 65 generic/task.c \ 66 generic/futex.c \ 67 generic/io/asprintf.c \ 68 generic/io/io.c \ 69 generic/io/printf.c \ 70 generic/io/klog.c \ 71 generic/io/snprintf.c \ 72 generic/io/vprintf.c \ 73 generic/io/vsnprintf.c \ 74 generic/io/printf_core.c \ 75 generic/io/console.c \ 76 generic/malloc.c \ 77 generic/sysinfo.c \ 78 generic/ipc.c \ 79 generic/async.c \ 80 generic/loader.c \ 81 generic/getopt.c \ 82 generic/adt/list.o \ 83 generic/adt/hash_table.o \ 84 generic/time.c \ 85 generic/err.c \ 86 generic/stdlib.c \ 87 generic/mman.c \ 88 generic/udebug.c \ 89 generic/vfs/vfs.c \ 90 generic/vfs/canonify.c \ 91 generic/stacktrace.c 92 93 ARCH_SOURCES = \ 94 arch/$(UARCH)/src/entry.s \ 95 arch/$(UARCH)/src/thread_entry.s 96 97 SOURCES = \ 98 $(GENERIC_SOURCES) \ 99 $(ARCH_SOURCES) 100 101 include ../Makefile.common 102 103 $(INCLUDE_ARCH): $(INCLUDE_KERNEL) $(INCLUDE_KERNEL)/arch 104 ln -sfn kernel/arch $@ 105 106 $(INCLUDE_LIBARCH): arch/$(UARCH)/include 107 ln -sfn ../$< $@ 108 109 $(INCLUDE_KERNEL)/arch: ../../../kernel/generic/include/arch $(INCLUDE_KERNEL) 110 111 $(INCLUDE_KERNEL): ../../../kernel/generic/include/ 112 ln -sfn ../$< $@ 113 114 $(LINK): $(LINK).in 115 $(GCC) $(DEFS) $(CFLAGS) -DLIBC_PREFIX=$(LIBC_PREFIX) -E -x c $< | grep -v "^\#" > $@
Note:
See TracChangeset
for help on using the changeset viewer.