blob: 937de9d47b66dae3cffb265fa1b4e887eb32f9ea [file] [log] [blame]
Wolfgang Denkba94a1b2006-05-30 15:56:48 +02001#
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
24include $(TOPDIR)/config.mk
25
26LIB := libnpe.a
27
28CFLAGS += -I$(TOPDIR)/cpu/ixp/npe/include -DCONFIG_IXP425_COMPONENT_ETHDB
29
30OBJS := npe.o \
31 miiphy.o \
32 IxOsalBufferMgt.o \
33 IxOsalIoMem.o \
34 IxOsalOsCacheMMU.o \
35 IxOsalOsMsgQ.o \
36 IxOsalOsSemaphore.o \
37 IxOsalOsServices.o \
38 IxOsalOsThread.o \
39 IxEthAcc.o \
40 IxEthAccCommon.o \
41 IxEthAccControlInterface.o \
42 IxEthAccDataPlane.o \
43 IxEthAccMac.o \
44 IxEthAccMii.o \
45 IxEthDBAPI.o \
46 IxEthDBAPISupport.o \
47 IxEthDBCore.o \
48 IxEthDBEvents.o \
49 IxEthDBFeatures.o \
50 IxEthDBFirewall.o \
51 IxEthDBHashtable.o \
52 IxEthDBLearning.o \
53 IxEthDBMem.o \
54 IxEthDBNPEAdaptor.o \
55 IxEthDBPortUpdate.o \
56 IxEthDBReports.o \
57 IxEthDBSearch.o \
58 IxEthDBSpanningTree.o \
59 IxEthDBUtil.o \
60 IxEthDBVlan.o \
61 IxEthDBWiFi.o \
62 IxEthMii.o \
63 IxQMgrAqmIf.o \
64 IxQMgrDispatcher.o \
65 IxQMgrInit.o \
66 IxQMgrQAccess.o \
67 IxQMgrQCfg.o \
68 IxFeatureCtrl.o \
69 IxNpeDl.o \
70 IxNpeDlImageMgr.o \
71 IxNpeDlNpeMgr.o \
72 IxNpeDlNpeMgrUtils.o \
73 IxNpeMicrocode.o \
74 IxNpeMh.o \
75 IxNpeMhConfig.o \
76 IxNpeMhReceive.o \
77 IxNpeMhSend.o \
78 IxNpeMhSolicitedCbMgr.o \
79 IxNpeMhUnsolicitedCbMgr.o
80
81all: $(LIB)
82
83$(LIB): $(OBJS)
84 $(AR) crv $@ $(OBJS)
85
86#########################################################################
87
88.depend: Makefile $(OBJS:.o=.c)
89 $(CC) -M $(CFLAGS) $(OBJS:.o=.c) > $@
90
91sinclude .depend