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

4.104.114.84.95
Last change on this file since 3d1de20 was 3d1de20, checked in by Ralf Corsepius <ralf.corsepius@…>, on 01/19/04 at 07:29:05

2004-01-19 Ralf Corsepius <corsepiu@…>

  • Makefile.am: Add PREINSTALL_DIRS.
  • Property mode set to 100644
File size: 2.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
9
10AM_CPPFLAGS += -DCPU_SYNC_IO $(LIBC_DEFINES)
11
12include_rtems_scoredir = $(includedir)/rtems/score
13include_rtems_score_HEADERS = rtems/score/types.h rtems/score/cpu.h \
14    rtems/score/unix.h rtems/score/unixsize.h
15
16EXTRA_LIBRARIES = libscorecpu.a
17CLEANFILES = libscorecpu.a
18libscorecpu_a_SOURCES = cpu.c
19libscorecpu_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
20
21EXTRA_LIBRARIES += libscorecpu_g.a
22CLEANFILES += libscorecpu_g.a
23libscorecpu_g_a_SOURCES = $(libscorecpu_a_SOURCES)
24libscorecpu_g_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
25
26all-local: $(PREINSTALL_FILES) libscorecpu$(LIB_VARIANT).a
27
28PREINSTALL_DIRS =
29PREINSTALL_FILES =
30
31$(PROJECT_INCLUDE)/rtems/score/$(dirstamp):
32        @$(mkdir_p) $(PROJECT_INCLUDE)/rtems/score
33        @: > $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
34PREINSTALL_DIRS += $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
35
36$(PROJECT_INCLUDE)/rtems/score/types.h: rtems/score/types.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
37        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/types.h
38PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/types.h
39
40$(PROJECT_INCLUDE)/rtems/score/cpu.h: rtems/score/cpu.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
41        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/cpu.h
42PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/cpu.h
43
44$(PROJECT_INCLUDE)/rtems/score/unix.h: rtems/score/unix.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
45        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/unix.h
46PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/unix.h
47
48$(PROJECT_INCLUDE)/rtems/score/unixsize.h: rtems/score/unixsize.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
49        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/unixsize.h
50PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/unixsize.h
51
52CLEANFILES += $(PREINSTALL_FILES)
53DISTCLEANFILES = $(PREINSTALL_DIRS)
54
55include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.