OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rtems-20020807/] [c/] [src/] [libmisc/] [stackchk/] [Makefile.am] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1026 ivang
##
2
## Makefile.am,v 1.8 2002/03/28 00:49:39 joel Exp
3
##
4
 
5
 
6
include_rtemsdir = $(includedir)/rtems
7
 
8
LIBNAME = libstackchk-tmp
9
LIB = $(ARCH)/$(LIBNAME).a
10
 
11
C_FILES = check.c
12
C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
13
 
14
noinst_HEADERS = internal.h
15
include_rtems_HEADERS = stackchk.h
16
 
17
OBJS = $(C_O_FILES)
18
 
19
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
20
include $(top_srcdir)/../../../automake/compile.am
21
include $(top_srcdir)/../../../automake/lib.am
22
 
23
$(PROJECT_INCLUDE)/rtems:
24
        @$(mkinstalldirs) $@
25
$(PROJECT_INCLUDE)/rtems/%.h: %.h
26
        $(INSTALL_DATA) $< $@
27
 
28
#
29
# (OPTIONAL) Add local stuff here using +=
30
#
31
 
32
$(LIB): $(OBJS)
33
        $(make-library)
34
 
35
PREINSTALL_FILES = $(PROJECT_INCLUDE)/rtems \
36
    $(include_rtems_HEADERS:%=$(PROJECT_INCLUDE)/rtems/%)
37
 
38
all-local: $(ARCH) $(PREINSTALL_FILES) $(OBJS) $(LIB)
39
 
40
.PRECIOUS: $(LIB)
41
 
42
EXTRA_DIST = README check.c
43
 
44
include $(top_srcdir)/../../../automake/local.am

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.