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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [rtems/] [c/] [src/] [libnetworking/] [nfs/] [Makefile.am] - Blame information for rev 773

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

Line No. Rev Author Line
1 30 unneback
##
2
## $Id: Makefile.am,v 1.2 2001-09-27 12:01:56 chris Exp $
3
##
4
 
5
AUTOMAKE_OPTIONS = foreign 1.4
6
 
7
LIBNAME = lib.a
8
LIB = $(ARCH)/$(LIBNAME)
9
 
10
C_FILES = bootp_subr.c
11
C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
12
 
13
OBJS = $(C_O_FILES)
14
 
15
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
16
include $(top_srcdir)/../../../automake/lib.am
17
 
18
#
19
# Add local stuff here using +=
20
#
21
 
22
AM_CPPFLAGS += -D_COMPILING_BSD_KERNEL_ -DKERNEL -DINET -DNFS -DDIAGNOSTIC \
23
    -DBOOTP_COMPAT
24
 
25
$(LIB): $(OBJS)
26
        $(make-library)
27
 
28
all-local: $(PREINSTALL_FILES) $(ARCH) $(OBJS) $(LIB)
29
 
30
.PRECIOUS: $(LIB)
31
 
32
EXTRA_DIST = bootp_subr.c
33
 
34
H_FILES = krpc.h nfs.h nfsdiskless.h nfsproto.h rpcv2.h xdr_subs.h
35
 
36
noinst_HEADERS = $(H_FILES)
37
 
38
PREINSTALL_FILES += $(PROJECT_INCLUDE)/nfs $(H_FILES:%=$(PROJECT_INCLUDE)/nfs/%)
39
 
40
$(PROJECT_INCLUDE)/nfs:
41
        @$(mkinstalldirs) $@
42
 
43
$(PROJECT_INCLUDE)/nfs/%.h: %.h
44
        $(INSTALL_DATA) $< $@
45
 
46
 
47
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.