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

4.104.114.84.95
Last change on this file since d5b004b was d5b004b, checked in by Joel Sherrill <joel.sherrill@…>, on Nov 23, 1999 at 1:52:59 PM

Patch from Ralf Corsepius <corsepiu@…>
to convert the libmisc directory from Makefile.in to Makefile.am.

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