Changeset 07347cb in rtems for cpukit/rtems/Makefile.am
- Timestamp:
- Jan 7, 2004, 5:48:16 PM (17 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- 74a67351
- Parents:
- e7d110ba
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpukit/rtems/Makefile.am
re7d110ba r07347cb 4 4 5 5 include $(top_srcdir)/automake/multilib.am 6 include $(top_srcdir)/automake/compile.am 7 include $(top_srcdir)/automake/lib.am 6 include $(top_srcdir)/automake/amcompile.am 8 7 9 8 # include … … 59 58 60 59 ## src 61 LIB = $(ARCH)/librtems.a62 63 60 # We only build multiprocessing related files if HAS_MP was defined 64 61 MP_C_FILES = src/eventmp.c src/mp.c src/msgmp.c src/partmp.c src/regionmp.c \ … … 123 120 endif 124 121 125 OBJS = $(C_FILES:src/%.c=${ARCH}/%.$(OBJEXT))126 127 #128 # Add local stuff here using +=129 #130 131 122 AM_CPPFLAGS += -I$(top_builddir) 132 123 AM_CPPFLAGS += -D__RTEMS_INSIDE__ 133 124 134 all-local: $(PREINSTALL_FILES) $(LIB) 135 136 ${ARCH}/%.o: src/%.c $(ARCH)/$(dirstamp) 137 ${COMPILE} -o $@ -c $< 138 139 $(LIB): ${OBJS} 140 $(make-library) 125 EXTRA_LIBRARIES = o-optimize/librtems.a 126 o_optimize_librtems_a_SOURCES = $(C_FILES) 127 o_optimize_librtems_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V) 128 129 EXTRA_LIBRARIES += o-debug/librtems.a 130 o_debug_librtems_a_SOURCES = $(C_FILES) 131 o_debug_librtems_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V) 132 133 all-local: $(PREINSTALL_FILES) $(ARCH)/librtems.a 141 134 142 135 EXTRA_DIST = $(STD_C_FILES) $(MP_C_FILES)
Note: See TracChangeset
for help on using the changeset viewer.