4.104.114.84.95
Line | |
---|
1 | ## |
---|
2 | ## $Id$ |
---|
3 | ## |
---|
4 | |
---|
5 | AUTOMAKE_OPTIONS = foreign 1.4 |
---|
6 | |
---|
7 | LIBNAME = libmisc |
---|
8 | LIB = $(ARCH)/$(LIBNAME).a |
---|
9 | |
---|
10 | include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg |
---|
11 | include $(top_srcdir)/../../../automake/lib.am |
---|
12 | |
---|
13 | TMP_LIBS = ../monitor/$(ARCH)/libmonitor-tmp.a \ |
---|
14 | ../untar/$(ARCH)/libuntar-tmp.a ../stackchk/$(ARCH)/libstackchk-tmp.a \ |
---|
15 | ../cpuuse/$(ARCH)/libcpuuse-tmp.a ../rtmonuse/$(ARCH)/librtmonuse-tmp.a \ |
---|
16 | ../dumpbuf/$(ARCH)/libdumpbuf-tmp.a |
---|
17 | |
---|
18 | $(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIB_VARIANT).a: $(LIB) |
---|
19 | $(INSTALL_DATA) $< $@ |
---|
20 | |
---|
21 | # |
---|
22 | # (OPTIONAL) Add local stuff here using += |
---|
23 | # |
---|
24 | |
---|
25 | $(LIB): $(TMP_LIBS) |
---|
26 | $(RM) $@ |
---|
27 | $(RM) -r $(ARCH) |
---|
28 | mkdir $(ARCH) |
---|
29 | cd $(ARCH); for lib in $^; do $(AR) -xv ../$$lib; done |
---|
30 | $(AR) ruv $@ $(ARCH)/* |
---|
31 | $(RANLIB) $@ |
---|
32 | |
---|
33 | TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIB_VARIANT).a |
---|
34 | |
---|
35 | all-local: $(ARCH) $(LIB) $(TMPINSTALL_FILES) |
---|
36 | |
---|
37 | .PRECIOUS: $(LIB) |
---|
38 | |
---|
39 | include $(top_srcdir)/../../../automake/local.am |
---|
Note: See
TracBrowser
for help on using the repository browser.