OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [rtos/] [rtems/] [c/] [src/] [libchip/] [network/] [Makefile.am] - Blame information for rev 30

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:41 chris Exp $
3
##
4
 
5
AUTOMAKE_OPTIONS = foreign 1.4
6
 
7
LIBNAME = libnetchip
8
LIB = $(ARCH)/$(LIBNAME).a
9
 
10
C_FILES = dec21140.c sonic.c
11
C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
12
 
13
H_FILES = sonic.h
14
 
15
OBJS = $(C_O_FILES)
16
 
17
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
18
include $(top_srcdir)/../../../automake/lib.am
19
 
20
$(PROJECT_INCLUDE)/libchip:
21
        @$(mkinstalldirs) $@
22
$(PROJECT_INCLUDE)/libchip/%.h: %.h
23
        $(INSTALL_DATA) $< $@
24
 
25
#
26
# Add local stuff here using +=
27
#
28
 
29
AM_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
30
AM_CFLAGS = $(LIBC_DEFINES)
31
 
32
$(LIB): $(OBJS)
33
        $(make-library)
34
 
35
$(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIB_VARIANT).a: $(LIB)
36
        $(INSTALL_DATA) $< $@
37
 
38
if HAS_NETWORKING
39
PREINSTALL_FILES += $(PROJECT_INCLUDE)/libchip \
40
    $(PROJECT_INCLUDE)/libchip/sonic.h
41
endif
42
 
43
TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIB_VARIANT).a
44
 
45
if HAS_NETWORKING
46
all-local: $(ARCH) $(PREINSTALL_FILES) $(OBJS) $(LIB) $(TMPINSTALL_FILES)
47
endif
48
 
49
.PRECIOUS: $(LIB)
50
 
51
EXTRA_DIST = README README.dec21140 README.sonic dec21140.c sonic.c sonic.h
52
 
53
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.