source: libbsdport/bsd_eth_drivers/if_em/Makefile.am @ 370f3c5

Last change on this file since 370f3c5 was 370f3c5, checked in by Till Straumann <strauman@…>, on Aug 5, 2009 at 9:41:20 PM

2009-08-05 Till Straumann <Till.Straumann@…>

  • if_em/Makefile.am, if_em/e1000_osdep.h, if_em/if_em.c: Changed 'e1000_osdep.h' to provide stdalone I/O methods for select architectures (x86 and PPC -- others fall back on libbsdport/bus.h). This lets the low-level driver (everything except for 'if_em.c/if_em.h') API be independent of BSD networking and libbsdport which is desirable since certain applications may wish to just use the low-level API for implementing dedicated 'raw-ethernet' drivers for BSD-independent, proprietary GigE communication.
  • Property mode set to 100644
File size: 1.8 KB
Line 
1#  $Id$
2AUTOMAKE_OPTIONS=foreign
3
4include $(top_srcdir)/rtems-pre.am
5
6libif_em_a_SOURCES               = if_em.c
7libif_em_a_SOURCES              += e1000_80003es2lan.c e1000_82540.c e1000_82541.c
8libif_em_a_SOURCES              += e1000_82543.c e1000_82571.c e1000_82575.c
9libif_em_a_SOURCES              += e1000_api.c e1000_mac.c e1000_manage.c
10libif_em_a_SOURCES              += e1000_nvm.c e1000_phy.c
11
12libif_em_a_SOURCES              += e1000_80003es2lan.h e1000_82541.h e1000_82543.h
13libif_em_a_SOURCES              += e1000_82571.h e1000_82575.h e1000_api.h
14libif_em_a_SOURCES              += e1000_defines.h e1000_hw.h e1000_ich8lan.h
15libif_em_a_SOURCES              += e1000_mac.h e1000_manage.h e1000_nvm.h
16libif_em_a_SOURCES              += e1000_osdep.h e1000_phy.h e1000_regs.h if_em.h
17
18EXTRA_libif_em_a_SOURCES         = e1000_82542.c e1000_ich8lan.c
19
20CPPFLAGS_82542_SUPPORT_NO        = -DNO_82542_SUPPORT
21CPPFLAGS_ICH8LAN_SUPPORT_NO      = -DNO_ICH8LAN_SUPPORT
22
23O_PIECES_82542_SUPPORT_YES       = e1000_82542.$(OBJEXT)
24O_PIECES_ICH8LAN_SUPPORT_YES     = e1000_ich8lan.$(OBJEXT)
25
26libif_em_a_LIBADD                =
27libif_em_a_LIBADD               += $(O_PIECES_82542_SUPPORT_$(ENBL_82542_SUPPORT))
28libif_em_a_LIBADD               += $(O_PIECES_ICH8LAN_SUPPORT_$(ENBL_ICH8LAN_SUPPORT))
29
30libif_em_a_DEPENDENCIES          = $(libif_em_a_LIBADD)
31
32lib_LIBRARIES                    = libif_em.a
33
34AM_CPPFLAGS                     += -D_KERNEL
35AM_CPPFLAGS                     += -I$(srcdir)
36AM_CPPFLAGS                     += -I$(srcdir)/../libbsdport -I../libbsdport  -I../libbsdport/dummyheaders
37AM_CPPFLAGS                     += $(CPPFLAGS_82542_SUPPORT_$(ENBL_82542_SUPPORT))
38AM_CPPFLAGS                     += $(CPPFLAGS_ICH8LAN_SUPPORT_$(ENBL_ICH8LAN_SUPPORT))
39
40include $(top_srcdir)/rtems.am
Note: See TracBrowser for help on using the repository browser.