diff options
Diffstat (limited to 'c/src/tests/support')
-rw-r--r-- | c/src/tests/support/Makefile.in | 13 | ||||
-rw-r--r-- | c/src/tests/support/include/Makefile.in | 25 | ||||
-rw-r--r-- | c/src/tests/support/stubdr/Makefile.in | 57 | ||||
-rw-r--r-- | c/src/tests/support/wrapup/Makefile.in | 46 |
4 files changed, 141 insertions, 0 deletions
diff --git a/c/src/tests/support/Makefile.in b/c/src/tests/support/Makefile.in new file mode 100644 index 0000000000..4f26fb9337 --- /dev/null +++ b/c/src/tests/support/Makefile.in @@ -0,0 +1,13 @@ +# +# $Id$ +# + +@SET_MAKE@ +srcdir = @srcdir@ +top_srcdir = @top_srcdir@ +VPATH=@srcdir@ + +include $(RTEMS_CUSTOM) +include $(PROJECT_ROOT)/make/directory.cfg + +SUB_DIRS=include stubdr wrapup diff --git a/c/src/tests/support/include/Makefile.in b/c/src/tests/support/include/Makefile.in new file mode 100644 index 0000000000..5599c9fe1a --- /dev/null +++ b/c/src/tests/support/include/Makefile.in @@ -0,0 +1,25 @@ +# +# $Id$ +# + +@SET_MAKE@ +srcdir = @srcdir@ +top_srcdir = @top_srcdir@ +VPATH=@srcdir@ + +H_FILES= $(srcdir)/tmacros.h + +SYS_H_FILES= + +SRCS=$(H_FILES) $(SYS_H_FILES) + +include $(RTEMS_CUSTOM) +include $(PROJECT_ROOT)/make/leaf.cfg + +CLEAN_ADDITIONS += +CLOBBER_ADDITIONS += + +all: $(SRCS) + $(INSTALL) -m 444 $(H_FILES) ${PROJECT_RELEASE}/include + $(INSTALL) -m 444 $(SYS_H_FILES) ${PROJECT_RELEASE}/include/sys + diff --git a/c/src/tests/support/stubdr/Makefile.in b/c/src/tests/support/stubdr/Makefile.in new file mode 100644 index 0000000000..d3265fdde5 --- /dev/null +++ b/c/src/tests/support/stubdr/Makefile.in @@ -0,0 +1,57 @@ +# +# $Id$ +# + +@SET_MAKE@ +srcdir = @srcdir@ +top_srcdir = @top_srcdir@ +VPATH=@srcdir@ + +PGM=${ARCH}/stubdr.rel + +# C source names, if any, go here -- minus the .c +C_PIECES=open close read write init cntrl +C_FILES=$(C_PIECES:%=%.c) +C_O_FILES=$(C_PIECES:%=${ARCH}/%.o) + +H_FILES=$(srcdir)/stubdrv.h + +# Assembly source names, if any, go here -- minus the .s +S_PIECES= +S_FILES=$(S_PIECES:%=%.s) +S_O_FILES=$(S_FILES:%.s=${ARCH}/%.o) + +SRCS=$(DOCS) $(C_FILES) $(H_FILES) +OBJS=$(C_O_FILES) + +include $(RTEMS_CUSTOM) +include $(PROJECT_ROOT)/make/leaf.cfg + +# +# (OPTIONAL) Add local stuff here using += +# + +DEFINES += +CPPFLAGS += +CFLAGS += + +LD_PATHS += +LD_LIBS += +LDFLAGS += + +# +# Add your list of files to delete here. The config files +# already know how to delete some stuff, so you may want +# to just run 'make clean' first to see what gets missed. +# 'make clobber' already includes 'make clean' +# + +CLEAN_ADDITIONS += +CLOBBER_ADDITIONS += + +${PGM}: ${SRCS} ${OBJS} + $(make-rel) + +all: ${ARCH} $(SRCS) $(PGM) + $(INSTALL) -m 444 $(H_FILES) ${PROJECT_RELEASE}/include + $(INSTALL_VARIANT) -m 644 $(PGM) ${PROJECT_RELEASE}/lib diff --git a/c/src/tests/support/wrapup/Makefile.in b/c/src/tests/support/wrapup/Makefile.in new file mode 100644 index 0000000000..4d8bb8c0ca --- /dev/null +++ b/c/src/tests/support/wrapup/Makefile.in @@ -0,0 +1,46 @@ +# +# $Id$ +# + +@SET_MAKE@ +srcdir = @srcdir@ +top_srcdir = @top_srcdir@ +VPATH=@srcdir@ + +GENERIC_PIECES=stubdr + +# bummer; have to use $foreach since % pattern subst rules only replace 1x +OBJS=$(foreach piece, $(GENERIC_PIECES), ../$(piece)/$(ARCH)/$(piece).rel) +LIB=$(ARCH)/libtest.a + +include $(RTEMS_CUSTOM) +include $(PROJECT_ROOT)/make/lib.cfg + +# +# (OPTIONAL) Add local stuff here using += +# + +DEFINES += +CPPFLAGS += +CFLAGS += + +LD_PATHS += +LD_LIBS += +LDFLAGS += + +# +# Add your list of files to delete here. The config files +# already know how to delete some stuff, so you may want +# to just run 'make clean' first to see what gets missed. +# 'make clobber' already includes 'make clean' +# + +CLEAN_ADDITIONS += +CLOBBER_ADDITIONS += + +$(LIB): ${OBJS} + $(make-library) + +all: ${ARCH} $(SRCS) $(LIB) + $(INSTALL_VARIANT) -m 644 $(LIB) ${PROJECT_RELEASE}/lib + |