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

4.104.114.84.95
Last change on this file since df49c60 was df49c60, checked in by Joel Sherrill <joel.sherrill@…>, on 06/12/00 at 15:00:15

Merged from 4.5.0-beta3a

  • Property mode set to 100644
File size: 795 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/lib.am
20
21$(PROJECT_INCLUDE)/rtems:
22        @$(mkinstalldirs) $@
23$(PROJECT_INCLUDE)/rtems/%.h: %.h
24        $(INSTALL_DATA) $< $@
25
26#
27# (OPTIONAL) Add local stuff here using +=
28#
29
30$(LIB): $(OBJS)
31        $(make-library)
32
33PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems \
34    $(INSTALLED_H_FILES:%=$(PROJECT_INCLUDE)/rtems/%)
35
36all-local: $(ARCH) $(PREINSTALL_FILES) $(OBJS) $(LIB)
37
38.PRECIOUS: $(LIB)
39
40EXTRA_DIST = README check.c internal.h stackchk.h
41
42include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.