4.104.114.84.95
Line | |
---|
1 | ## |
---|
2 | ## $Id$ |
---|
3 | ## |
---|
4 | |
---|
5 | AUTOMAKE_OPTIONS = foreign 1.4 |
---|
6 | |
---|
7 | LIBNAME = libstackchk-tmp |
---|
8 | LIB = $(ARCH)/$(LIBNAME).a |
---|
9 | |
---|
10 | C_FILES = check.c |
---|
11 | C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o) |
---|
12 | |
---|
13 | H_FILES = internal.h |
---|
14 | INSTALLED_H_FILES = stackchk.h |
---|
15 | |
---|
16 | OBJS = $(C_O_FILES) |
---|
17 | |
---|
18 | include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg |
---|
19 | include $(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 | |
---|
33 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems \ |
---|
34 | $(INSTALLED_H_FILES:%=$(PROJECT_INCLUDE)/rtems/%) |
---|
35 | |
---|
36 | all-local: $(ARCH) $(PREINSTALL_FILES) $(OBJS) $(LIB) |
---|
37 | |
---|
38 | .PRECIOUS: $(LIB) |
---|
39 | |
---|
40 | EXTRA_DIST = README check.c internal.h stackchk.h |
---|
41 | |
---|
42 | include $(top_srcdir)/../../../automake/local.am |
---|
Note: See
TracBrowser
for help on using the repository browser.