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

4.104.114.84.95
Last change on this file since ccb1a6ec was ccb1a6ec, checked in by Ralf Corsepius <ralf.corsepius@…>, on 04/17/03 at 10:55:40

Merger from rtems-4-6-branch.

  • Property mode set to 100644
File size: 1008 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) $(PREINSTALL_FILES) $(LIB) \
43        $(TMPINSTALL_FILES)
44
45EXTRA_DIST = cpu.c
46
47include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.