source: rtems/c/src/libmisc/shell/Makefile.am @ aea9bb46

4.104.114.84.95
Last change on this file since aea9bb46 was aea9bb46, checked in by Joel Sherrill <joel.sherrill@…>, on Sep 28, 2001 at 1:34:40 PM

2001-09-28 Ralf Corsepius <corsepiu@…>

  • untar/Makefile.am: Use 'PREINSTALL_FILES ='.
  • monitor/Makefile.am: Use 'PREINSTALL_FILES ='.
  • shell/Makefile.am: Use 'PREINSTALL_FILES ='.
  • devnull/Makefile.am: Use 'PREINSTALL_FILES ='.
  • dumpbuf/Makefile.am: Use 'PREINSTALL_FILES ='.
  • mw-fb/Makefile.am: Use 'PREINSTALL_FILES ='.
  • stackchk/Makefile.am: Use 'PREINSTALL_FILES ='.
  • rtmonuse/Makefile.am: Use 'PREINSTALL_FILES ='.
  • cpuuse/Makefile.am: Use 'PREINSTALL_FILES ='.
  • rootfs/Makefile.am: Use 'PREINSTALL_FILES ='.
  • Property mode set to 100644
File size: 868 bytes
Line 
1##
2## $Id$
3##
4
5AUTOMAKE_OPTIONS = foreign 1.4
6
7include_rtemsdir = $(includedir)/rtems
8
9LIBNAME = libshell-tmp
10LIB = $(ARCH)/$(LIBNAME).a
11
12C_FILES = cmds.c shell.c
13C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
14
15include_rtems_HEADERS = shell.h
16
17OBJS = $(C_O_FILES)
18
19include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
20include $(top_srcdir)/../../../automake/compile.am
21include $(top_srcdir)/../../../automake/lib.am
22
23$(PROJECT_INCLUDE)/rtems:
24        @$(mkinstalldirs) $@
25$(PROJECT_INCLUDE)/rtems/%.h: %.h
26        $(INSTALL_DATA) $< $@
27
28#
29# (OPTIONAL) Add local stuff here using +=
30#
31
32$(LIB): $(OBJS)
33        $(make-library)
34
35PREINSTALL_FILES = $(PROJECT_INCLUDE)/rtems \
36    $(include_rtems_HEADERS:%=$(PROJECT_INCLUDE)/rtems/%)
37
38all-local: $(ARCH) $(PREINSTALL_FILES) $(OBJS) $(LIB)
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.