]> git.karo-electronics.de Git - karo-tx-uboot.git/blob - drivers/net/npe/Makefile
Merge remote-tracking branch 'u-boot/master'
[karo-tx-uboot.git] / drivers / net / npe / Makefile
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
24 include $(TOPDIR)/config.mk
25
26 LIB := $(obj)libnpe.o
27
28 LOCAL_CFLAGS  += -I$(TOPDIR)/drivers/net/npe/include -DCONFIG_IXP425_COMPONENT_ETHDB -D__linux
29 CFLAGS  += $(LOCAL_CFLAGS)
30 CPPFLAGS  += $(LOCAL_CFLAGS) # needed for depend
31 HOSTCFLAGS  += $(LOCAL_CFLAGS)
32
33 COBJS-$(CONFIG_IXP4XX_NPE) := npe.o \
34         miiphy.o \
35         IxOsalBufferMgt.o \
36         IxOsalIoMem.o \
37         IxOsalOsCacheMMU.o \
38         IxOsalOsMsgQ.o \
39         IxOsalOsSemaphore.o \
40         IxOsalOsServices.o \
41         IxOsalOsThread.o \
42         IxEthAcc.o \
43         IxEthAccCommon.o \
44         IxEthAccControlInterface.o \
45         IxEthAccDataPlane.o \
46         IxEthAccMac.o \
47         IxEthAccMii.o \
48         IxEthDBAPI.o \
49         IxEthDBAPISupport.o \
50         IxEthDBCore.o \
51         IxEthDBEvents.o \
52         IxEthDBFeatures.o \
53         IxEthDBFirewall.o \
54         IxEthDBHashtable.o \
55         IxEthDBLearning.o \
56         IxEthDBMem.o \
57         IxEthDBNPEAdaptor.o \
58         IxEthDBPortUpdate.o \
59         IxEthDBReports.o \
60         IxEthDBSearch.o \
61         IxEthDBSpanningTree.o \
62         IxEthDBUtil.o \
63         IxEthDBVlan.o \
64         IxEthDBWiFi.o \
65         IxEthMii.o \
66         IxQMgrAqmIf.o \
67         IxQMgrDispatcher.o \
68         IxQMgrInit.o \
69         IxQMgrQAccess.o \
70         IxQMgrQCfg.o \
71         IxFeatureCtrl.o \
72         IxNpeDl.o \
73         IxNpeDlImageMgr.o \
74         IxNpeDlNpeMgr.o \
75         IxNpeDlNpeMgrUtils.o \
76         IxNpeMh.o \
77         IxNpeMhConfig.o \
78         IxNpeMhReceive.o \
79         IxNpeMhSend.o \
80         IxNpeMhSolicitedCbMgr.o \
81         IxNpeMhUnsolicitedCbMgr.o
82
83 SRCS    := $(SOBJS:.o=.S) $(COBJS-y:.o=.c)
84 OBJS    := $(addprefix $(obj),$(COBJS-y))
85 SOBJS   := $(addprefix $(obj),$(SOBJS))
86
87 all:    $(LIB)
88
89 $(LIB): $(obj).depend $(OBJS)
90         $(call cmd_link_o_target, $(OBJS))
91
92 #########################################################################
93
94 # defines $(obj).depend target
95 include $(SRCTREE)/rules.mk
96
97 sinclude $(obj).depend
98
99 #########################################################################