source: rtems/cpukit/libmisc/shell/Makefile.am @ fbe799b3

4.104.114.84.95
Last change on this file since fbe799b3 was fbe799b3, checked in by Ralf Corsepius <ralf.corsepius@…>, on Aug 9, 2002 at 10:29:31 AM

2002-08-09 Ralf Corsepius <corsepiu@…>

  • shell/Makefile.am: Remove shell.h from EXTRA_DIST.
  • Property mode set to 100644
File size: 828 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)/%.o)
13
14include_rtems_HEADERS = shell.h
15
16OBJS = $(C_O_FILES)
17
18include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
19include $(top_srcdir)/../../../automake/compile.am
20include $(top_srcdir)/../../../automake/lib.am
21
22$(PROJECT_INCLUDE)/rtems:
23        @$(mkinstalldirs) $@
24$(PROJECT_INCLUDE)/rtems/%.h: %.h
25        $(INSTALL_DATA) $< $@
26
27#
28# (OPTIONAL) Add local stuff here using +=
29#
30
31$(LIB): $(OBJS)
32        $(make-library)
33
34PREINSTALL_FILES = $(PROJECT_INCLUDE)/rtems \
35    $(include_rtems_HEADERS:%=$(PROJECT_INCLUDE)/rtems/%)
36
37all-local: $(ARCH) $(PREINSTALL_FILES) $(OBJS) $(LIB)
38
39.PRECIOUS: $(LIB)
40
41EXTRA_DIST = README shell.c cmds.c
42
43include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.