source: rtems/c/src/libchip/network/Makefile.am @ 74c402a2

4.104.114.84.95
Last change on this file since 74c402a2 was 2b947a4, checked in by Joel Sherrill <joel.sherrill@…>, on 07/16/02 at 22:37:13

2002-07-16 Eric Norum <eric.norum@…>

  • New driver for the Intel EtherExpressPro? (82559ER) chip.
  • network/if_fxp.c, network/if_fxpreg.h, network/if_fxpvar.h, network/pci.h: New file.
  • network/Makefile.am: Modified to reflect above.
  • 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
11# add cs8900.c to work with it and make it compile
12C_FILES = dec21140.c i82586.c sonic.c if_fxp.c
13C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
14
15include_libchip_HEADERS = cs8900.h i82586var.h if_fxpvar.h sonic.h
16
17OBJS = $(C_O_FILES)
18
19include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
20include $(top_srcdir)/../../../automake/compile.am
21include $(top_srcdir)/../../../automake/lib.am
22
23$(PROJECT_INCLUDE)/libchip:
24        @$(mkinstalldirs) $@
25$(PROJECT_INCLUDE)/libchip/%.h: %.h
26        $(INSTALL_DATA) $< $@
27
28#
29# Add local stuff here using +=
30#
31
32AM_CPPFLAGS += -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
33AM_CFLAGS += $(LIBC_DEFINES)
34
35$(LIB): $(OBJS)
36        $(make-library)
37
38$(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIB_VARIANT).a: $(LIB)
39        $(INSTALL_DATA) $< $@
40
41if HAS_NETWORKING
42PREINSTALL_FILES = $(PROJECT_INCLUDE)/libchip \
43    $(include_libchip_HEADERS:%=$(PROJECT_INCLUDE)/libchip/%)
44endif
45
46TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIB_VARIANT).a
47
48if HAS_NETWORKING
49all-local: $(ARCH) $(PREINSTALL_FILES) $(OBJS) $(LIB) $(TMPINSTALL_FILES)
50endif
51
52.PRECIOUS: $(LIB)
53
54EXTRA_DIST = README README.cs8900 README.dec21140 README.i82586 README.sonic \
55    cs8900.c dec21140.c i82586.c if_fxp.c sonic.c
56
57include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.