1 | ## |
---|
2 | ## $Id$ |
---|
3 | ## |
---|
4 | |
---|
5 | include $(top_srcdir)/automake/compile.am |
---|
6 | |
---|
7 | AM_CPPFLAGS += -DCPU_SYNC_IO $(LIBC_DEFINES) |
---|
8 | |
---|
9 | include_rtems_scoredir = $(includedir)/rtems/score |
---|
10 | include_rtems_score_HEADERS = rtems/score/types.h rtems/score/cpu.h \ |
---|
11 | rtems/score/unix.h |
---|
12 | |
---|
13 | EXTRA_LIBRARIES = libscorecpu.a |
---|
14 | CLEANFILES = libscorecpu.a |
---|
15 | libscorecpu_a_SOURCES = cpu.c |
---|
16 | libscorecpu_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V) |
---|
17 | |
---|
18 | EXTRA_LIBRARIES += libscorecpu_g.a |
---|
19 | CLEANFILES += libscorecpu_g.a |
---|
20 | libscorecpu_g_a_SOURCES = $(libscorecpu_a_SOURCES) |
---|
21 | libscorecpu_g_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V) |
---|
22 | |
---|
23 | all-local: $(PREINSTALL_FILES) libscorecpu$(LIB_VARIANT).a |
---|
24 | |
---|
25 | PREINSTALL_DIRS = |
---|
26 | PREINSTALL_FILES = |
---|
27 | |
---|
28 | $(PROJECT_INCLUDE)/rtems/score/$(dirstamp): |
---|
29 | @$(mkdir_p) $(PROJECT_INCLUDE)/rtems/score |
---|
30 | @: > $(PROJECT_INCLUDE)/rtems/score/$(dirstamp) |
---|
31 | PREINSTALL_DIRS += $(PROJECT_INCLUDE)/rtems/score/$(dirstamp) |
---|
32 | |
---|
33 | $(PROJECT_INCLUDE)/rtems/score/types.h: rtems/score/types.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp) |
---|
34 | $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/types.h |
---|
35 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/types.h |
---|
36 | |
---|
37 | $(PROJECT_INCLUDE)/rtems/score/cpu.h: rtems/score/cpu.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp) |
---|
38 | $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/cpu.h |
---|
39 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/cpu.h |
---|
40 | |
---|
41 | $(PROJECT_INCLUDE)/rtems/score/unix.h: rtems/score/unix.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp) |
---|
42 | $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/unix.h |
---|
43 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/unix.h |
---|
44 | |
---|
45 | CLEANFILES += $(PREINSTALL_FILES) |
---|
46 | DISTCLEANFILES = $(PREINSTALL_DIRS) |
---|
47 | |
---|
48 | include $(top_srcdir)/automake/local.am |
---|