source: rtems/c/src/libchip/network/Makefile.am @ 3ffa814

Last change on this file since 3ffa814 was 3ffa814, checked in by Joel Sherrill <joel.sherrill@…>, on Oct 5, 2005 at 7:29:23 PM

2005-10-05 Jiri Gaisler <jiri@…>

Edvin Catovic <edvin@…>
Konrad Eisele <konrad@…>

PR 827/bsps

  • network/Makefile.am, network/open_eth.c, network/open_eth.h: Portion of large update of SPARC BSPs. Includes addition of sis, leon2 and leon3 BSPs, deletion of leon BSP, addition of SMC91111 NIC driver and much more.
  • network/README.smc91111, network/smc91111.c, network/smc91111.h, network/smc91111config.h, network/smc91111exp.h: New files.
  • Property mode set to 100644
File size: 1.3 KB
Line 
1##
2## $Id$
3##
4
5
6include_libchipdir = $(includedir)/libchip
7
8LIBNAME = libnetchip
9LIB = $(ARCH)/$(LIBNAME).a
10
11C_FILES = cs8900.c dec21140.c i82586.c sonic.c if_fxp.c elnk.c open_eth.c \
12          smc91111.c
13OBJS = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
14
15include_libchip_HEADERS = cs8900.h i82586var.h if_fxpvar.h sonic.h if_media.h \
16    mii.h open_eth.h smc91111.h smc91111exp.h
17
18include $(top_srcdir)/../../../automake/compile.am
19include $(top_srcdir)/../../../automake/lib.am
20
21$(PROJECT_INCLUDE)/libchip:
22        @$(mkinstalldirs) $@
23$(PROJECT_INCLUDE)/libchip/%.h: %.h
24        $(INSTALL_DATA) $< $@
25
26#
27# Add local stuff here using +=
28#
29
30AM_CPPFLAGS += -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
31
32$(LIB): $(OBJS)
33        $(make-library)
34
35$(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIB_VARIANT).a: $(LIB)
36        $(INSTALL_DATA) $< $@
37
38if HAS_NETWORKING
39PREINSTALL_FILES = $(PROJECT_INCLUDE)/libchip \
40    $(include_libchip_HEADERS:%=$(PROJECT_INCLUDE)/libchip/%)
41endif
42
43TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIB_VARIANT).a
44
45if HAS_NETWORKING
46all-local: $(ARCH) $(PREINSTALL_FILES) $(OBJS) $(LIB) $(TMPINSTALL_FILES)
47endif
48
49.PRECIOUS: $(LIB)
50
51EXTRA_DIST = README README.cs8900 README.dec21140 README.i82586 \
52    README.open_eth README.sonic cs8900.c cs8900.c.bsp dec21140.c \
53    i82586.c if_fxp.c open_eth.c sonic.c \
54    smc91111.c
55
56include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.