source: rtems/c/src/lib/libbsp/sparc/erc32/Makefile.am @ 19f26fe

4.104.114.84.95
Last change on this file since 19f26fe was 19f26fe, checked in by Joel Sherrill <joel.sherrill@…>, on Jan 6, 2005 at 11:52:16 PM

2005-01-06 Joel Sherrill <joel@…>

  • Makefile.am: Fix typo.
  • Property mode set to 100644
File size: 4.2 KB
Line 
1##
2## $Id$
3##
4
5ACLOCAL_AMFLAGS = -I ../../../../aclocal
6
7include $(top_srcdir)/../../../../automake/compile.am
8include $(top_srcdir)/../../bsp.am
9
10dist_project_lib_DATA = bsp_specs
11
12include_HEADERS = include/bsp.h
13include_HEADERS += include/tm27.h
14
15nodist_include_HEADERS = include/bspopts.h
16DISTCLEANFILES = include/bspopts.h
17
18noinst_PROGRAMS =
19
20SUBDIRS = . tools
21
22include_HEADERS += include/erc32.h
23include_HEADERS += include/coverhd.h
24
25EXTRA_DIST = ../../sparc/shared/start.S
26start.$(OBJEXT): ../../sparc/shared/start.S
27        $(CPPASCOMPILE) -DASM -o $@ -c $<
28project_lib_DATA = start.$(OBJEXT)
29
30dist_project_lib_DATA += startup/linkcmds
31
32noinst_PROGRAMS += startup.rel
33startup_rel_SOURCES = ../../sparc/shared/bspclean.c ../../shared/bsplibc.c \
34    ../../shared/bsppost.c ../../sparc/shared/bspstart.c ../../shared/main.c \
35    ../../shared/bootcard.c ../../shared/sbrk.c startup/setvec.c \
36    startup/spurious.c startup/erc32mec.c startup/boardinit.S
37startup_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
38startup_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
39
40noinst_PROGRAMS += gnatsupp.rel
41gnatsupp_rel_SOURCES = gnatsupp/gnatsupp.c ../../sparc/shared/gnatcommon.c
42gnatsupp_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
43gnatsupp_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
44
45noinst_PROGRAMS += console.rel
46console_rel_SOURCES = console/console.c console/consolereserveresources.c \
47    console/debugputs.c
48console_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
49console_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
50
51noinst_PROGRAMS += clock.rel
52clock_rel_SOURCES = clock/ckinit.c
53clock_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
54clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
55
56noinst_PROGRAMS += timer.rel
57timer_rel_SOURCES = timer/timer.c
58timer_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
59timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
60
61if HAS_NETWORKING
62erc32sonic_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
63noinst_PROGRAMS += erc32sonic.rel
64erc32sonic_rel_SOURCES = erc32sonic/erc32sonic.c
65erc32sonic_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V) \
66    $(erc32sonic_CPPFLAGS)
67erc32sonic_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
68endif
69
70noinst_LIBRARIES = libbsp.a
71libbsp_a_SOURCES =
72libbsp_a_LIBADD = startup.rel console.rel clock.rel timer.rel gnatsupp.rel
73if HAS_NETWORKING
74libbsp_a_LIBADD += erc32sonic.rel
75endif
76
77libbsp_a_LIBADD += ../../../libcpu/sparc/cache.rel \
78    ../../../libcpu/sparc/reg_win.rel ../../../libcpu/sparc/syscall.rel
79
80all-local: $(PREINSTALL_FILES) $(TMPINSTALL_FILES)
81
82EXTRA_DIST += times
83
84PREINSTALL_DIRS =
85PREINSTALL_FILES =
86TMPINSTALL_FILES =
87
88$(PROJECT_INCLUDE)/$(dirstamp):
89        @$(mkdir_p) $(PROJECT_INCLUDE)
90        @: > $(PROJECT_INCLUDE)/$(dirstamp)
91PREINSTALL_DIRS += $(PROJECT_INCLUDE)/$(dirstamp)
92
93$(PROJECT_LIB)/$(dirstamp):
94        @$(mkdir_p) $(PROJECT_LIB)
95        @: > $(PROJECT_LIB)/$(dirstamp)
96PREINSTALL_DIRS += $(PROJECT_LIB)/$(dirstamp)
97
98$(PROJECT_LIB)/bsp_specs: bsp_specs $(PROJECT_LIB)/$(dirstamp)
99        $(INSTALL_DATA) $< $(PROJECT_LIB)/bsp_specs
100PREINSTALL_FILES += $(PROJECT_LIB)/bsp_specs
101
102$(PROJECT_INCLUDE)/bsp.h: include/bsp.h $(PROJECT_INCLUDE)/$(dirstamp)
103        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp.h
104PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp.h
105
106$(PROJECT_INCLUDE)/tm27.h: include/tm27.h $(PROJECT_INCLUDE)/$(dirstamp)
107        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/tm27.h
108PREINSTALL_FILES += $(PROJECT_INCLUDE)/tm27.h
109
110$(PROJECT_INCLUDE)/bspopts.h: include/bspopts.h $(PROJECT_INCLUDE)/$(dirstamp)
111        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bspopts.h
112PREINSTALL_FILES += $(PROJECT_INCLUDE)/bspopts.h
113
114$(PROJECT_INCLUDE)/erc32.h: include/erc32.h $(PROJECT_INCLUDE)/$(dirstamp)
115        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/erc32.h
116PREINSTALL_FILES += $(PROJECT_INCLUDE)/erc32.h
117
118$(PROJECT_INCLUDE)/coverhd.h: include/coverhd.h $(PROJECT_INCLUDE)/$(dirstamp)
119        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/coverhd.h
120PREINSTALL_FILES += $(PROJECT_INCLUDE)/coverhd.h
121
122$(PROJECT_LIB)/start.$(OBJEXT): start.$(OBJEXT) $(PROJECT_LIB)/$(dirstamp)
123        $(INSTALL_DATA) $< $(PROJECT_LIB)/start.$(OBJEXT)
124TMPINSTALL_FILES += $(PROJECT_LIB)/start.$(OBJEXT)
125
126$(PROJECT_LIB)/linkcmds: startup/linkcmds $(PROJECT_LIB)/$(dirstamp)
127        $(INSTALL_DATA) $< $(PROJECT_LIB)/linkcmds
128PREINSTALL_FILES += $(PROJECT_LIB)/linkcmds
129
130CLEANFILES = $(PREINSTALL_FILES)
131DISTCLEANFILES += $(PREINSTALL_DIRS)
132CLEANFILES += $(TMPINSTALL_FILES)
133
134include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.