Changeset d2f75eb in mainline for uspace/lib/c/Makefile
- Timestamp:
- 2018-04-17T20:46:03Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 0582039
- Parents:
- 1cac875
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-04-17 20:46:03)
- git-committer:
- GitHub <noreply@…> (2018-04-17 20:46:03)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/Makefile
r1cac875 rd2f75eb 47 47 -include arch/$(UARCH)/Makefile.inc 48 48 49 ARCH_AUTOGENS_H := $(addsuffix .h,$(basename $(ARCH_AUTOGENS_AG))) 50 ARCH_AUTOGENS_PROBE_C := $(addsuffix .ag.probe.c,$(basename $(ARCH_AUTOGENS_AG))) 51 ARCH_AUTOGENS_PROBE_S := $(addsuffix .ag.probe.s,$(basename $(ARCH_AUTOGENS_AG))) 52 53 PRE_DEPEND += $(ARCH_AUTOGENS_H) 54 EXTRA_CLEAN += $(ARCH_AUTOGENS_H) $(ARCH_AUTOGENS_PROBE_C) $(ARCH_AUTOGENS_PROBE_S) 49 ARCH_AUTOGENS_PROBE_C := $(ARCH_AUTOGENS_AG:%.ag.h=.ag.c) 50 ARCH_AUTOGENS_PROBE_S := $(ARCH_AUTOGENS_AG:%.ag.h=.ag.s) 51 52 PRE_DEPEND += $(ARCH_AUTOGENS_AG) 53 EXTRA_CLEAN += $(ARCH_AUTOGENS_AG) $(ARCH_AUTOGENS_PROBE_C) $(ARCH_AUTOGENS_PROBE_S) 55 54 56 55 GENERIC_SOURCES = \ … … 179 178 endif 180 179 180 ARCH_SOURCES += $(ARCH_AUTOCHECK_HEADERS:%.h=%.check.c) 181 181 182 SOURCES = \ 182 183 $(GENERIC_SOURCES) \ … … 195 196 include $(USPACE_PREFIX)/Makefile.common 196 197 197 %.h: %.ag198 $(AUTOGEN) probe $< >$<.probe.c199 $(CC_AUTOGEN) $(DEFS) $(CFLAGS) -S -o $<.probe.s $<.probe.c200 $(AUTOGEN) generate $< <$<.probe.s >$@201 202 198 $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld: $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld.in 203 199 $(CC) $(DEFS) $(CFLAGS) -DLIBC_PATH=$(CURDIR) -E -x c $< | grep -v "^\#" > $@ … … 208 204 $(LIBC_PREFIX)/arch/$(UARCH)/_link-dlexe.ld: $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld.in 209 205 $(CC) $(DEFS) $(CFLAGS) -DLIBC_PATH=$(CURDIR) -DDLEXE -E -x c $< | grep -v "^\#" > $@ 206 207 AUTOCHECK = $(realpath $(ROOT_PATH)/tools/autocheck.awk) 208 209 %.check.c: %.h $(AUTOCHECK) 210 cd $(<D) && $(AUTOCHECK) $(<F) > $(@F)
Note:
See TracChangeset
for help on using the changeset viewer.