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

4.104.114.84.95
Last change on this file since 1292ba4 was 53021d4, checked in by Ralf Corsepius <ralf.corsepius@…>, on 12/11/02 at 17:08:38

2002-12-11 Ralf Corsepius <corsepiu@…>

  • configure.ac: Require autoconf-2.57 + automake-1.7.2.
  • Makefile.am: Eliminate C_O_FILES, S_O_FILES, libscorecpu_a_OBJECTS.
  • Property mode set to 100644
File size: 965 bytes
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
35OBJS = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
36
37LIB = $(ARCH)/libscorecpu.a
38
39$(LIB): $(OBJS)
40        $(make-library)
41
42all-local: $(ARCH) $(LIB)
43
44EXTRA_DIST = cpu.c
45
46include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.