source: rtems/cpukit/libmisc/shell/Makefile.am @ 22b689b

4.104.114.84.95
Last change on this file since 22b689b was 22b689b, checked in by Ralf Corsepius <ralf.corsepius@…>, on 11/14/02 at 12:13:26

2002-11-14 Ralf Corsepius <corsepiu@…>

  • capture/Makefile.am: Remove AUTOMAKE_OPTIONS.
  • serdbg/Makefile.am: Remove AUTOMAKE_OPTIONS.
  • serdbg/serdbgio.c: Add #include <unistd.h>.
  • shell/Makefile.am: Add RTEMS_LIBSHELL conditional.
  • wrapup/Makefile.am: Add RTEMS_LIBSHELL conditional.
  • configure.ac: Check for stdio assignments. Add RTEMS_LIBSHELL conditional.
  • Property mode set to 100644
File size: 892 bytes
RevLine 
[dd74e612]1##
2## $Id$
3##
4
5
6include_rtemsdir = $(includedir)/rtems
7
8LIBNAME = libshell-tmp
9LIB = $(ARCH)/$(LIBNAME).a
10
[70d689a]11C_FILES = cmds.c shell.c
[45e4f321]12C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
[dd74e612]13
[22b689b]14if RTEMS_LIBSHELL
[8e2b4de]15include_rtems_HEADERS = shell.h
[22b689b]16endif
[dd74e612]17
18OBJS = $(C_O_FILES)
19
20include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
21include $(top_srcdir)/../../../automake/compile.am
22include $(top_srcdir)/../../../automake/lib.am
23
24$(PROJECT_INCLUDE)/rtems:
25        @$(mkinstalldirs) $@
26$(PROJECT_INCLUDE)/rtems/%.h: %.h
27        $(INSTALL_DATA) $< $@
28
29#
30# (OPTIONAL) Add local stuff here using +=
31#
32
33$(LIB): $(OBJS)
34        $(make-library)
35
[aea9bb46]36PREINSTALL_FILES = $(PROJECT_INCLUDE)/rtems \
[dd74e612]37    $(include_rtems_HEADERS:%=$(PROJECT_INCLUDE)/rtems/%)
38
[22b689b]39if RTEMS_LIBSHELL
[dd74e612]40all-local: $(ARCH) $(PREINSTALL_FILES) $(OBJS) $(LIB)
[22b689b]41endif
[dd74e612]42
43.PRECIOUS: $(LIB)
44
[22b689b]45EXTRA_DIST = README shell.c cmds.c shell.h
[dd74e612]46
47include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.