source: rtems/c/src/lib/libcpu/mips/mongoosev/Makefile.am @ 8f783b61

4.104.114.84.95
Last change on this file since 8f783b61 was 8f783b61, checked in by Ralf Corsepius <ralf.corsepius@…>, on Feb 6, 2004 at 11:31:26 AM

2004-02-06 Ralf Corsepius <corsepiu@…>

  • mongoosev/Makefile.am, r46xx/Makefile.am, tx39/Makefile.am: Don't include .../lib.am. Remove ACLOCAL_AMFLAGS.
  • shared/Makefile.am: Don't include .../lib.am.
  • Property mode set to 100644
File size: 2.3 KB
Line 
1##
2## $Id$
3##
4
5EXTRA_PROGRAMS =
6EXTRA_DIST =
7CLEANFILES =
8noinst_DATA =
9
10include $(top_srcdir)/../../../automake/compile.am
11
12if mongoosev
13include_mipsdir = $(includedir)/libcpu
14include_mips_HEADERS = include/mongoose-v.h
15
16## duart
17include_libchipdir = $(includedir)/libchip
18include_libchip_HEADERS = duart/mg5uart.h
19
20EXTRA_DIST += duart/README.mguart
21
22EXTRA_PROGRAMS += duart.rel
23CLEANFILES += duart.rel
24duart_rel_SOURCES = duart/mg5uart.c duart/mg5uart.h duart/mg5uart_reg.c
25duart_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
26duart_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
27
28EXTRA_PROGRAMS += duart_g.rel
29CLEANFILES += duart_g.rel
30duart_g_rel_SOURCES = $(duart_rel_SOURCES)
31duart_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
32duart_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
33
34noinst_DATA += duart$(LIB_VARIANT).rel
35
36## vectorisrs
37
38EXTRA_PROGRAMS += vectorisrs.rel
39CLEANFILES += vectorisrs.rel
40vectorisrs_rel_SOURCES = vectorisrs/maxvectors.c vectorisrs/vectorisrs.c
41vectorisrs_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
42vectorisrs_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
43
44EXTRA_PROGRAMS += vectorisrs_g.rel
45CLEANFILES += vectorisrs_g.rel
46vectorisrs_g_rel_SOURCES = $(vectorisrs_rel_SOURCES)
47vectorisrs_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
48vectorisrs_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
49
50noinst_DATA += vectorisrs$(LIB_VARIANT).rel
51endif
52
53all-local: $(PREINSTALL_FILES)
54
55PREINSTALL_DIRS =
56PREINSTALL_FILES =
57
58if mongoosev
59$(PROJECT_INCLUDE)/libcpu/$(dirstamp):
60        @$(mkdir_p) $(PROJECT_INCLUDE)/libcpu
61        @: > $(PROJECT_INCLUDE)/libcpu/$(dirstamp)
62PREINSTALL_DIRS += $(PROJECT_INCLUDE)/libcpu/$(dirstamp)
63
64$(PROJECT_INCLUDE)/libcpu/mongoose-v.h: include/mongoose-v.h $(PROJECT_INCLUDE)/libcpu/$(dirstamp)
65        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/libcpu/mongoose-v.h
66PREINSTALL_FILES += $(PROJECT_INCLUDE)/libcpu/mongoose-v.h
67
68$(PROJECT_INCLUDE)/libchip/$(dirstamp):
69        @$(mkdir_p) $(PROJECT_INCLUDE)/libchip
70        @: > $(PROJECT_INCLUDE)/libchip/$(dirstamp)
71PREINSTALL_DIRS += $(PROJECT_INCLUDE)/libchip/$(dirstamp)
72
73$(PROJECT_INCLUDE)/libchip/mg5uart.h: duart/mg5uart.h $(PROJECT_INCLUDE)/libchip/$(dirstamp)
74        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/libchip/mg5uart.h
75PREINSTALL_FILES += $(PROJECT_INCLUDE)/libchip/mg5uart.h
76endif
77
78CLEANFILES += $(PREINSTALL_FILES)
79DISTCLEANFILES = $(PREINSTALL_DIRS)
80
81include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.