source: rtems/c/src/libmisc/wrapup/Makefile.in @ 04c308c

4.104.114.84.9
Last change on this file since 04c308c was 04c308c, checked in by Joel Sherrill <joel.sherrill@…>, on Mar 19, 1999 at 11:11:36 PM

Incorporated automake I patch from Ralf Corsepius <corsepiu@…>:

This is the first real automake patch.

It adds automake support to c/build-tools and cleans up a few minor
issues.

I consider this to be a testing probe to examine problems with automake.
Therefore, this patch is just a more or less harmless replacement of the
former RTEMS Makefiles and I expect it not last for long. If you want to
give automake Makefiles a public try and if you want/need to learn about
problems with it, then it's about time for a new snapshot, IMO. I may
have screwed up something not directly related to automake, but I expect
very few (none to be precise) problems with automake. However, somebody
should at least try building on Cygwin. If you feel a bit more
adventureous, then I also can continue to submit more patches.

[FYI: I still have a couple of automake files laying around, but they
need some cleanup before being submitted as patches. Now, that I am just
into it, I'll perhaps submit another one tonight :-]

After applying this patch (patch -p1 -E <
<path-to>/rtems-rc-19990318-0), first run the "autogen" script from the
toplevel source directory, before committing to CVS. Be careful about
dependencies between Makefile.am and Makefile.ins when cutting tarballs
from CVS. Makefile.ins are required to be newer than Makefile.ams,
otherwise users would need to have automake, autoconf and perl. Some
people recommend to "touch" all Makefile.in after checkout from cvs (cf.
egcs/contrib/egcs_update).

ATTENTION:

  • This patch adds a number of new files.
  • remove aclocal/exeext.m4 and aclocal/cygwin.m4 from CVS, They are now covered by autoconf-2.13`s AC_EXEEXT.

Some features/side-effects which are probably interesting for you:
In a configured build-tree "cd c/build-tools", then try

  • "make RTEMS_BSP=<bsp> install"
  • "make RTEMS_BSP=<bsp> dist"
  • Property mode set to 100644
File size: 1.2 KB
Line 
1#
2#  $Id$
3#
4
5@SET_MAKE@
6srcdir = @srcdir@
7top_srcdir = @top_srcdir@
8top_builddir = ../../../../..
9subdir = c/src/lib/libmisc/wrapup
10
11INSTALL = @INSTALL@
12
13RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@
14PROJECT_ROOT = @PROJECT_ROOT@
15
16VPATH = @srcdir@
17
18LIB=$(ARCH)/libmisc.a
19
20include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg
21include $(RTEMS_ROOT)/make/lib.cfg
22
23#  Using the wildcard on the Purify support makes sure it may not be there
24
25LIBS=../monitor/$(ARCH)/libmonitor-tmp.a \
26     ../error/$(ARCH)/liberror-tmp.a \
27     ../assoc/$(ARCH)/libassoc-tmp.a \
28     ../stackchk/$(ARCH)/libstackchk-tmp.a \
29     ../cpuuse/$(ARCH)/libcpuuse-tmp.a \
30     ../rtmonuse/$(ARCH)/librtmonuse-tmp.a \
31     ../dumpbuf/$(ARCH)/libdumpbuf-tmp.a
32
33RELS=
34
35CLEAN_ADDITIONS +=
36CLOBBER_ADDITIONS +=
37
38$(LIB): ${LIBS} $(RELS)
39        $(RM) -r $(ARCH)
40        mkdir $(ARCH)
41        cd $(ARCH); for lib in $(LIBS:%=../%); do \
42                         $(AR) -xv $$lib; \
43                    done
44        $(RM) $@
45        $(AR) ruv $@ $(ARCH)/*
46        $(MKLIB) $@
47
48all:    ${ARCH} $(SRCS) $(LIB)
49        $(INSTALL_VARIANT) -m 644 $(LIB) ${PROJECT_RELEASE}/lib
50
51Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
52        cd $(top_builddir) \
53         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
Note: See TracBrowser for help on using the repository browser.