4.104.114.84.95
Last change
on this file since c1b12e6a was
c1b12e6a,
checked in by Joel Sherrill <joel.sherrill@…>, on 10/11/99 at 18:31:48
|
Moved RTEMS error and association from libmisc to libc support to
avoid cyclic dependencies generated when moving packages to the
top level.
|
-
Property mode set to
100644
|
File size:
1.1 KB
|
Line | |
---|
1 | # |
---|
2 | # $Id$ |
---|
3 | # |
---|
4 | |
---|
5 | @SET_MAKE@ |
---|
6 | srcdir = @srcdir@ |
---|
7 | top_srcdir = @top_srcdir@ |
---|
8 | top_builddir = .. |
---|
9 | subdir = wrapup |
---|
10 | |
---|
11 | RTEMS_ROOT = @RTEMS_ROOT@ |
---|
12 | PROJECT_ROOT = @PROJECT_ROOT@ |
---|
13 | |
---|
14 | VPATH = @srcdir@ |
---|
15 | |
---|
16 | LIB = $(ARCH)/libmisc.a |
---|
17 | |
---|
18 | include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg |
---|
19 | include $(RTEMS_ROOT)/make/lib.cfg |
---|
20 | |
---|
21 | INSTALL_CHANGE = @INSTALL_CHANGE@ |
---|
22 | |
---|
23 | # Using the wildcard on the Purify support makes sure it may not be there |
---|
24 | |
---|
25 | LIBS = ../monitor/$(ARCH)/libmonitor-tmp.a ../untar/$(ARCH)/libuntar-tmp.a \ |
---|
26 | ../stackchk/$(ARCH)/libstackchk-tmp.a ../cpuuse/$(ARCH)/libcpuuse-tmp.a \ |
---|
27 | ../rtmonuse/$(ARCH)/librtmonuse-tmp.a \ |
---|
28 | ../dumpbuf/$(ARCH)/libdumpbuf-tmp.a |
---|
29 | |
---|
30 | RELS = |
---|
31 | |
---|
32 | CLEAN_ADDITIONS += |
---|
33 | CLOBBER_ADDITIONS += |
---|
34 | |
---|
35 | $(LIB): ${LIBS} $(RELS) |
---|
36 | $(RM) -r $(ARCH) |
---|
37 | mkdir $(ARCH) |
---|
38 | cd $(ARCH); for lib in $(LIBS:%=../%); do \ |
---|
39 | $(AR) -xv $$lib; \ |
---|
40 | done |
---|
41 | $(RM) $@ |
---|
42 | $(AR) ruv $@ $(ARCH)/* |
---|
43 | $(RANLIB) $@ |
---|
44 | |
---|
45 | all: ${ARCH} $(SRCS) $(LIB) |
---|
46 | @$(INSTALL_VARIANT) -m 644 $(LIB) $(PROJECT_RELEASE)/lib |
---|
47 | |
---|
48 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status |
---|
49 | cd $(top_builddir) \ |
---|
50 | && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status |
---|
Note: See
TracBrowser
for help on using the repository browser.