source: rtems/cpukit/libmisc/stackchk/Makefile.am @ 620e8263

4.104.114.84.95
Last change on this file since 620e8263 was 620e8263, checked in by Joel Sherrill <joel.sherrill@…>, on Feb 5, 2001 at 6:26:26 PM

2001-02-03 Ralf Corsepius <corsepiu@…>

  • untar/Makefile.am, monitor/Makefile.am, dummy/Makefile.am, devnull/Makefile.am, dumpbuf/Makefile.am, mw-fb/Makefile.am, stackchk/Makefile.am, rtmonuse/Makefile.am, cpuuse/Makefile.am: Apply include_*HEADERS instead of H_FILES.
  • Property mode set to 100644
File size: 879 bytes
Line 
1##
2## $Id$
3##
4
5AUTOMAKE_OPTIONS = foreign 1.4
6
7include_rtemsdir = $(includedir)/rtems
8
9LIBNAME = libstackchk-tmp
10LIB = $(ARCH)/$(LIBNAME).a
11
12C_FILES = check.c
13C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
14
15noinst_HEADERS = internal.h
16include_rtems_HEADERS = stackchk.h
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
39all-local: $(ARCH) $(PREINSTALL_FILES) $(OBJS) $(LIB)
40
41.PRECIOUS: $(LIB)
42
43EXTRA_DIST = README check.c
44
45include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.