Changeset d6c83529 in rtems
- Timestamp:
- 11/16/99 15:48:11 (24 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- bd462d1
- Parents:
- fa3346f
- Files:
-
- 2 added
- 24 edited
- 2 moved
Legend:
- Unmodified
- Added
- Removed
-
Makefile.am
rfa3346f rd6c83529 55 55 56 56 noinst_SCRIPTS = \ 57 autogen 57 bootstrap 58 58 59 59 EXTRA_DIST = \ -
bootstrap
-
Property
mode
changed from
100644
to100755
-
Property
mode
changed from
-
c/Makefile.am
rfa3346f rd6c83529 13 13 ## triggered before $(RTEMS_BSP_LIST) subdirectories are made. 14 14 SUBDIRS= \ 15 make \ 15 16 . \ 16 17 $(RTEMS_BSP) -
c/configure.in
rfa3346f rd6c83529 99 99 AC_SUBST(RTEMS_BSP_LIST) 100 100 101 AC_CONFIG_SUBDIRS(make) 102 101 103 AC_OUTPUT( 102 104 Makefile -
c/make/target.cfg.in
rfa3346f rd6c83529 49 49 RTEMS_CPU = @RTEMS_CPU@ 50 50 51 # the following are only used for the bare bsp52 BARE_CPU_MODEL = @BARE_CPU_MODEL@53 BARE_CPU_CFLAGS = @BARE_CPU_CFLAGS@54 55 51 XCFLAGS=$(CFLAGS_FOR_TARGET) 56 52 -
c/src/make/Makefile.am
rfa3346f rd6c83529 9 9 10 10 GENERIC_FILES = \ 11 host.cfg target.cfg11 host.cfg 12 12 13 13 MAKE_FILES = README \ … … 38 38 cp $< $@ 39 39 40 $(srcdir)/target.cfg.in: $(top_srcdir)/@RTEMS_TOPdir@/make/target.cfg.in41 cp $< $@42 40 endif 43 41 -
c/src/make/bsp.cfg.in
rfa3346f rd6c83529 30 30 ## 31 31 HAS_NETWORKING = @HAS_NETWORKING@ 32 33 ## Only used for the bare bsp 34 BARE_CPU_MODEL = @BARE_CPU_MODEL@ 35 BARE_CPU_CFLAGS = @BARE_CPU_CFLAGS@ -
c/src/make/compilers/gcc-target-default.cfg
rfa3346f rd6c83529 83 83 # Define this to yes if C++ is included in the development environment. 84 84 # This requires that at least the GNU C++ compiler and libg++ be installed. 85 ifeq ($( RTEMS_HAS_CPLUSPLUS),yes)85 ifeq ($(HAS_CPLUSPLUS),yes) 86 86 CPLUS_LD_LIBS += $(PROJECT_RELEASE)/lib/librtems++$(LIBSUFFIX_VA) 87 87 endif … … 173 173 # How to compile stuff into ${ARCH} subdirectory 174 174 # 175 # OBSOLETE: we use make's default rules now 176 # 175 177 # NOTE: we override COMPILE.[c|cc|S] 176 178 # because gmake default rules use TARGET_ARCH for different purposes 177 179 # 178 179 COMPILE.c=$(CC) $(CPPFLAGS) $(CFLAGS) -c180 COMPILE.cc=$(CXX) $(CPPFLAGS) $(CXXFLAGS) -c181 COMPILE.S=$(CC) $(ASFLAGS) $(CPPFLAGS) -c180 # 181 # COMPILE.c=$(CC) $(CPPFLAGS) $(CFLAGS) -c 182 # COMPILE.cc=$(CXX) $(CPPFLAGS) $(CXXFLAGS) -c 183 # COMPILE.S=$(CC) $(ASFLAGS) $(CPPFLAGS) -c 182 184 183 185 ${ARCH}/%.o: %.c … … 198 200 ${ARCH}/%.o: %.S 199 201 ${COMPILE.S} -DASM -o $@ $< 200 201 # OBSOLETE: the rule above should be equivalent.202 # strip out C++ style comments.203 # ${ARCH}/%.o: %.S204 # sed -e 's/\/\/.*$$//' < $< | \205 # $(CPP) $(CPPFLAGS) -I. -I$(srcdir) -DASM - >$(ARCH)/$*.i206 # $(AS) $(ASFLAGS) -o $@ $(ARCH)/$*.i207 202 208 203 # Make foo.rel from foo.o … … 217 212 218 213 # Dependency files for use by gmake 219 # NOTE: we don't put in $(TARGET_ARCH)214 # NOTE: we don't put them into $(ARCH) 220 215 # so that 'make clean' doesn't blow it away 221 216 222 DEPEND=Depends-$ (TARGET_ARCH:o-%=%)217 DEPEND=Depends-${ARCH} 223 218 224 219 CLEAN_DEPEND=$(DEPEND).tmp -
c/src/make/configure.in
rfa3346f rd6c83529 125 125 main.cfg 126 126 host.cfg 127 target.cfg128 127 bsp.cfg 129 128 custom/Makefile -
c/src/make/custom/default.cfg.in
rfa3346f rd6c83529 9 9 # 10 10 11 include $(RTEMS_ROOT)/ make/target.cfg11 include $(RTEMS_ROOT)/../make/target.cfg 12 12 include $(RTEMS_ROOT)/make/host.cfg 13 14 # Specify here the host and target "architectures"15 HOST_ARCH=o-$(RTEMS_HOST)16 ifndef TARGET_ARCH17 TARGET_ARCH=o-@RTEMS_BSP@18 endif19 13 20 14 include $(RTEMS_ROOT)/make/main.cfg … … 22 16 23 17 ## Target compiler config file, if any 24 CONFIG. $(TARGET_ARCH).CC = $(RTEMS_ROOT)/make/compilers/gcc-target-default.cfg18 CONFIG.CC = $(RTEMS_ROOT)/make/compilers/gcc-target-default.cfg 25 19 26 20 ## GCC specs extension file location -
c/src/make/main.cfg.in
rfa3346f rd6c83529 18 18 19 19 # 20 # Target architecture; may be changed as per 'make "ARCH= ${TARGET_ARCH}-debug"'20 # Target architecture; may be changed as per 'make "ARCH=debug"' 21 21 # This is where the object files get put. 22 22 # 23 23 24 ARCH= ${TARGET_ARCH}24 ARCH=o-optimize 25 25 26 26 VARIANT= … … 44 44 # Target variant names 45 45 # 46 TARGET_VARIANTS = debug profile46 TARGET_VARIANTS = optimize debug profile 47 47 48 48 # 49 # Generate list of object directories: sun4, sun4-debug, sun4-profile49 # Generate list of object directories: o-optimize, o-debug, o-profile 50 50 # 51 VARIANTS=${TARGET_ ARCH} ${TARGET_VARIANTS:%=${TARGET_ARCH}-%}51 VARIANTS=${TARGET_VARIANTS:%=o-%} 52 52 53 53 # -
c/src/tests/samples/cdtest/Makefile.in
rfa3346f rd6c83529 51 51 52 52 DEFINES += 53 CPPFLAGS += -I$(LIBCC_INCLUDE)53 CPPFLAGS += 54 54 CFLAGS += 55 55 -
c/src/tests/samples/paranoia/Makefile.in
rfa3346f rd6c83529 53 53 54 54 LD_PATHS += 55 LD_LIBS += $(LIBC_LIBM)55 LD_LIBS += -lm 56 56 LDFLAGS += 57 57 -
make/Makefile.am
rfa3346f rd6c83529 15 15 host.cfg.in \ 16 16 leaf.cfg \ 17 lib.cfg \ 18 target.cfg.in 17 lib.cfg 19 18 20 19 SUBDIRS = \ -
make/compilers/gcc-target-default.cfg
rfa3346f rd6c83529 83 83 # Define this to yes if C++ is included in the development environment. 84 84 # This requires that at least the GNU C++ compiler and libg++ be installed. 85 ifeq ($( RTEMS_HAS_CPLUSPLUS),yes)85 ifeq ($(HAS_CPLUSPLUS),yes) 86 86 CPLUS_LD_LIBS += $(PROJECT_RELEASE)/lib/librtems++$(LIBSUFFIX_VA) 87 87 endif … … 173 173 # How to compile stuff into ${ARCH} subdirectory 174 174 # 175 # OBSOLETE: we use make's default rules now 176 # 175 177 # NOTE: we override COMPILE.[c|cc|S] 176 178 # because gmake default rules use TARGET_ARCH for different purposes 177 179 # 178 179 COMPILE.c=$(CC) $(CPPFLAGS) $(CFLAGS) -c180 COMPILE.cc=$(CXX) $(CPPFLAGS) $(CXXFLAGS) -c181 COMPILE.S=$(CC) $(ASFLAGS) $(CPPFLAGS) -c180 # 181 # COMPILE.c=$(CC) $(CPPFLAGS) $(CFLAGS) -c 182 # COMPILE.cc=$(CXX) $(CPPFLAGS) $(CXXFLAGS) -c 183 # COMPILE.S=$(CC) $(ASFLAGS) $(CPPFLAGS) -c 182 184 183 185 ${ARCH}/%.o: %.c … … 198 200 ${ARCH}/%.o: %.S 199 201 ${COMPILE.S} -DASM -o $@ $< 200 201 # OBSOLETE: the rule above should be equivalent.202 # strip out C++ style comments.203 # ${ARCH}/%.o: %.S204 # sed -e 's/\/\/.*$$//' < $< | \205 # $(CPP) $(CPPFLAGS) -I. -I$(srcdir) -DASM - >$(ARCH)/$*.i206 # $(AS) $(ASFLAGS) -o $@ $(ARCH)/$*.i207 202 208 203 # Make foo.rel from foo.o … … 217 212 218 213 # Dependency files for use by gmake 219 # NOTE: we don't put in $(TARGET_ARCH)214 # NOTE: we don't put them into $(ARCH) 220 215 # so that 'make clean' doesn't blow it away 221 216 222 DEPEND=Depends-$ (TARGET_ARCH:o-%=%)217 DEPEND=Depends-${ARCH} 223 218 224 219 CLEAN_DEPEND=$(DEPEND).tmp -
make/custom/FreeBSD-posix.cfg
rfa3346f rd6c83529 11 11 # This is the actual bsp directory used during the build process. 12 12 RTEMS_BSP_FAMILY=posix 13 TARGET_ARCH=o-freebsd214 13 15 14 include $(RTEMS_ROOT)/make/custom/default.cfg … … 24 23 LIBC_DEFINES += -DHEAPSPACE_MB=1 25 24 26 27 # Define this to yes if C++ is included in the development environment28 # This requires that at least the GNU C++ compiler and libg++ be installed.29 ifeq ($(HAS_CPLUSPLUS),yes)30 CPLUS_LD_LIBS += $(PROJECT_RELEASE)/lib/librtems++$(LIBSUFFIX_VA)31 endif32 25 33 26 # optimize flag: typically -0, could use -O4 or -fast -
make/custom/HPUX9-posix.cfg
rfa3346f rd6c83529 13 13 # This is the actual bsp directory used during the build process. 14 14 RTEMS_BSP_FAMILY=posix 15 TARGET_ARCH=o-hpux916 15 17 16 include $(RTEMS_ROOT)/make/custom/default.cfg -
make/custom/Linux-posix.cfg
rfa3346f rd6c83529 12 12 # This is the actual bsp directory used during the build process. 13 13 RTEMS_BSP_FAMILY=posix 14 TARGET_ARCH=o-linux115 14 16 15 include $(RTEMS_ROOT)/make/custom/default.cfg … … 26 25 27 26 DEFINES += -D_BSD_SOURCE 28 29 # Define this to yes if C++ is included in the development environment30 # This requires that at least the GNU C++ compiler and libg++ be installed.31 ifeq ($(HAS_CPLUSPLUS),yes)32 CPLUS_LD_LIBS += $(PROJECT_RELEASE)/lib/librtems++$(LIBSUFFIX_VA)33 endif34 27 35 28 # optimize flag: typically -0, could use -O4 or -fast -
make/custom/Solaris-posix.cfg
rfa3346f rd6c83529 12 12 # This is the actual bsp directory used during the build process. 13 13 RTEMS_BSP_FAMILY=posix 14 TARGET_ARCH=o-solaris215 14 16 15 include $(RTEMS_ROOT)/make/custom/default.cfg … … 23 22 24 23 DEFINES += -D__EXTENSIONS__ -Dsolaris2 25 26 # Define this to yes if C++ is included in the development environment27 # This requires that at least the GNU C++ compiler and libg++ be installed.28 ifeq ($(HAS_CPLUSPLUS),yes)29 CPLUS_LD_LIBS=$(PROJECT_RELEASE)/lib/librtems++$(LIBSUFFIX_VA)30 endif31 24 32 25 # optimize flag: typically -0, could use -O4 or -fast -
make/custom/bare.cfg
rfa3346f rd6c83529 11 11 12 12 RTEMS_CPU_MODEL=$(BARE_CPU_MODEL) 13 14 TARGET_ARCH=o-$(RTEMS_BSP_FAMILY)-$(BARE_CPU_MODEL)15 13 16 14 CPU_CFLAGS=$(BARE_CPU_CFLAGS) -
make/custom/default.cfg
rfa3346f rd6c83529 11 11 include $(RTEMS_ROOT)/make/target.cfg 12 12 include $(RTEMS_ROOT)/make/host.cfg 13 14 # Specify here the host and target "architectures"15 ifndef TARGET_ARCH16 TARGET_ARCH=o-$(RTEMS_BSP)17 endif18 13 19 14 include $(RTEMS_ROOT)/make/main.cfg … … 31 26 32 27 ## Target compiler config file, if any 33 CONFIG. $(TARGET_ARCH).CC = $(RTEMS_ROOT)/make/compilers/gcc-target-default.cfg28 CONFIG.CC = $(RTEMS_ROOT)/make/compilers/gcc-target-default.cfg 34 29 35 30 ## GCC specs extension file location -
make/custom/gen68360.cfg
rfa3346f rd6c83529 8 8 9 9 ifeq ($(RTEMS_GEN68360_COMPANION_MODE),yes) 10 TARGET_ARCH=o-gen68360_04011 10 RTEMS_CPU_MODEL=m68040 12 11 else 13 TARGET_ARCH=o-gen6836014 12 RTEMS_CPU_MODEL=mcpu32 15 13 endif -
make/custom/mvme162.cfg
rfa3346f rd6c83529 11 11 ifeq ($(RTEMS_MVME162_MODEL),mvme162lx) 12 12 13 TARGET_ARCH=o-mvme162lx14 13 RTEMS_CPU_MODEL=m68lc040 15 14 … … 18 17 19 18 RTEMS_MVME162_MODEL=mvme162 20 TARGET_ARCH=o-mvme16221 19 RTEMS_CPU_MODEL=m68040 22 20 -
make/custom/ods68302.cfg
rfa3346f rd6c83529 32 32 33 33 # debugging please 34 CFLAGS_DEBUG_V+=-g 35 36 # Define this to yes if C++ is included in the development environment. 37 # This requires that at least the GNU C++ compiler and libg++ be installed. 38 ifeq ($(RTEMS_HAS_CPLUSPLUS),yes) 39 HAS_CPLUSPLUS=yes 40 CPLUS_LD_LIBS=$(PROJECT_RELEASE)/lib/librtems++$(LIBSUFFIX_VA) 41 endif 34 CFLAGS_DEBUG_V = 42 35 43 36 START_BASE=start302 -
make/leaf.cfg
rfa3346f rd6c83529 38 38 # Programs built on the host use automake generated rules. 39 39 # This will not change $(ARCH) -- binaries will still be place as per target 40 include ${CONFIG. $(TARGET_ARCH).CC}40 include ${CONFIG.CC} 41 41 ifeq (${DEPEND},$(wildcard ${DEPEND})) 42 42 include ${DEPEND} # pull in dependencies if they exist … … 47 47 # 48 48 debug: 49 $(MAKE) -f $(MAKEFILE) MAKEFILE=$(MAKEFILE) "ARCH= ${TARGET_ARCH}-debug" \49 $(MAKE) -f $(MAKEFILE) MAKEFILE=$(MAKEFILE) "ARCH=o-debug" \ 50 50 "CFLAGS_DEBUG=$(CFLAGS_DEBUG_V)" \ 51 51 "CFLAGS_OPTIMIZE=$(CFLAGS_DEBUG_OPTIMIZE_V)" \ … … 54 54 profile: 55 55 $(MAKE) -f $(MAKEFILE) \ 56 MAKEFILE=$(MAKEFILE) "ARCH= ${TARGET_ARCH}-profile" \56 MAKEFILE=$(MAKEFILE) "ARCH=o-profile" \ 57 57 "CFLAGS_PROFILE=$(CFLAGS_PROFILE_V)" \ 58 58 "LDFLAGS_PROFILE=$(LDFLAGS_PROFILE_V)" $(TARGET_VA) … … 64 64 # 65 65 66 VARIANT- $(TARGET_ARCH)-v =67 VARIANT- $(TARGET_ARCH)-debug-v = debug68 VARIANT- $(TARGET_ARCH)-profile-v = profile66 VARIANT-o-optimize-v = 67 VARIANT-o-debug-v = debug 68 VARIANT-o-profile-v = profile 69 69 70 70 VARIANT_VA = $(VARIANT-$(ARCH)-v) … … 87 87 # 88 88 89 LIBSUFFIX_ $(TARGET_ARCH)_V=90 LIBSUFFIX_ $(TARGET_ARCH)-debug_V=_g91 LIBSUFFIX_ $(TARGET_ARCH)-profile_V=_p89 LIBSUFFIX_o-optimize_V= 90 LIBSUFFIX_o-debug_V=_g 91 LIBSUFFIX_o-profile_V=_p 92 92 93 93 LIB_VARIANT=$(LIBSUFFIX_$(ARCH)_V) -
make/main.cfg
rfa3346f rd6c83529 18 18 19 19 # 20 # Target architecture; may be changed as per 'make "ARCH= ${TARGET_ARCH}-debug"'20 # Target architecture; may be changed as per 'make "ARCH=debug"' 21 21 # This is where the object files get put. 22 22 # 23 23 24 ARCH= ${TARGET_ARCH}24 ARCH=o-optimize 25 25 26 26 VARIANT= … … 44 44 # Target variant names 45 45 # 46 TARGET_VARIANTS = debug profile46 TARGET_VARIANTS = optimize debug profile 47 47 48 48 # 49 # Generate list of object directories: sun4, sun4-debug, sun4-profile49 # Generate list of object directories: o-optimize, o-debug, o-profile 50 50 # 51 VARIANTS=${TARGET_ ARCH} ${TARGET_VARIANTS:%=${TARGET_ARCH}-%}51 VARIANTS=${TARGET_VARIANTS:%=o-%} 52 52 53 53 #
Note: See TracChangeset
for help on using the changeset viewer.