source: rtems/c/src/lib/libbsp/powerpc/dmv177/startup/Makefile.am @ 232a22d

4.104.114.84.95
Last change on this file since 232a22d was 232a22d, checked in by Ralf Corsepius <ralf.corsepius@…>, on 01/14/04 at 07:10:59

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

  • Makefile.am: Re-add dirstamps to PRE/TMPINSTALL_FILES. Add PRE/TMPINSTALL_FILES to CLEANFILES.
  • start/Makefile.am: Ditto.
  • startup/Makefile.am: Ditto.
  • Property mode set to 100644
File size: 1.2 KB
Line 
1##
2## $Id$
3##
4
5C_FILES = bspclean.c bspstart.c setvec.c genpvec.c vmeintr.c
6OBJS = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
7
8include $(top_srcdir)/../../../../automake/compile.am
9include $(top_srcdir)/../../../../automake/lib.am
10
11shared_C_FILES = $(top_srcdir)/../../shared/bootcard.c
12shared_C_FILES += $(top_srcdir)/../../shared/bsplibc.c
13shared_C_FILES += $(top_srcdir)/../../shared/bsppost.c
14shared_C_FILES += $(top_srcdir)/../../shared/main.c
15shared_C_FILES += $(top_srcdir)/../../shared/sbrk.c
16shared_C_FILES += $(top_srcdir)/../../shared/gnatinstallhandler.c
17OBJS += \
18    $(shared_C_FILES:$(top_srcdir)/../../shared/%.c=$(ARCH)/%.$(OBJEXT))
19
20$(ARCH)/%.$(OBJEXT): $(top_srcdir)/../../shared/%.c $(ARCH)/$(dirstamp)
21        ${COMPILE} -o $@ -c $<
22
23noinst_DATA = $(OBJS)
24
25project_lib_DATA = linkcmds
26
27all-local: $(TMPINSTALL_FILES)
28
29EXTRA_DIST = $(C_FILES)
30
31TMPINSTALL_FILES =
32
33$(PROJECT_LIB)/$(dirstamp):
34        @$(mkdir_p) $(PROJECT_LIB)
35        @: > $(PROJECT_LIB)/$(dirstamp)
36TMPINSTALL_FILES += $(PROJECT_LIB)/$(dirstamp)
37
38$(PROJECT_LIB)/linkcmds: linkcmds $(PROJECT_LIB)/$(dirstamp)
39        $(INSTALL_DATA) $< $(PROJECT_LIB)/linkcmds
40TMPINSTALL_FILES += $(PROJECT_LIB)/linkcmds
41
42CLEANFILES = $(TMPINSTALL_FILES)
43
44include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.