mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-04 06:35:44 +00:00
* common/commom.am: New. * Makefile.am: Remove TEMPLATES. Put setup.cache into CONFIG_STATUS_DEPENDENCIES instead of CONFIGURE_DEPENDENCIES. * configure.ac: Remove AC_PREFIX_DEFAULT. * binutils/Makefile.am: include common.am. * common/common.add.in: Use rtems.com gnats. * cpukit/Makefile.am: include common.am. * gcc3newlib/Makefile.am: include common.am. * gccnewlib/Makefile.am: include common.am. * gdb/Makefile.am: include common.am. * rtems/Makefile.am: include common.am. * rtemsdoc/Makefile.am: include common.am.
91 lines
3.3 KiB
Makefile
91 lines
3.3 KiB
Makefile
##
|
|
## $Id$
|
|
##
|
|
|
|
include $(top_srcdir)/common/common.am
|
|
|
|
MKGCCNEWLIBSPEC = $(SHELL) $(top_builddir)/mkgccnewlibspec
|
|
|
|
SUBPACKAGES = header.add
|
|
SUBPACKAGES += ../common/common.add
|
|
SUBPACKAGES += gccnewlib.add
|
|
SUBPACKAGES += ../common/clean.add
|
|
SUBPACKAGES += base-gcc.add target-gcc.add \
|
|
base-chill.add target-chill.add \
|
|
base-g77.add target-g77.add \
|
|
base-gcj.add target-gcj.add \
|
|
target-objc.add
|
|
|
|
gccnewlib.spec.in: $(SUBPACKAGES)
|
|
cat $^ \
|
|
| sed -e 's%@GCCLANGS@%%g' > $@
|
|
CLEANFILES = gccnewlib.spec.in
|
|
|
|
gccnewlib_c_only.spec.in: header.add ../common/common.add \
|
|
gccnewlib.add ../common/clean.add base-gcc.add target-gcc.add
|
|
cat $^ \
|
|
| sed -e "s%@GCCLANGS@%\'--enable-languages=c,c++\'%g" > $@
|
|
CLEANFILES += gccnewlib_c_only.spec.in
|
|
|
|
C_ONLY_ARG = -a $(top_builddir)/gccnewlib/gccnewlib_c_only.spec.in
|
|
|
|
MKGCCNEWLIBSPEC_DEPS = $(top_builddir)/mkgccnewlibspec gccnewlib.spec.in \
|
|
$(top_builddir)/setup.cache
|
|
MKGCCNEWLIB_C_ONLY_SPEC_DEPS = $(top_builddir)/mkgccnewlibspec \
|
|
gccnewlib_c_only.spec.in $(top_builddir)/setup.cache
|
|
|
|
arm-rtems-$(GCCNEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
|
|
$(MKGCCNEWLIBSPEC) -cfg $(top_builddir)/setup.cache -o . arm-rtems
|
|
|
|
c4x-rtems-$(GCCNEWLIBVERS).spec: $(MKGCCNEWLIB_C_ONLY_SPEC_DEPS)
|
|
$(MKGCCNEWLIBSPEC) $(C_ONLY_ARG) -cfg $(top_builddir)/setup.cache -o . c4x-rtems
|
|
|
|
h8300-rtems-$(GCCNEWLIBVERS).spec: $(MKGCCNEWLIB_C_ONLY_SPEC_DEPS)
|
|
$(MKGCCNEWLIBSPEC) $(C_ONLY_ARG) -cfg $(top_builddir)/setup.cache -o . h8300-rtems
|
|
|
|
hppa1.1-rtems-$(GCCNEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
|
|
$(MKGCCNEWLIBSPEC) -cfg $(top_builddir)/setup.cache -o . hppa1.1-rtems
|
|
|
|
i386-rtems-$(GCCNEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
|
|
$(MKGCCNEWLIBSPEC) -cfg $(top_builddir)/setup.cache -o . i386-rtems
|
|
|
|
i960-rtems-$(GCCNEWLIBVERS).spec: $(MKGCCNEWLIB_C_ONLY_SPEC_DEPS)
|
|
$(MKGCCNEWLIBSPEC) $(C_ONLY_ARG) -cfg $(top_builddir)/setup.cache -o . i960-rtems
|
|
|
|
m68k-rtems-$(GCCNEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
|
|
$(MKGCCNEWLIBSPEC) -cfg $(top_builddir)/setup.cache -o . m68k-rtems
|
|
|
|
mips64orion-rtems-$(GCCNEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
|
|
$(MKGCCNEWLIBSPEC) -cfg $(top_builddir)/setup.cache -o . mips64orion-rtems
|
|
|
|
mips-rtems-$(GCCNEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
|
|
$(MKGCCNEWLIBSPEC) -cfg $(top_builddir)/setup.cache -o . mips-rtems
|
|
|
|
powerpc-rtems-$(GCCNEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
|
|
$(MKGCCNEWLIBSPEC) -cfg $(top_builddir)/setup.cache -o . powerpc-rtems
|
|
|
|
sh-rtems-$(GCCNEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
|
|
$(MKGCCNEWLIBSPEC) -cfg $(top_builddir)/setup.cache -o . sh-rtems
|
|
|
|
sh-rtemself-$(GCCNEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
|
|
$(MKGCCNEWLIBSPEC) -cfg $(top_builddir)/setup.cache -o . sh-rtemself
|
|
|
|
sparc-rtems-$(GCCNEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS)
|
|
$(MKGCCNEWLIBSPEC) -cfg $(top_builddir)/setup.cache -o . sparc-rtems
|
|
|
|
RPM_SPECS_DATA = \
|
|
arm-rtems-$(GCCNEWLIBVERS).spec \
|
|
c4x-rtems-$(GCCNEWLIBVERS).spec \
|
|
h8300-rtems-$(GCCNEWLIBVERS).spec \
|
|
hppa1.1-rtems-$(GCCNEWLIBVERS).spec \
|
|
i386-rtems-$(GCCNEWLIBVERS).spec i960-rtems-$(GCCNEWLIBVERS).spec \
|
|
m68k-rtems-$(GCCNEWLIBVERS).spec \
|
|
mips-rtems-$(GCCNEWLIBVERS).spec mips64orion-rtems-$(GCCNEWLIBVERS).spec \
|
|
powerpc-rtems-$(GCCNEWLIBVERS).spec sh-rtems-$(GCCNEWLIBVERS).spec \
|
|
sh-rtemself-$(GCCNEWLIBVERS).spec sparc-rtems-$(GCCNEWLIBVERS).spec
|
|
CLEANFILES += $(RPM_SPECS_DATA)
|
|
|
|
EXTRA_DIST = $(SUBPACKAGES)
|
|
|
|
include $(top_srcdir)/../automake/local.am
|