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

4.104.114.84.95
Last change on this file since dee8a51 was dee8a51, checked in by Joel Sherrill <joel.sherrill@…>, on Nov 1, 1999 at 9:34:04 PM

Corrected wildcard to pickup CPU model dependent library pieces.

  • 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
17
18# Use two variables so that I can make two ar command.
19# So far FAMILY_OBJ is empty and ar dislike it...
20CPU_SPECIFIC_OBJS = $(wildcard ../$(RTEMS_CPU_MODEL)/*/$(ARCH)/*.o)
21FAMILY_OBJS = $(wildcard ../shared/*/$(ARCH)/*.o)
22
23LIB = $(ARCH)/libcpu.a
24
25include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
26include $(RTEMS_ROOT)/make/lib.cfg
27
28INSTALL_CHANGE = @INSTALL_CHANGE@
29
30#
31# (OPTIONAL) Add local stuff here using +=
32#
33
34DEFINES +=
35CPPFLAGS +=
36CFLAGS +=
37
38LD_PATHS +=
39LD_LIBS +=
40LDFLAGS +=
41
42#
43# Add your list of files to delete here.  The config files
44#  already know how to delete some stuff, so you may want
45#  to just run 'make clean' first to see what gets missed.
46#  'make clobber' already includes 'make clean'
47#
48
49CLEAN_ADDITIONS +=
50CLOBBER_ADDITIONS +=
51
52$(LIB): ${OBJS}
53        @ echo $(CPU_SPECIFIC_OBJS) $(FAMILY_OBJ) ;\
54        $(RM) $@ ;\
55        $(AR) $(ARFLAGS) $@ $(CPU_SPECIFIC_OBJS) ;\
56        $(AR) $(ARFLAGS) $@ $(FAMILY_OBJS) ;\
57        $(RANLIB) $@
58
59all: ${ARCH} $(SRCS) $(LIB)
60        $(INSTALL_VARIANT) -m 644 $(LIB) $(PROJECT_RELEASE)/lib
61
62Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
63        cd $(top_builddir) \
64         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
Note: See TracBrowser for help on using the repository browser.