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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [rtems/] [c/] [src/] [libnetworking/] [netinet/] [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:55 chris Exp $
3
##
4
 
5
AUTOMAKE_OPTIONS = foreign 1.4
6
 
7
LIBNAME = lib.a
8
LIB = $(ARCH)/$(LIBNAME)
9
 
10
C_FILES = if_ether.c igmp.c in.c in_cksum.c in_pcb.c in_proto.c in_rmx.c \
11
    ip_divert.c ip_fw.c ip_icmp.c ip_input.c ip_mroute.c ip_output.c \
12
    raw_ip.c tcp_debug.c tcp_input.c tcp_output.c tcp_subr.c tcp_timer.c \
13
    tcp_usrreq.c udp_usrreq.c
14
C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
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
#
22
# Add local stuff here using +=
23
#
24
 
25
AM_CPPFLAGS += -D_COMPILING_BSD_KERNEL_ -DKERNEL -DINET -DNFS -DDIAGNOSTIC \
26
    -DBOOTP_COMPAT
27
 
28
$(LIB): $(OBJS)
29
        $(make-library)
30
 
31
all-local: $(PREINSTALL_FILES) $(ARCH) $(OBJS) $(LIB)
32
 
33
.PRECIOUS: $(LIB)
34
 
35
EXTRA_DIST = if_ether.c igmp.c igmp_var.h in.c in_cksum.c in_cksum_i386.c \
36
    in_cksum_m68k.c in_cksum_powerpc.c in_pcb.c in_proto.c in_rmx.c \
37
    ip_divert.c ip_fw.c ip_icmp.c ip_input.c ip_mroute.c ip_output.c \
38
    raw_ip.c tcp_debug.c tcp_input.c tcp_output.c tcp_subr.c tcp_timer.c \
39
    tcp_usrreq.c udp_usrreq.c
40
 
41
H_FILES = icmp_var.h if_ether.h igmp.h igmp_var.h in.h \
42
    in_pcb.h in_systm.h in_var.h ip.h ip_fw.h ip_icmp.h \
43
    ip_mroute.h ip_var.h tcp.h tcp_debug.h tcp_fsm.h tcp_seq.h \
44
    tcp_timer.h tcp_var.h tcpip.h udp.h udp_var.h
45
 
46
noinst_HEADERS = $(H_FILES)
47
 
48
PREINSTALL_FILES += $(PROJECT_INCLUDE)/netinet \
49
    $(H_FILES:%=$(PROJECT_INCLUDE)/netinet/%)
50
 
51
$(PROJECT_INCLUDE)/netinet:
52
        @$(mkinstalldirs) $@
53
 
54
$(PROJECT_INCLUDE)/netinet/%.h: %.h
55
        $(INSTALL_DATA) $< $@
56
 
57
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.