source: rtems/c/src/libmisc/stackchk/Makefile.am @ f3d7592

4.104.114.84.95
Last change on this file since f3d7592 was 7fcc26ac, checked in by Joel Sherrill <joel.sherrill@…>, on 09/05/00 at 15:32:34

2000-09-04 Ralf Corsepius <corsepiu@…>

  • cpuuse/Makefile.am, dummy/Makefile.am, dumpbuf/Makefile.am, monitor/Makefile.am, rtmonuse/Makefile.am, stackchk/Makefile.am, untar/Makefile.am, wrapup/Makefile.am, mw-fb/Makefile.am: Include compile.am.
  • Property mode set to 100644
File size: 846 bytes
Line 
1##
2## $Id$
3##
4
5AUTOMAKE_OPTIONS = foreign 1.4
6
7LIBNAME = libstackchk-tmp
8LIB = $(ARCH)/$(LIBNAME).a
9
10C_FILES = check.c
11C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
12
13H_FILES = internal.h
14INSTALLED_H_FILES = stackchk.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    $(INSTALLED_H_FILES:%=$(PROJECT_INCLUDE)/rtems/%)
36
37all-local: $(ARCH) $(PREINSTALL_FILES) $(OBJS) $(LIB)
38
39.PRECIOUS: $(LIB)
40
41EXTRA_DIST = README check.c internal.h stackchk.h
42
43include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.