source: rtems/c/src/lib/libcpu/mips/mongoosev/Makefile.am @ 63ae876

4.104.114.84.95
Last change on this file since 63ae876 was 63ae876, checked in by Ralf Corsepius <ralf.corsepius@…>, on Jan 21, 2004 at 6:50:10 AM

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

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