source: rtems/c/src/lib/libbsp/m68k/mvme136/startup/Makefile.am @ 2568abf3

4.104.114.84.95
Last change on this file since 2568abf3 was d4425210, checked in by Ralf Corsepius <ralf.corsepius@…>, on Aug 11, 2002 at 6:44:20 AM

2002-08-11 Ralf Corsepius <corsepiu@…>

  • clock/Makefile.am: Use .$(OBJEXT) instead of .o.
    • console/Makefile.am: Use .$(OBJEXT) instead of .o.
    • shmsupp/Makefile.am: Use .$(OBJEXT) instead of .o.
    • start/Makefile.am: Use .$(OBJEXT) instead of .o.
    • startup/Makefile.am: Use .$(OBJEXT) instead of .o.
    • timer/Makefile.am: Use .$(OBJEXT) instead of .o.
    • wrapup/Makefile.am: Use .$(OBJEXT) instead of .o.
  • Property mode set to 100644
File size: 1.0 KB
Line 
1##
2## $Id$
3##
4
5
6VPATH = @srcdir@:@srcdir@/../../shared:@srcdir@/../../../shared
7
8PGM = $(ARCH)/startup.rel
9
10C_FILES = bspclean.c bsplibc.c bsppost.c bspstart.c bootcard.c \
11    m68kpretaskinghook.c main.c sbrk.c setvec.c gnatinstallhandler.c
12C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
13
14OBJS = $(C_O_FILES)
15
16include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
17include $(top_srcdir)/../../../../../../automake/compile.am
18include $(top_srcdir)/../../../../../../automake/lib.am
19
20#
21# (OPTIONAL) Add local stuff here using +=
22#
23
24# USE_INIT_FINI tells main.c what C++ help we need.
25AM_CPPFLAGS += -DUSE_INIT_FINI
26
27$(PGM): $(OBJS)
28        $(make-rel)
29
30bsplib_DATA = linkcmds
31
32$(PROJECT_RELEASE)/lib/linkcmds: linkcmds
33        $(INSTALL_DATA) $< $@
34
35# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
36TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/linkcmds
37
38all-local: $(ARCH) $(OBJS) $(PGM) $(TMPINSTALL_FILES)
39
40.PRECIOUS: $(PGM)
41
42EXTRA_DIST = bspclean.c bspstart.c linkcmds
43
44include $(top_srcdir)/../../../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.