diff options
Diffstat (limited to 'c/src/tests/samples/hello')
-rw-r--r-- | c/src/tests/samples/hello/Makefile.in | 57 |
1 files changed, 29 insertions, 28 deletions
diff --git a/c/src/tests/samples/hello/Makefile.in b/c/src/tests/samples/hello/Makefile.in index 12680e0a92..da5323e23f 100644 --- a/c/src/tests/samples/hello/Makefile.in +++ b/c/src/tests/samples/hello/Makefile.in @@ -5,52 +5,53 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../../../../.. -subdir = c/src/tests/samples/hello +top_builddir = ../.. +subdir = samples/hello -INSTALL = @INSTALL@ - -RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@ +RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ VPATH = @srcdir@ -SAMPLE=hello -PGM=${ARCH}/$(SAMPLE).exe +SAMPLE = hello +PGM = ${ARCH}/$(SAMPLE).exe -MANAGERS=io +MANAGERS = io # C source names, if any, go here -- minus the .c -C_PIECES=init -C_FILES=$(C_PIECES:%=%.c) -C_O_FILES=$(C_PIECES:%=${ARCH}/%.o) +C_PIECES = init +C_FILES = $(C_PIECES:%=%.c) +C_O_FILES = $(C_PIECES:%=${ARCH}/%.o) -H_FILES=system.h +H_FILES = system.h -DOCTYPES=doc scn -DOCS=$(DOCTYPES:%=$(SAMPLE).%) +DOCTYPES = doc scn +DOCS = $(DOCTYPES:%=$(SAMPLE).%) -SRCS=$(DOCS) $(C_FILES) $(H_FILES) -OBJS=$(C_O_FILES) +SRCS = $(DOCS) $(C_FILES) $(H_FILES) +OBJS = $(C_O_FILES) -PRINT_SRCS=$(DOCS) +PRINT_SRCS = $(DOCS) -PGM=${ARCH}/$(SAMPLE).exe +PGM = ${ARCH}/$(SAMPLE).exe -include $(RTEMS_ROOT)/make/custom/${RTEMS_BSP}.cfg +include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg include $(RTEMS_ROOT)/make/leaf.cfg +INSTALL_CHANGE = @INSTALL_CHANGE@ +PACKHEX = @PACKHEX@ + # # (OPTIONAL) Add local stuff here using += # -DEFINES += +DEFINES += CPPFLAGS += -CFLAGS += +CFLAGS += -LD_PATHS += -LD_LIBS += -LDFLAGS += +LD_PATHS += +LD_LIBS += +LDFLAGS += # # Add your list of files to delete here. The config files @@ -62,13 +63,13 @@ LDFLAGS += CLEAN_ADDITIONS += CLOBBER_ADDITIONS += -all: ${ARCH} $(SRCS) $(PGM) - $(INSTALL_VARIANT) -m 555 ${PGM} ${PROJECT_RELEASE}/tests - $(INSTALL_VARIANT) -m 555 ${PGM} ${PROJECT_RELEASE}/samples +all: ${ARCH} $(SRCS) $(PGM) + $(INSTALL_VARIANT) -m 755 ${PGM} $(PROJECT_RELEASE)/tests + $(INSTALL_VARIANT) -m 755 ${PGM} $(PROJECT_RELEASE)/samples ${PGM}: $(OBJS) $(LINK_FILES) $(make-exe) -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status +Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status cd $(top_builddir) \ && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status |