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 | |
---|
6 | include_libchipdir = $(includedir)/libchip |
---|
7 | |
---|
8 | LIBNAME = libnetchip |
---|
9 | LIB = $(ARCH)/$(LIBNAME).a |
---|
10 | |
---|
11 | # add cs8900.c to work with it and make it compile |
---|
12 | C_FILES = dec21140.c i82586.c sonic.c if_fxp.c |
---|
13 | C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o) |
---|
14 | |
---|
15 | include_libchip_HEADERS = cs8900.h i82586var.h if_fxpvar.h sonic.h |
---|
16 | |
---|
17 | OBJS = $(C_O_FILES) |
---|
18 | |
---|
19 | include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg |
---|
20 | include $(top_srcdir)/../../../automake/compile.am |
---|
21 | include $(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 | |
---|
32 | AM_CPPFLAGS += -D__INSIDE_RTEMS_BSD_TCPIP_STACK__ |
---|
33 | AM_CFLAGS += $(LIBC_DEFINES) |
---|
34 | |
---|
35 | $(LIB): $(OBJS) |
---|
36 | $(make-library) |
---|
37 | |
---|
38 | $(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIB_VARIANT).a: $(LIB) |
---|
39 | $(INSTALL_DATA) $< $@ |
---|
40 | |
---|
41 | if HAS_NETWORKING |
---|
42 | PREINSTALL_FILES = $(PROJECT_INCLUDE)/libchip \ |
---|
43 | $(include_libchip_HEADERS:%=$(PROJECT_INCLUDE)/libchip/%) |
---|
44 | endif |
---|
45 | |
---|
46 | TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIB_VARIANT).a |
---|
47 | |
---|
48 | if HAS_NETWORKING |
---|
49 | all-local: $(ARCH) $(PREINSTALL_FILES) $(OBJS) $(LIB) $(TMPINSTALL_FILES) |
---|
50 | endif |
---|
51 | |
---|
52 | .PRECIOUS: $(LIB) |
---|
53 | |
---|
54 | EXTRA_DIST = README README.cs8900 README.dec21140 README.i82586 README.sonic \ |
---|
55 | cs8900.c dec21140.c i82586.c if_fxp.c sonic.c |
---|
56 | |
---|
57 | include $(top_srcdir)/../../../automake/local.am |
---|
Note: See
TracBrowser
for help on using the repository browser.