source: rtems/c/src/lib/libbsp/powerpc/mbx8xx/wrapup/Makefile.am @ 8d0782a

4.104.114.84.95
Last change on this file since 8d0782a was 8d0782a, checked in by Joel Sherrill <joel.sherrill@…>, on 03/28/02 at 00:41:38

2002-03-27 Ralf Corsepius <corsepiu@…>

  • configure.ac: AC_INIT(package,_RTEMS_VERSION,_RTEMS_BUGS). AM_INIT_AUTOMAKE([no-define foreign 1.6]).
  • clock/Makefile.am: Remove AUTOMAKE_OPTIONS.
  • Makefile.am: Remove AUTOMAKE_OPTIONS.
  • console/Makefile.am: Remove AUTOMAKE_OPTIONS.
  • include/Makefile.am: Remove AUTOMAKE_OPTIONS.
  • irq/Makefile.am: Remove AUTOMAKE_OPTIONS.
  • network/Makefile.am: Remove AUTOMAKE_OPTIONS.
  • startup/Makefile.am: Remove AUTOMAKE_OPTIONS.
  • vectors/Makefile.am: Remove AUTOMAKE_OPTIONS.
  • wrapup/Makefile.am: Remove AUTOMAKE_OPTIONS.
  • Property mode set to 100644
File size: 1.2 KB
Line 
1##
2## $Id$
3##
4
5
6# We only build the networking device driver if HAS_NETWORKING was defined
7if HAS_NETWORKING
8NETWORKING = network
9endif
10
11BSP_PIECES = clock irq startup console vectors $(NETWORKING)
12# pieces to pick up out of libcpu/ppc
13# CPU_PIECES = mpc8xx/clock mpc8xx/console-generic mpc8xx/cpm \
14#              mpc8xx/mmu mpc8xx/timer mpc8xx/vectors
15
16# bummer; have to use $foreach since % pattern subst rules only replace 1x
17OBJS = $(foreach piece, $(BSP_PIECES), $(wildcard ../$(piece)/$(ARCH)/*.o)) \
18    $(wildcard ../../../../libcpu/$(RTEMS_CPU)/shared/*/$(ARCH)/*.o) \
19    ../@exceptions@/$(ARCH)/rtems-cpu.rel \
20    $(wildcard ../../../../libcpu/$(RTEMS_CPU)/mpc8xx/*/$(ARCH)/*.o)
21LIB = $(ARCH)/libbsp.a
22
23include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
24include $(top_srcdir)/../../../../../../automake/compile.am
25include $(top_srcdir)/../../../../../../automake/lib.am
26
27#
28# (OPTIONAL) Add local stuff here using +=
29#
30
31$(LIB): $(OBJS)
32        $(make-library)
33
34$(PROJECT_RELEASE)/lib/libbsp$(LIB_VARIANT).a: $(LIB)
35        $(INSTALL_DATA) $< $@
36
37TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/libbsp$(LIB_VARIANT).a
38
39all-local: $(ARCH) $(OBJS) $(LIB) $(TMPINSTALL_FILES)
40
41.PRECIOUS: $(LIB)
42
43include $(top_srcdir)/../../../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.