source: rtems/c/src/lib/libcpu/m68k/mcf5272/Makefile.am @ 64bb079

4.104.114.84.95
Last change on this file since 64bb079 was a9dc09a, checked in by Ralf Corsepius <ralf.corsepius@…>, on Oct 26, 2004 at 3:52:21 AM

Reformat.

  • Property mode set to 100644
File size: 2.2 KB
Line 
1##
2## $Id$
3##
4
5include $(top_srcdir)/../../../automake/compile.am
6
7CLEANFILES =
8EXTRA_PROGRAMS =
9noinst_DATA =
10
11if mcf5272
12
13# include
14include_mcf5272dir = $(includedir)/mcf5272
15include_mcf5272_HEADERS = include/mcf5272.h
16
17## clock
18EXTRA_PROGRAMS += clock.rel
19CLEANFILES += clock.rel
20clock_rel_SOURCES = clock/ckinit.c
21clock_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
22clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
23
24EXTRA_PROGRAMS += clock_g.rel
25CLEANFILES += clock_g.rel
26clock_g_rel_SOURCES = $(clock_rel_SOURCES)
27clock_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
28clock_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
29
30noinst_DATA += clock$(LIB_VARIANT).rel
31
32## console
33#EXTRA_PROGRAMS += console.rel
34#CLEANFILES += console.rel
35#console_rel_SOURCES = console/console-io.c ../../../../libbsp/shared/console-polled.c
36#console_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
37#console_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
38
39#EXTRA_PROGRAMS += console_g.rel
40#CLEANFILES += console_g.rel
41#console_g_rel_SOURCES = $(console_rel_SOURCES)
42#console_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
43#console_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
44#
45#noinst_DATA += console$(LIB_VARIANT).rel
46
47## timer
48EXTRA_PROGRAMS += timer.rel
49CLEANFILES += timer.rel
50timer_rel_SOURCES = timer/timer.c timer/timerisr.S
51timer_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
52timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
53
54EXTRA_PROGRAMS += timer_g.rel
55CLEANFILES += timer_g.rel
56timer_g_rel_SOURCES = $(timer_rel_SOURCES)
57timer_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
58timer_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
59
60noinst_DATA += timer$(LIB_VARIANT).rel
61endif
62
63all-local: $(PREINSTALL_FILES)
64
65PREINSTALL_DIRS =
66PREINSTALL_FILES =
67
68if mcf5272
69$(PROJECT_INCLUDE)/mcf5272/$(dirstamp):
70        @$(mkdir_p) $(PROJECT_INCLUDE)/mcf5272
71        @: > $(PROJECT_INCLUDE)/mcf5272/$(dirstamp)
72PREINSTALL_DIRS += $(PROJECT_INCLUDE)/mcf5272/$(dirstamp)
73
74$(PROJECT_INCLUDE)/mcf5272/mcf5272.h: include/mcf5272.h $(PROJECT_INCLUDE)/mcf5272/$(dirstamp)
75        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/mcf5272/mcf5272.h
76PREINSTALL_FILES += $(PROJECT_INCLUDE)/mcf5272/mcf5272.h
77endif
78
79CLEANFILES += $(PREINSTALL_FILES)
80DISTCLEANFILES = $(PREINSTALL_DIRS)
81
82include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.