More automake preparation changes from Ralf Corsepius

<corsepiu@faw.uni-ulm.de>.
This commit is contained in:
Joel Sherrill
1998-12-15 23:40:53 +00:00
parent 0825f57833
commit 5428b10686
4 changed files with 46 additions and 7 deletions

View File

@@ -11,4 +11,4 @@ PROJECT_ROOT = @PROJECT_ROOT@
include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg
include $(RTEMS_ROOT)/make/directory.cfg
SUB_DIRS=headers $(INLINE) optman src
SUB_DIRS=include $(INLINE) optman src

View File

@@ -0,0 +1,14 @@
#
# $Id$
#
@SET_MAKE@
srcdir = @srcdir@
VPATH = @srcdir@
RTEMS_ROOT = @top_srcdir@
PROJECT_ROOT = @PROJECT_ROOT@
include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg
include $(RTEMS_ROOT)/make/directory.cfg
SUB_DIRS=wrap rtems

View File

@@ -11,11 +11,7 @@ PROJECT_ROOT = @PROJECT_ROOT@
H_PIECES= config directives extension fatal init io mptables
H_FILES=$(H_PIECES:%=$(srcdir)/%.h)
# H_FILES that get installed externally
EXTERNAL_H_PIECES = confdefs
EXTERNAL_H_FILES=$(EXTERNAL_H_PIECES:%=$(srcdir)/%.h)
SRCS=$(H_FILES) $(EXTERNAL_H_FILES)
SRCS=$(H_FILES)
include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg
include $(RTEMS_ROOT)/make/leaf.cfg
@@ -32,7 +28,6 @@ CLOBBER_ADDITIONS +=
all: $(SRCS) $(ARCH) $(PROJECT_INCLUDE)/rtems/sptables.h
$(INSTALL) -m 444 ${H_FILES} $(PROJECT_INCLUDE)/rtems/
$(INSTALL) -m 444 ${EXTERNAL_H_FILES} $(PROJECT_INCLUDE)
$(PROJECT_INCLUDE)/rtems/sptables.h: $(ARCH)/sptables.h-tmp
$(INSTALL) -m 444 $(ARCH)/sptables.h-tmp $@

View File

@@ -0,0 +1,30 @@
#
# $Id$
#
@SET_MAKE@
srcdir = @srcdir@
VPATH = @srcdir@
RTEMS_ROOT = @top_srcdir@
PROJECT_ROOT = @PROJECT_ROOT@
H_PIECES= confdefs
H_FILES=$(H_PIECES:%=$(srcdir)/../%.h)
SRCS=$(H_FILES)
include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg
include $(RTEMS_ROOT)/make/leaf.cfg
#
# 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 +=
all: $(SRCS)
$(INSTALL) -m 444 $(H_FILES) $(PROJECT_INCLUDE)