source: rtems/c/src/lib/libbsp/powerpc/support/old_exception_processing/Makefile.am @ 2897e73

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

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

  • Makefile.am: Add PREINSTALL_DIRS.
  • Property mode set to 100644
File size: 1.2 KB
Line 
1##
2## $Id$
3##
4
5ACLOCAL_AMFLAGS = -I ../../../../../aclocal
6
7# C source names
8C_FILES = cpu.c
9C_O_FILES = $(C_FILES:%.c=${ARCH}/%.$(OBJEXT))
10
11include_rtems_scoredir = $(includedir)/rtems/score
12include_rtems_score_HEADERS = rtems/score/ppc_offs.h
13
14# Assembly source names
15S_FILES = cpu_asm.S
16S_O_FILES = $(S_FILES:%.S=${ARCH}/%.$(OBJEXT))
17
18include $(top_srcdir)/../../../../../automake/compile.am
19include $(top_srcdir)/../../../../../automake/lib.am
20
21AM_CPPFLAGS += -I$(srcdir)
22
23REL = $(ARCH)/rtems-cpu.rel
24
25$(REL): $(C_O_FILES) $(S_O_FILES)
26        $(make-rel)
27
28all-local: $(TMPINSTALL_FILES) $(REL)
29
30UNUSED_FILES = irq_stub.S
31
32EXTRA_DIST = TODO $(C_FILES) $(S_FILES) $(UNUSED_FILES)
33
34PREINSTALL_DIRS =
35PREINSTALL_FILES =
36
37$(PROJECT_INCLUDE)/rtems/score/$(dirstamp):
38        @$(mkdir_p) $(PROJECT_INCLUDE)/rtems/score
39        @: > $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
40PREINSTALL_DIRS += $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
41
42$(PROJECT_INCLUDE)/rtems/score/ppc_offs.h: rtems/score/ppc_offs.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
43        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/ppc_offs.h
44PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/ppc_offs.h
45
46CLEANFILES = $(PREINSTALL_FILES)
47DISTCLEANFILES = $(PREINSTALL_DIRS)
48
49include $(top_srcdir)/../../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.