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

Subversion Repositories or1k

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

Go to most recent revision | Details | Compare with Previous | View Log

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