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

Subversion Repositories openrisc_me

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

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:54 chris Exp $
3
##
4
 
5
AUTOMAKE_OPTIONS = foreign 1.4
6
 
7
LIBNAME = lib.a
8
LIB = $(ARCH)/$(LIBNAME)
9
 
10
C_FILES = if.c if_ethersubr.c if_loop.c radix.c route.c rtsock.c raw_cb.c \
11
    raw_usrreq.c
12
C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
13
 
14
OBJS = $(C_O_FILES)
15
 
16
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
17
include $(top_srcdir)/../../../automake/lib.am
18
 
19
#
20
# Add local stuff here using +=
21
#
22
 
23
AM_CPPFLAGS += -D_COMPILING_BSD_KERNEL_ -DKERNEL -DINET -DNFS -DDIAGNOSTIC \
24
    -DBOOTP_COMPAT
25
 
26
$(LIB): $(OBJS)
27
        $(make-library)
28
 
29
all-local: $(PREINSTALL_FILES) $(ARCH) $(OBJS) $(LIB)
30
 
31
.PRECIOUS: $(LIB)
32
 
33
EXTRA_DIST = if.c if_ethersubr.c if_loop.c \
34
    radix.c raw_cb.c raw_usrreq.c route.c rtsock.c
35
 
36
H_FILES = bpf.h ethernet.h if.h if_arp.h if_dl.h if_llc.h if_ppp.h if_types.h \
37
    netisr.h ppp-comp.h ppp_defs.h radix.h raw_cb.h route.h
38
 
39
noinst_HEADERS = $(H_FILES)
40
 
41
PREINSTALL_FILES += $(PROJECT_INCLUDE)/net $(H_FILES:%=$(PROJECT_INCLUDE)/net/%)
42
 
43
$(PROJECT_INCLUDE)/net:
44
        @$(mkinstalldirs) $@
45
 
46
$(PROJECT_INCLUDE)/net/%.h: %.h
47
        $(INSTALL_DATA) $< $@
48
 
49
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.