source: rtems/c/src/lib/libbsp/powerpc/motorola_powerpc/vectors/Makefile.am @ 27c06b0

4.104.114.84.95
Last change on this file since 27c06b0 was 27c06b0, checked in by Ralf Corsepius <ralf.corsepius@…>, on Dec 22, 2003 at 5:19:16 PM

2003-12-22 Ralf Corsepius <corsepiu@…>

  • vectors/Makefile.am: Fix typos.
  • vme/Makefile.am: Fix typos.
  • Property mode set to 100644
File size: 1.4 KB
Line 
1##
2## $Id$
3##
4
5include $(top_srcdir)/../../../../automake/compile.am
6include $(top_srcdir)/../../../../automake/lib.am
7
8# FIXME: this does not make much sense
9include_bspdir = $(includedir)/bsp
10include_bsp_HEADERS = $(top_srcdir)/../../powerpc/shared/vectors/vectors.h
11
12powerpc_shared_vectors_C_FILES = \
13    $(top_srcdir)/../../powerpc/shared/vectors/vectors_init.c
14OBJS = \
15    $(powerpc_shared_vectors_C_FILES:$(top_srcdir)/../../powerpc/shared/vectors/%.c=$(ARCH)/%.$(OBJEXT))
16
17$(ARCH)/%.$(OBJEXT): $(top_srcdir)/../../powerpc/shared/vectors/%.c $(ARCH)/$(dirstamp)
18        ${COMPILE} -o $@ -c $<
19
20powerpc_shared_vectors_S_FILES = \
21    $(top_srcdir)/../../powerpc/shared/vectors/vectors.S
22OBJS += \
23    $(powerpc_shared_vectors_S_FILES:$(top_srcdir)/../../powerpc/shared/vectors/%.S=$(ARCH)/%.$(OBJEXT))
24
25$(ARCH)/%.$(OBJEXT): $(top_srcdir)/../../powerpc/shared/vectors/%.S $(ARCH)/$(dirstamp)
26        ${CCASCOMPILE} -o $@ -c $<
27
28noinst_DATA = $(OBJS)
29
30all-local: $(PREINSTALL_FILES)
31
32PREINSTALL_FILES =
33
34$(PROJECT_INCLUDE)/bsp/$(dirstamp):
35        @$(mkdir_p) $(PROJECT_INCLUDE)/bsp
36        @: > $(PROJECT_INCLUDE)/bsp/$(dirstamp)
37
38$(PROJECT_INCLUDE)/bsp/vectors.h: $(top_srcdir)/../../powerpc/shared/vectors/vectors.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
39        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/vectors.h
40PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/vectors.h
41
42include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.