source: rtems/cpukit/score/cpu/unix/Makefile.am @ a85d8ec

4.104.114.84.95
Last change on this file since a85d8ec was a85d8ec, checked in by Ralf Corsepius <ralf.corsepius@…>, on 07/26/02 at 13:32:13

2002-07-26 Ralf Corsepius <corsepiu@…>

  • Makefile.am: Build libscorecpu.a instead of rtems-cpu.rel.
  • Property mode set to 100644
File size: 1.0 KB
Line 
1##
2## $Id$
3##
4
5ACLOCAL_AMFLAGS = -I ../../../aclocal
6
7include $(top_srcdir)/../../../automake/multilib.am
8include $(top_srcdir)/../../../automake/compile.am
9include $(top_srcdir)/../../../automake/lib.am
10
11AM_CPPFLAGS += -DCPU_SYNC_IO $(LIBC_DEFINES)
12
13$(PROJECT_INCLUDE)/%.h: %.h
14        $(INSTALL_DATA) $< $@
15
16$(PROJECT_INCLUDE):
17        $(mkinstalldirs) $@
18
19$(PROJECT_INCLUDE)/rtems:
20        $(mkinstalldirs) $@
21
22$(PROJECT_INCLUDE)/rtems/score:
23        $(mkinstalldirs) $@
24
25include_rtems_scoredir = $(includedir)/rtems/score
26include_rtems_score_HEADERS = \
27    rtems/score/types.h \
28    rtems/score/cpu.h \
29    rtems/score/unix.h \
30    rtems/score/unixsize.h
31PREINSTALL_FILES = $(PROJECT_INCLUDE)/rtems/score \
32    $(include_rtems_score_HEADERS:%.h=$(PROJECT_INCLUDE)/%.h)
33
34C_FILES = cpu.c
35C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
36
37LIB = $(ARCH)/libscorecpu.a
38
39libscorecpu_a_OBJECTS = $(C_O_FILES)
40
41$(LIB): $(libscorecpu_a_OBJECTS)
42        $(make-library)
43
44all-local: $(ARCH) $(LIB)
45
46EXTRA_DIST = cpu.c
47
48include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.