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

4.104.114.84.9
Last change on this file since 53f6727 was 53f6727, checked in by Ralf Corsepius <ralf.corsepius@…>, on Jul 22, 2002 at 1:51:58 PM

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

  • Makefile.am: Use .$(OBJEXT) instead of .o.
  • 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
37REL = $(ARCH)/rtems-cpu.rel
38
39rtems_cpu_rel_OBJECTS = $(C_O_FILES)
40
41$(REL): $(rtems_cpu_rel_OBJECTS)
42        $(make-rel)
43
44all-local: $(ARCH) $(rtems_cpu_rel_OBJECTS) $(REL)
45
46.PRECIOUS: $(REL)
47
48EXTRA_DIST = cpu.c
49
50include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.