source: rtems/cpukit/libmisc/shell/Makefile.am @ 5a8a05b

4.104.114.84.95
Last change on this file since 5a8a05b was 5a8a05b, checked in by Ralf Corsepius <ralf.corsepius@…>, on Jan 24, 2003 at 12:05:44 PM

2002-01-24 Ralf Corsepius <corsepiu@…>

  • configure.ac: Add check for weak function attribute. Remove AM_CONDITIONAL([RTEMS_LIBSHELL]. Add AM_CONDITIONAL(LIBSHELL), AM_CONDITIONAL(LIBSERDBG).
  • capture/Makefile.am: Use *.a instead of *-tmp.a.
  • cpuuse/Makefile.am: Use *.a instead of *-tmp.a.
  • devnull/Makefile.am: Use *.a instead of *-tmp.a.
  • dummy/Makefile.am: Use *.a instead of *-tmp.a.
  • dumpbuf/Makefile.am: Use *.a instead of *-tmp.a.
  • monitor/Makefile.am: Use *.a instead of *-tmp.a.
  • mw-fb/Makefile.am: Use *.a instead of *-tmp.a.
  • rtmonuse/Makefile.am: Use *.a instead of *-tmp.a.
  • serdbg/Makefile.am: Use *.a instead of *-tmp.a. Build iff LIBSERDBG is true.
  • shell/Makefile.am: Use *.a instead of *-tmp.a. Build iff LIBSHELL is true.
  • stackchk/Makefile.am: Use *.a instead of *-tmp.a.
  • untar/Makefile.am: Use *.a instead of *-tmp.a.
  • wrapup/Makefile.am: Reflect changes above.
  • Property mode set to 100644
File size: 774 bytes
Line 
1##
2## $Id$
3##
4
5
6include_rtemsdir = $(includedir)/rtems
7
8LIBNAME = libshell
9LIB = $(ARCH)/$(LIBNAME).a
10
11C_FILES = cmds.c shell.c
12OBJS = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
13
14if LIBSHELL
15include_rtems_HEADERS = shell.h
16endif
17
18include $(top_srcdir)/../automake/compile.am
19include $(top_srcdir)/../automake/lib.am
20
21$(PROJECT_INCLUDE)/rtems:
22        @$(mkinstalldirs) $@
23$(PROJECT_INCLUDE)/rtems/%.h: %.h
24        $(INSTALL_DATA) $< $@
25
26#
27# (OPTIONAL) Add local stuff here using +=
28#
29
30$(LIB): $(OBJS)
31        $(make-library)
32
33PREINSTALL_FILES = $(PROJECT_INCLUDE)/rtems \
34    $(include_rtems_HEADERS:%=$(PROJECT_INCLUDE)/rtems/%)
35
36if LIBSHELL
37all-local: $(ARCH) $(PREINSTALL_FILES) $(LIB)
38endif
39
40.PRECIOUS: $(LIB)
41
42EXTRA_DIST = README shell.c cmds.c shell.h
43
44include $(top_srcdir)/../automake/local.am
Note: See TracBrowser for help on using the repository browser.