source:
rtems/cpukit/libmisc/stackchk/Makefile.am
@
620e8263
Last change on this file since 620e8263 was 620e8263, checked in by Joel Sherrill <joel.sherrill@…>, on 02/05/01 at 18:26:26 | |
---|---|
|
|
File size: 879 bytes |
Rev | Line | |
---|---|---|
[df49c60] | 1 | ## |
[70810dc] | 2 | ## $Id$ |
[df49c60] | 3 | ## |
[9608320] | 4 | |
5 | AUTOMAKE_OPTIONS = foreign 1.4 | |
6 | ||
[620e8263] | 7 | include_rtemsdir = $(includedir)/rtems |
8 | ||
[9608320] | 9 | LIBNAME = libstackchk-tmp |
[70810dc] | 10 | LIB = $(ARCH)/$(LIBNAME).a |
[9608320] | 11 | |
12 | C_FILES = check.c | |
[70810dc] | 13 | C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o) |
[9608320] | 14 | |
[620e8263] | 15 | noinst_HEADERS = internal.h |
16 | include_rtems_HEADERS = stackchk.h | |
[9608320] | 17 | |
18 | OBJS = $(C_O_FILES) | |
19 | ||
20 | include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg | |
[7fcc26ac] | 21 | include $(top_srcdir)/../../../automake/compile.am |
[70810dc] | 22 | include $(top_srcdir)/../../../automake/lib.am |
[9608320] | 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 | ||
[70810dc] | 33 | $(LIB): $(OBJS) |
[9608320] | 34 | $(make-library) |
35 | ||
[70810dc] | 36 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems \ |
[620e8263] | 37 | $(include_rtems_HEADERS:%=$(PROJECT_INCLUDE)/rtems/%) |
[70810dc] | 38 | |
39 | all-local: $(ARCH) $(PREINSTALL_FILES) $(OBJS) $(LIB) | |
40 | ||
41 | .PRECIOUS: $(LIB) | |
[9608320] | 42 | |
[620e8263] | 43 | EXTRA_DIST = README check.c |
[9608320] | 44 | |
45 | include $(top_srcdir)/../../../automake/local.am |
Note: See TracBrowser
for help on using the repository browser.