source: rtems/c/src/lib/libbsp/powerpc/motorola_powerpc/pci/Makefile.am @ 518ce392

4.104.114.84.95
Last change on this file since 518ce392 was 518ce392, checked in by Ralf Corsepius <ralf.corsepius@…>, on 01/21/04 at 15:09:27

2004-01-21 Ralf Corsepius <corsepiu@…>

  • Makefile.am: Add PREINSTALL_DIRS.
  • irq/Makefile.am: Add PREINSTALL_DIRS.
  • motorola/Makefile.am: Add PREINSTALL_DIRS.
  • openpic/Makefile.am: Add PREINSTALL_DIRS.
  • pci/Makefile.am: Add PREINSTALL_DIRS.
  • vectors/Makefile.am: Add PREINSTALL_DIRS.
  • vme/Makefile.am: Add PREINSTALL_DIRS.
  • wrapup/Makefile.am: Reflect changes to libcpu.
  • Property mode set to 100644
File size: 1.2 KB
Line 
1##
2## $Id$
3##
4
5include $(top_srcdir)/../../../../automake/compile.am
6include $(top_srcdir)/../../../../automake/lib.am
7
8include_bspdir = $(includedir)/bsp
9nodist_include_bsp_HEADERS = $(top_srcdir)/../../powerpc/shared/pci/pci.h
10
11power_shared_pci_C_FILES = $(top_srcdir)/../../powerpc/shared/pci/pci.c \
12    $(top_srcdir)/../../powerpc/shared/pci/detect_raven_bridge.c \
13    $(top_srcdir)/../../powerpc/shared/pci/pcifinddevice.c
14OBJS = \
15    $(power_shared_pci_C_FILES:$(top_srcdir)/../../powerpc/shared/pci/%.c=$(ARCH)/%.$(OBJEXT))
16
17$(ARCH)/%.$(OBJEXT): $(top_srcdir)/../../powerpc/shared/pci/%.c $(ARCH)/$(dirstamp)
18        ${COMPILE} -o $@ -c $<
19
20noinst_DATA = $(OBJS)
21
22PREINSTALL_DIRS =
23PREINSTALL_FILES =
24
25$(PROJECT_INCLUDE)/bsp/$(dirstamp):
26        @$(mkdir_p) $(PROJECT_INCLUDE)/bsp
27        @: > $(PROJECT_INCLUDE)/bsp/$(dirstamp)
28PREINSTALL_DIRS += $(PROJECT_INCLUDE)/bsp/$(dirstamp)
29
30$(PROJECT_INCLUDE)/bsp/pci.h: $(top_srcdir)/../../powerpc/shared/pci/pci.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
31        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/pci.h
32PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/pci.h
33
34CLEANFILES = $(PREINSTALL_FILES)
35DISTCLEANFILES = $(PREINSTALL_DIRS)
36
37include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.