source: rtems/c/src/lib/libcpu/powerpc/wrapup/Makefile.in @ e1d8abb

4.104.114.84.95
Last change on this file since e1d8abb was e1d8abb, checked in by Joel Sherrill <joel.sherrill@…>, on 09/07/99 at 13:45:03

Applied patch rtems-rc-19990820-6.diff.gz from
Ralf Corsepius <corsepiu@…> which converted many
Makefile.in's to Makefile.am's. This added a lot of files.

  • Property mode set to 100644
File size: 1.4 KB
Line 
1#
2#  $Id$
3#
4
5@SET_MAKE@
6srcdir = @srcdir@
7top_srcdir = @top_srcdir@
8top_builddir = ../..
9subdir = powerpc/wrapup
10
11RTEMS_ROOT = @RTEMS_ROOT@
12PROJECT_ROOT = @PROJECT_ROOT@
13
14VPATH = @srcdir@
15
16GENERIC_PIECES = shared
17CPU_PIECES = $(RTEMS_CPU_MODEL)
18
19# Use two variables so that I can make two ar command.
20# So far FAMILLY_OBJ is empty and ar dislike it...
21CPU_SPECIFIC_OBJS = $(foreach piece, $(CPU_PIECES), \
22    ../$(RTEMS_CPU_MODEL)/*/$(ARCH)/*.o)
23FAMILLY_OBJS = $(foreach piece, $(GENERIC_PIECES), ../shared/*/$(ARCH)/*.o)
24
25LIB = $(ARCH)/libcpu.a
26
27include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
28include $(RTEMS_ROOT)/make/lib.cfg
29
30INSTALL_CHANGE = @INSTALL_CHANGE@
31
32#
33# (OPTIONAL) Add local stuff here using +=
34#
35
36DEFINES +=
37CPPFLAGS +=
38CFLAGS +=
39
40LD_PATHS +=
41LD_LIBS +=
42LDFLAGS +=
43
44#
45# Add your list of files to delete here.  The config files
46#  already know how to delete some stuff, so you may want
47#  to just run 'make clean' first to see what gets missed.
48#  'make clobber' already includes 'make clean'
49#
50
51CLEAN_ADDITIONS +=
52CLOBBER_ADDITIONS +=
53
54$(LIB): ${OBJS}
55        @ echo $(CPU_SPECIFIC_OBJS) $(FAMILLY_OBJ) ;\
56        $(RM) $@ ;\
57        $(AR) $(ARFLAGS) $@ $(CPU_SPECIFIC_OBJS) ;\
58        $(AR) $(ARFLAGS) $@ $(FAMILLY_OBJS) ;\
59        $(RANLIB) $@
60
61all: ${ARCH} $(SRCS) $(LIB)
62        $(INSTALL_VARIANT) -m 644 $(LIB) $(PROJECT_RELEASE)/lib
63
64Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
65        cd $(top_builddir) \
66         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
Note: See TracBrowser for help on using the repository browser.