Cygwin: silence most custom build rules
This commit is contained in:
parent
93511d575e
commit
9c546e0fd2
|
@ -367,16 +367,16 @@ libdll_a_SOURCES= \
|
||||||
#
|
#
|
||||||
|
|
||||||
shared_info_magic.h: cygmagic shared_info.h
|
shared_info_magic.h: cygmagic shared_info.h
|
||||||
$(srcdir)/cygmagic $@ "$(CC) $(INCLUDES) $(CPPFLAGS) -E -x c++" $(word 2,$^) SHARED_MAGIC 'class shared_info' USER_MAGIC 'class user_info'
|
$(AM_V_GEN)$(srcdir)/cygmagic $@ "$(CC) $(INCLUDES) $(CPPFLAGS) -E -x c++" $(word 2,$^) SHARED_MAGIC 'class shared_info' USER_MAGIC 'class user_info'
|
||||||
|
|
||||||
child_info_magic.h: cygmagic child_info.h
|
child_info_magic.h: cygmagic child_info.h
|
||||||
$(srcdir)/cygmagic $@ "$(CC) $(INCLUDES) $(CPPFLAGS) -E -x c++" $(word 2,$^) CHILD_INFO_MAGIC 'class child_info'
|
$(AM_V_GEN)$(srcdir)/cygmagic $@ "$(CC) $(INCLUDES) $(CPPFLAGS) -E -x c++" $(word 2,$^) CHILD_INFO_MAGIC 'class child_info'
|
||||||
|
|
||||||
globals.h: mkglobals_h globals.cc
|
globals.h: mkglobals_h globals.cc
|
||||||
$^ > $@
|
$(AM_V_GEN)$^ > $@
|
||||||
|
|
||||||
localtime.patched.c: tzcode/localtime.c tzcode/localtime.c.patch
|
localtime.patched.c: tzcode/localtime.c tzcode/localtime.c.patch
|
||||||
patch -u -o localtime.patched.c \
|
$(AM_V_GEN)patch -u -o localtime.patched.c \
|
||||||
$(srcdir)/tzcode/localtime.c \
|
$(srcdir)/tzcode/localtime.c \
|
||||||
$(srcdir)/tzcode/localtime.c.patch
|
$(srcdir)/tzcode/localtime.c.patch
|
||||||
|
|
||||||
|
@ -620,12 +620,12 @@ $(LIBSERVER):
|
||||||
# linker script
|
# linker script
|
||||||
LDSCRIPT=cygwin.sc
|
LDSCRIPT=cygwin.sc
|
||||||
$(LDSCRIPT): $(LDSCRIPT).in
|
$(LDSCRIPT): $(LDSCRIPT).in
|
||||||
$(CC) -E - -P < $^ -o $@
|
$(AM_V_GEN)$(CC) -E - -P < $^ -o $@
|
||||||
|
|
||||||
# cygwin dll
|
# cygwin dll
|
||||||
$(TEST_DLL_NAME): $(LDSCRIPT) dllfixdbg libdll.a $(VERSION_OFILES) $(LIBSERVER)\
|
$(TEST_DLL_NAME): $(LDSCRIPT) dllfixdbg libdll.a $(VERSION_OFILES) $(LIBSERVER)\
|
||||||
$(newlib_build)/libm/libm.a $(newlib_build)/libc/libc.a
|
$(newlib_build)/libm/libm.a $(newlib_build)/libc/libc.a
|
||||||
$(CXX) $(CXXFLAGS) \
|
$(AM_V_CXXLD)$(CXX) $(CXXFLAGS) \
|
||||||
-mno-use-libstdc-wrappers \
|
-mno-use-libstdc-wrappers \
|
||||||
-Wl,--gc-sections -nostdlib -Wl,-T$(LDSCRIPT) -static \
|
-Wl,--gc-sections -nostdlib -Wl,-T$(LDSCRIPT) -static \
|
||||||
-Wl,--heap=0 -Wl,--out-implib,cygdll.a -shared -o $@ \
|
-Wl,--heap=0 -Wl,--out-implib,cygdll.a -shared -o $@ \
|
||||||
|
@ -636,14 +636,14 @@ $(TEST_DLL_NAME): $(LDSCRIPT) dllfixdbg libdll.a $(VERSION_OFILES) $(LIBSERVER)\
|
||||||
$(newlib_build)/libm/libm.a \
|
$(newlib_build)/libm/libm.a \
|
||||||
$(newlib_build)/libc/libc.a \
|
$(newlib_build)/libc/libc.a \
|
||||||
-lgcc -lkernel32 -lntdll -Wl,-Map,cygwin.map
|
-lgcc -lkernel32 -lntdll -Wl,-Map,cygwin.map
|
||||||
$(srcdir)/dllfixdbg $(OBJDUMP) $(OBJCOPY) $@ cygwin1.dbg
|
@$(srcdir)/dllfixdbg $(OBJDUMP) $(OBJCOPY) $@ cygwin1.dbg
|
||||||
@ln -f $@ new-cygwin1.dll
|
@ln -f $@ new-cygwin1.dll
|
||||||
|
|
||||||
# cygwin import library
|
# cygwin import library
|
||||||
toolopts=--cpu=@target_cpu@ --ar=@AR@ --as=@AS@ --nm=@NM@ --objcopy=@OBJCOPY@
|
toolopts=--cpu=@target_cpu@ --ar=@AR@ --as=@AS@ --nm=@NM@ --objcopy=@OBJCOPY@
|
||||||
|
|
||||||
$(DEF_FILE): gendef $(srcdir)/$(TLSOFFSETS_H) $(DIN_FILE) common.din
|
$(DEF_FILE): gendef $(srcdir)/$(TLSOFFSETS_H) $(DIN_FILE) common.din
|
||||||
$(srcdir)/gendef --cpu=@target_cpu@ --output-def=$(DEF_FILE) --tlsoffsets=$(srcdir)/$(TLSOFFSETS_H) $(srcdir)/$(DIN_FILE) $(srcdir)/common.din
|
$(AM_V_GEN)$(srcdir)/gendef --cpu=@target_cpu@ --output-def=$(DEF_FILE) --tlsoffsets=$(srcdir)/$(TLSOFFSETS_H) $(srcdir)/$(DIN_FILE) $(srcdir)/common.din
|
||||||
|
|
||||||
sigfe.s: $(DEF_FILE)
|
sigfe.s: $(DEF_FILE)
|
||||||
@[ -s $@ ] || \
|
@[ -s $@ ] || \
|
||||||
|
@ -652,11 +652,11 @@ sigfe.s: $(DEF_FILE)
|
||||||
|
|
||||||
LIBCOS=$(addsuffix .o,$(basename $(LIB_FILES)))
|
LIBCOS=$(addsuffix .o,$(basename $(LIB_FILES)))
|
||||||
$(LIB_NAME): $(DEF_FILE) $(LIBCOS) | $(TEST_DLL_NAME)
|
$(LIB_NAME): $(DEF_FILE) $(LIBCOS) | $(TEST_DLL_NAME)
|
||||||
$(srcdir)/mkimport $(toolopts) $(NEW_FUNCTIONS) $@ cygdll.a $(wordlist 2,99,$^)
|
$(AM_V_GEN)$(srcdir)/mkimport $(toolopts) $(NEW_FUNCTIONS) $@ cygdll.a $(wordlist 2,99,$^)
|
||||||
|
|
||||||
# cygwin import library used by testsuite
|
# cygwin import library used by testsuite
|
||||||
$(TEST_LIB_NAME): $(LIB_NAME)
|
$(TEST_LIB_NAME): $(LIB_NAME)
|
||||||
perl -p -e 'BEGIN{binmode(STDIN); binmode(STDOUT);}; s/cygwin1/cygwin0/g' < $? > $@
|
$(AM_V_GEN)perl -p -e 'BEGIN{binmode(STDIN); binmode(STDOUT);}; s/cygwin1/cygwin0/g' < $? > $@
|
||||||
|
|
||||||
# sublibs
|
# sublibs
|
||||||
# import libraries for some subset of symbols indicated by given objects
|
# import libraries for some subset of symbols indicated by given objects
|
||||||
|
@ -669,32 +669,32 @@ speclib=\
|
||||||
--exclude='^_main$$'
|
--exclude='^_main$$'
|
||||||
|
|
||||||
libc.a: $(LIB_NAME) libm.a libpthread.a libutil.a
|
libc.a: $(LIB_NAME) libm.a libpthread.a libutil.a
|
||||||
$(speclib) $^ -v $(@F)
|
$(AM_V_GEN)$(speclib) $^ -v $(@F)
|
||||||
|
|
||||||
libm.a: $(LIB_NAME) $(newlib_build)/libm/libm.a $(addsuffix .o,$(basename $(MATH_FILES)))
|
libm.a: $(LIB_NAME) $(newlib_build)/libm/libm.a $(addsuffix .o,$(basename $(MATH_FILES)))
|
||||||
$(speclib) $^ $(@F)
|
$(AM_V_GEN)$(speclib) $^ $(@F)
|
||||||
|
|
||||||
libpthread.a: $(LIB_NAME) pthread.o thread.o libc/call_once.o libc/cnd.o \
|
libpthread.a: $(LIB_NAME) pthread.o thread.o libc/call_once.o libc/cnd.o \
|
||||||
libc/mtx.o libc/thrd.o libc/tss.o
|
libc/mtx.o libc/thrd.o libc/tss.o
|
||||||
$(speclib) $^ $(@F)
|
$(AM_V_GEN)$(speclib) $^ $(@F)
|
||||||
|
|
||||||
libutil.a: $(LIB_NAME) libc/bsdlib.o
|
libutil.a: $(LIB_NAME) libc/bsdlib.o
|
||||||
$(speclib) $^ $(@F)
|
$(AM_V_GEN)$(speclib) $^ $(@F)
|
||||||
|
|
||||||
libdl.a: $(LIB_NAME) dlfcn.o
|
libdl.a: $(LIB_NAME) dlfcn.o
|
||||||
$(speclib) $^ $(@F)
|
$(AM_V_GEN)$(speclib) $^ $(@F)
|
||||||
|
|
||||||
libresolv.a: $(LIB_NAME) libc/minires.o
|
libresolv.a: $(LIB_NAME) libc/minires.o
|
||||||
$(speclib) $^ $(@F)
|
$(AM_V_GEN)$(speclib) $^ $(@F)
|
||||||
|
|
||||||
librt.a: $(LIB_NAME) posix_ipc.o
|
librt.a: $(LIB_NAME) posix_ipc.o
|
||||||
$(speclib) $^ $(@F)
|
$(AM_V_GEN)$(speclib) $^ $(@F)
|
||||||
|
|
||||||
libacl.a: $(LIB_NAME) sec_posixacl.o
|
libacl.a: $(LIB_NAME) sec_posixacl.o
|
||||||
$(speclib) $^ $(@F)
|
$(AM_V_GEN)$(speclib) $^ $(@F)
|
||||||
|
|
||||||
libssp.a: $(LIB_NAME) $(newlib_build)/libc/ssp/lib.a
|
libssp.a: $(LIB_NAME) $(newlib_build)/libc/ssp/lib.a
|
||||||
$(speclib) $^ $(@F)
|
$(AM_V_GEN)$(speclib) $^ $(@F)
|
||||||
|
|
||||||
#
|
#
|
||||||
# all
|
# all
|
||||||
|
|
|
@ -107,56 +107,56 @@ uninstall-hook: uninstall-extra-man uninstall-html uninstall-info uninstall-etc
|
||||||
|
|
||||||
# nochunks ug html is not installed, but will be deployed to website
|
# nochunks ug html is not installed, but will be deployed to website
|
||||||
cygwin-ug-net/cygwin-ug-net-nochunks.html.gz: $(cygwin-ug-net_SOURCES) html.xsl
|
cygwin-ug-net/cygwin-ug-net-nochunks.html.gz: $(cygwin-ug-net_SOURCES) html.xsl
|
||||||
$(XMLTO) html-nochunks -m $(srcdir)/html.xsl $<
|
$(AM_V_GEN)$(XMLTO) html-nochunks -m $(srcdir)/html.xsl $<
|
||||||
@$(MKDIR_P) cygwin-ug-net
|
@$(MKDIR_P) cygwin-ug-net
|
||||||
cp cygwin-ug-net.html cygwin-ug-net/cygwin-ug-net-nochunks.html
|
@cp cygwin-ug-net.html cygwin-ug-net/cygwin-ug-net-nochunks.html
|
||||||
rm -f cygwin-ug-net/cygwin-ug-net-nochunks.html.gz
|
@rm -f cygwin-ug-net/cygwin-ug-net-nochunks.html.gz
|
||||||
gzip cygwin-ug-net/cygwin-ug-net-nochunks.html
|
$(AM_V_at)gzip cygwin-ug-net/cygwin-ug-net-nochunks.html
|
||||||
|
|
||||||
cygwin-ug-net/cygwin-ug-net.html: $(cygwin-ug-net_SOURCES) html.xsl
|
cygwin-ug-net/cygwin-ug-net.html: $(cygwin-ug-net_SOURCES) html.xsl
|
||||||
$(XMLTO) html -o cygwin-ug-net/ -m $(srcdir)/html.xsl $<
|
$(AM_V_GEN)$(XMLTO) html -o cygwin-ug-net/ -m $(srcdir)/html.xsl $<
|
||||||
|
|
||||||
cygwin-ug-net/cygwin-ug-net.pdf: $(cygwin-ug-net_SOURCES) fo.xsl
|
cygwin-ug-net/cygwin-ug-net.pdf: $(cygwin-ug-net_SOURCES) fo.xsl
|
||||||
$(XMLTO) pdf -o cygwin-ug-net/ -m $(srcdir)/fo.xsl $<
|
$(AM_V_GEN)$(XMLTO) pdf -o cygwin-ug-net/ -m $(srcdir)/fo.xsl $<
|
||||||
|
|
||||||
utils2man.stamp: $(cygwin-ug-net_SOURCES) man.xsl
|
utils2man.stamp: $(cygwin-ug-net_SOURCES) man.xsl
|
||||||
$(XMLTO) man -m $(srcdir)/man.xsl $<
|
$(AM_V_GEN)$(XMLTO) man -m $(srcdir)/man.xsl $<
|
||||||
@touch $@
|
@touch $@
|
||||||
|
|
||||||
cygwin-ug-net.info: $(cygwin-ug-net_SOURCES) charmap
|
cygwin-ug-net.info: $(cygwin-ug-net_SOURCES) charmap
|
||||||
$(DOCBOOK2XTEXI) $(srcdir)/cygwin-ug-net.xml --string-param output-file=cygwin-ug-net
|
$(AM_V_GEN)$(DOCBOOK2XTEXI) $(srcdir)/cygwin-ug-net.xml --string-param output-file=cygwin-ug-net
|
||||||
|
|
||||||
cygwin-api/cygwin-api.html: $(cygwin-api_SOURCES) html.xsl
|
cygwin-api/cygwin-api.html: $(cygwin-api_SOURCES) html.xsl
|
||||||
$(XMLTO) html -o cygwin-api/ -m $(srcdir)/html.xsl $<
|
$(AM_V_GEN)$(XMLTO) html -o cygwin-api/ -m $(srcdir)/html.xsl $<
|
||||||
|
|
||||||
cygwin-api/cygwin-api.pdf: $(cygwin-api_SOURCES) fo.xsl
|
cygwin-api/cygwin-api.pdf: $(cygwin-api_SOURCES) fo.xsl
|
||||||
$(XMLTO) pdf -o cygwin-api/ -m $(srcdir)/fo.xsl $<
|
$(AM_V_GEN)$(XMLTO) pdf -o cygwin-api/ -m $(srcdir)/fo.xsl $<
|
||||||
|
|
||||||
api2man.stamp: $(cygwin-api_SOURCES) man.xsl
|
api2man.stamp: $(cygwin-api_SOURCES) man.xsl
|
||||||
$(XMLTO) man -m $(srcdir)/man.xsl $<
|
$(AM_V_GEN)$(XMLTO) man -m $(srcdir)/man.xsl $<
|
||||||
@touch $@
|
@touch $@
|
||||||
|
|
||||||
cygwin-api.info: $(cygwin-api_SOURCES) charmap
|
cygwin-api.info: $(cygwin-api_SOURCES) charmap
|
||||||
$(DOCBOOK2XTEXI) $(srcdir)/cygwin-api.xml --string-param output-file=cygwin-api
|
$(AM_V_GEN)$(DOCBOOK2XTEXI) $(srcdir)/cygwin-api.xml --string-param output-file=cygwin-api
|
||||||
|
|
||||||
# this generates a custom charmap for docbook2x-texi which has a mapping for ®
|
# this generates a custom charmap for docbook2x-texi which has a mapping for ®
|
||||||
charmap:
|
charmap:
|
||||||
cp /usr/share/docbook2X/charmaps/texi.charmap charmap
|
$(AM_V_GEN)cp /usr/share/docbook2X/charmaps/texi.charmap charmap
|
||||||
echo "ae (R)" >>charmap
|
$(AM_V_at)echo "ae (R)" >>charmap
|
||||||
|
|
||||||
intro2man.stamp: intro.xml man.xsl
|
intro2man.stamp: intro.xml man.xsl
|
||||||
$(XMLTO) man -m $(srcdir)/man.xsl $<
|
$(AM_V_GEN)$(XMLTO) man -m $(srcdir)/man.xsl $<
|
||||||
@echo ".so intro.1" >cygwin.1
|
@echo ".so intro.1" >cygwin.1
|
||||||
@touch $@
|
@touch $@
|
||||||
|
|
||||||
faq/faq.html: $(faq_SOURCES) html.xsl
|
faq/faq.html: $(faq_SOURCES) html.xsl
|
||||||
$(XMLTO) html -o faq -m $(srcdir)/html.xsl $(srcdir)/faq.xml
|
$(AM_V_GEN)$(XMLTO) html -o faq -m $(srcdir)/html.xsl $(srcdir)/faq.xml
|
||||||
sed -i 's;<a name="id[mp][0-9]*"></a>;;g' faq/faq.html
|
@sed -i 's;<a name="id[mp][0-9]*"></a>;;g' faq/faq.html
|
||||||
|
|
||||||
# faq body is not installed, but is intended to be deployed to website, where it
|
# faq body is not installed, but is intended to be deployed to website, where it
|
||||||
# can be SSI included in a framing page
|
# can be SSI included in a framing page
|
||||||
faq/faq.body: faq/faq.html
|
faq/faq.body: faq/faq.html
|
||||||
$(srcdir)/bodysnatcher.pl $<
|
$(AM_V_GEN)$(srcdir)/bodysnatcher.pl $<
|
||||||
|
|
||||||
Makefile.dep: cygwin-ug-net.xml cygwin-api.xml faq.xml intro.xml
|
Makefile.dep: cygwin-ug-net.xml cygwin-api.xml faq.xml intro.xml
|
||||||
cd $(srcdir) && ./xidepend $^ > "$(CURDIR)/$@"
|
$(AM_V_GEN)cd $(srcdir) && ./xidepend $^ > "$(CURDIR)/$@"
|
||||||
|
|
Loading…
Reference in New Issue