Makefile 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. #
  2. # (C) Copyright 2006
  3. # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  4. #
  5. # See file CREDITS for list of people who contributed to this
  6. # project.
  7. #
  8. # This program is free software; you can redistribute it and/or
  9. # modify it under the terms of the GNU General Public License as
  10. # published by the Free Software Foundation; either version 2 of
  11. # the License, or (at your option) any later version.
  12. #
  13. # This program is distributed in the hope that it will be useful,
  14. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  16. # GNU General Public License for more details.
  17. #
  18. # You should have received a copy of the GNU General Public License
  19. # along with this program; if not, write to the Free Software
  20. # Foundation, Inc., 59 Temple Place, Suite 330, Boston,
  21. # MA 02111-1307 USA
  22. #
  23. include $(TOPDIR)/config.mk
  24. LIB := libnpe.a
  25. CFLAGS += -I$(TOPDIR)/cpu/ixp/npe/include -DCONFIG_IXP425_COMPONENT_ETHDB
  26. OBJS := npe.o \
  27. miiphy.o \
  28. IxOsalBufferMgt.o \
  29. IxOsalIoMem.o \
  30. IxOsalOsCacheMMU.o \
  31. IxOsalOsMsgQ.o \
  32. IxOsalOsSemaphore.o \
  33. IxOsalOsServices.o \
  34. IxOsalOsThread.o \
  35. IxEthAcc.o \
  36. IxEthAccCommon.o \
  37. IxEthAccControlInterface.o \
  38. IxEthAccDataPlane.o \
  39. IxEthAccMac.o \
  40. IxEthAccMii.o \
  41. IxEthDBAPI.o \
  42. IxEthDBAPISupport.o \
  43. IxEthDBCore.o \
  44. IxEthDBEvents.o \
  45. IxEthDBFeatures.o \
  46. IxEthDBFirewall.o \
  47. IxEthDBHashtable.o \
  48. IxEthDBLearning.o \
  49. IxEthDBMem.o \
  50. IxEthDBNPEAdaptor.o \
  51. IxEthDBPortUpdate.o \
  52. IxEthDBReports.o \
  53. IxEthDBSearch.o \
  54. IxEthDBSpanningTree.o \
  55. IxEthDBUtil.o \
  56. IxEthDBVlan.o \
  57. IxEthDBWiFi.o \
  58. IxEthMii.o \
  59. IxQMgrAqmIf.o \
  60. IxQMgrDispatcher.o \
  61. IxQMgrInit.o \
  62. IxQMgrQAccess.o \
  63. IxQMgrQCfg.o \
  64. IxFeatureCtrl.o \
  65. IxNpeDl.o \
  66. IxNpeDlImageMgr.o \
  67. IxNpeDlNpeMgr.o \
  68. IxNpeDlNpeMgrUtils.o \
  69. IxNpeMicrocode.o \
  70. IxNpeMh.o \
  71. IxNpeMhConfig.o \
  72. IxNpeMhReceive.o \
  73. IxNpeMhSend.o \
  74. IxNpeMhSolicitedCbMgr.o \
  75. IxNpeMhUnsolicitedCbMgr.o
  76. all: $(LIB)
  77. $(LIB): $(OBJS)
  78. $(AR) crv $@ $(OBJS)
  79. #########################################################################
  80. .depend: Makefile $(OBJS:.o=.c)
  81. $(CC) -M $(CFLAGS) $(OBJS:.o=.c) > $@
  82. sinclude .depend