source: rtems/c/src/lib/libbsp/powerpc/eth_comm/vectors/Makefile.am @ 283dd510

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

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

  • Makefile.am: Add PREINSTALL_DIRS.
  • irq/Makefile.am: Add PREINSTALL_DIRS.
  • vectors/Makefile.am: Add PREINSTALL_DIRS.
  • wrapup/Makefile.am: Reflect changes to libcpu.
  • Property mode set to 100644
File size: 995 bytes
Line 
1##
2## $Id$
3##
4
5C_FILES = vectors_init.c
6C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
7
8include_bspdir = $(includedir)/bsp
9include_bsp_HEADERS = vectors.h
10
11S_FILES = vectors.S
12S_O_FILES = $(S_FILES:%.S=$(ARCH)/%.$(OBJEXT))
13
14OBJS = $(S_O_FILES) $(C_O_FILES)
15
16include $(top_srcdir)/../../../../automake/compile.am
17include $(top_srcdir)/../../../../automake/lib.am
18
19#
20# (OPTIONAL) Add local stuff here using +=
21#
22
23$(PGM): $(OBJS)
24        $(make-rel)
25
26all-local: $(PREINSTALL_FILES) $(OBJS)
27
28PREINSTALL_DIRS =
29PREINSTALL_FILES =
30
31$(PROJECT_INCLUDE)/bsp/$(dirstamp):
32        @$(mkdir_p) $(PROJECT_INCLUDE)/bsp
33        @: > $(PROJECT_INCLUDE)/bsp/$(dirstamp)
34PREINSTALL_DIRS += $(PROJECT_INCLUDE)/bsp/$(dirstamp)
35
36$(PROJECT_INCLUDE)/bsp/vectors.h: vectors.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
37        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/vectors.h
38PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/vectors.h
39
40CLEANFILES = $(PREINSTALL_FILES)
41DISTCLEANFILES = $(PREINSTALL_DIRS)
42
43include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.