mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-20 05:19:21 +08:00
Cygwin: gendef generates sigfe.s and cygwin.def
Express that gendef generates sigfe.s and cygwin.def in a slightly less nutty way.
This commit is contained in:
parent
b5bc608b32
commit
74a164f1c1
@ -785,16 +785,13 @@ $(VERSION_OFILES): version.cc
|
||||
Makefile: ${srcdir}/Makefile.in
|
||||
/bin/sh ./config.status
|
||||
|
||||
$(DEF_FILE): gendef $(srcdir)/$(TLSOFFSETS_H) $(DIN_FILE)
|
||||
$(word 1,$^) --cpu=${target_cpu} --output-def=$@ --tlsoffsets=$(word 2,$^) $(wordlist 3,99,$^)
|
||||
$(DEF_FILE) sigfe.s: gendef $(srcdir)/$(TLSOFFSETS_H) $(DIN_FILE)
|
||||
$(word 1,$^) --cpu=${target_cpu} --output-def=$(DEF_FILE) --tlsoffsets=$(word 2,$^) $(wordlist 3,4,$^)
|
||||
|
||||
$(srcdir)/$(TLSOFFSETS_H): gentls_offsets cygtls.h
|
||||
$^ $@ $(target_cpu) $(COMPILE.cc) -c || rm $@
|
||||
|
||||
sigfe.s: $(DEF_FILE)
|
||||
@[ -s $@ ] || \
|
||||
{ rm -f $(DEF_FILE); $(MAKE) -s -j1 $(DEF_FILE); }; \
|
||||
[ -s $@ ] && touch $@
|
||||
|
||||
sigfe.o: sigfe.s $(srcdir)/$(TLSOFFSETS_H)
|
||||
$(CC) ${CFLAGS} -c -o $@ $<
|
||||
|
Loading…
x
Reference in New Issue
Block a user