Changeset 21365c0 in mainline for uspace/lib/c/Makefile
- Timestamp:
- 2014-09-02T19:34:08Z (10 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 4dc7a84
- Parents:
- 5713e5f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/Makefile
r5713e5f r21365c0 49 49 -include $(CONFIG_MAKEFILE) 50 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) 51 58 52 59 GENERIC_SOURCES = \ … … 160 167 include $(USPACE_PREFIX)/Makefile.common 161 168 169 %.h: %.ag 170 $(AUTOGEN) probe $< >$<.probe.c 171 $(CC) $(DEFS) $(CFLAGS) -S -o $<.probe.s $<.probe.c 172 $(AUTOGEN) generate $< <$<.probe.s >$@ 173 162 174 $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld: $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld.in 163 175 $(CC) $(DEFS) $(CFLAGS) -DLIBC_PATH=$(CURDIR) -E -x c $< | grep -v "^\#" > $@
Note:
See TracChangeset
for help on using the changeset viewer.