diff options
Diffstat (limited to 'c/src/lib/libbsp/powerpc/motorola_powerpc/pci/Makefile.in')
-rw-r--r-- | c/src/lib/libbsp/powerpc/motorola_powerpc/pci/Makefile.in | 59 |
1 files changed, 37 insertions, 22 deletions
diff --git a/c/src/lib/libbsp/powerpc/motorola_powerpc/pci/Makefile.in b/c/src/lib/libbsp/powerpc/motorola_powerpc/pci/Makefile.in index d2d8e3b89c..87b1d6d227 100644 --- a/c/src/lib/libbsp/powerpc/motorola_powerpc/pci/Makefile.in +++ b/c/src/lib/libbsp/powerpc/motorola_powerpc/pci/Makefile.in @@ -4,40 +4,51 @@ @SET_MAKE@ srcdir = @srcdir@ -VPATH = @srcdir@ -RTEMS_ROOT = @top_srcdir@ +top_srcdir = @top_srcdir@ +top_builddir = ../../../.. +subdir = libbsp/powerpc/mcp750/pci + +RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ -INSTALL = @INSTALL@ +VPATH = @srcdir@ -PGM=${ARCH}/pci.rel +PGM = ${ARCH}/pci.rel # C source names, if any, go here -- minus the .c -C_PIECES=$(PCI_PIECES) -C_FILES=$(C_PIECES:%=%.c) -C_O_FILES=$(C_PIECES:%=${ARCH}/%.o) +C_PIECES = $(PCI_C_PIECES) +C_FILES = $(C_PIECES:%=%.c) +C_O_FILES = $(C_PIECES:%=${ARCH}/%.o) -H_FILES=$(srcdir)/pci.h +H_FILES = $(srcdir)/pci.h -SRCS=$(C_FILES) $(H_FILES) -OBJS=$(C_O_FILES) +SRCS = $(C_FILES) $(H_FILES) +OBJS = $(C_O_FILES) -include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg +include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg include $(RTEMS_ROOT)/make/leaf.cfg -PCI_PIECES=pci +INSTALL_CHANGE = @INSTALL_CHANGE@ +mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs + +INSTALLDIRS = $(PROJECT_INCLUDE)/bsp + +$(INSTALLDIRS): + @$(mkinstalldirs) $(INSTALLDIRS) + +PCI_C_PIECES = pci # # (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 @@ -52,11 +63,15 @@ CLOBBER_ADDITIONS += ${PGM}: ${SRCS} ${OBJS} $(make-rel) -preinstall: - $(MKDIR) $(PROJECT_INCLUDE)/bsp - $(INSTALL_CHANGE) -m 444 $(H_FILES) $(PROJECT_INCLUDE)/bsp +preinstall: + @$(mkinstalldirs) $(PROJECT_INCLUDE)/bsp + @$(INSTALL_CHANGE) -m 644 $(H_FILES) $(PROJECT_INCLUDE)/bsp -all: ${ARCH} $(SRCS) preinstall $(PGM) +all: ${ARCH} $(SRCS) preinstall $(PGM) # the .rel file built here will be put into libbsp.a by ../wrapup/Makefile -install: all +install: all + +Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status + cd $(top_builddir) \ + && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status |