source: rtems/cpukit/libmisc/shell/Makefile.am @ 6184265d

4.104.114.84.95
Last change on this file since 6184265d 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
Line 
1##
2## $Id$
3##
4
5
6include_rtemsdir = $(includedir)/rtems
7
8LIBNAME = libshell-tmp
9LIB = $(ARCH)/$(LIBNAME).a
10
11C_FILES = cmds.c shell.c
12C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
13
14if RTEMS_LIBSHELL
15include_rtems_HEADERS = shell.h
16endif
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
36PREINSTALL_FILES = $(PROJECT_INCLUDE)/rtems \
37    $(include_rtems_HEADERS:%=$(PROJECT_INCLUDE)/rtems/%)
38
39if RTEMS_LIBSHELL
40all-local: $(ARCH) $(PREINSTALL_FILES) $(OBJS) $(LIB)
41endif
42
43.PRECIOUS: $(LIB)
44
45EXTRA_DIST = README shell.c cmds.c shell.h
46
47include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.