source: rtems/c/src/lib/libcpu/mips/mongoosev/Makefile.am @ 9a87463

4.104.114.84.95
Last change on this file since 9a87463 was 9a87463, checked in by Ralf Corsepius <ralf.corsepius@…>, on Jan 18, 2004 at 9:18:06 AM

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

  • clock/Makefile.am: Convert to using automake compilation rules.
  • mongoosev/Makefile.am: Ditto.
  • r46xx/Makefile.am: Ditto.
  • shared/Makefile.am: Ditto.
  • timer/Makefile.am: Ditto.
  • tx39/Makefile.am: Ditto.
  • Makefile.am: Remove conditional subdirs.
  • configure.ac: Add subdir-object to AUTOMAKE_OPTIONS. Require automake-1.8.2. Add AM_PROG_CC_C_O.
  • Property mode set to 100644
File size: 2.3 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_FILES =
59
60if mongoosev
61$(PROJECT_INCLUDE)/libcpu/$(dirstamp):
62        @$(mkdir_p) $(PROJECT_INCLUDE)/libcpu
63        @: > $(PROJECT_INCLUDE)/libcpu/$(dirstamp)
64PREINSTALL_FILES += $(PROJECT_INCLUDE)/libcpu/$(dirstamp)
65
66$(PROJECT_INCLUDE)/libcpu/mongoose-v.h: include/mongoose-v.h $(PROJECT_INCLUDE)/libcpu/$(dirstamp)
67        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/libcpu/mongoose-v.h
68PREINSTALL_FILES += $(PROJECT_INCLUDE)/libcpu/mongoose-v.h
69
70$(PROJECT_INCLUDE)/libchip/$(dirstamp):
71        @$(mkdir_p) $(PROJECT_INCLUDE)/libchip
72        @: > $(PROJECT_INCLUDE)/libchip/$(dirstamp)
73PREINSTALL_FILES += $(PROJECT_INCLUDE)/libchip/$(dirstamp)
74
75$(PROJECT_INCLUDE)/libchip/mg5uart.h: duart/mg5uart.h $(PROJECT_INCLUDE)/libchip/$(dirstamp)
76        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/libchip/mg5uart.h
77PREINSTALL_FILES += $(PROJECT_INCLUDE)/libchip/mg5uart.h
78endif
79
80CLEANFILES += $(PREINSTALL_FILES)
81
82include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.