1 # $Id: mmakefile.src 29806 2008-10-18 10:52:30Z verhaegs $
2 include $(TOP)/config/make.cfg
4 #MM- devs-networks-drivers-rtl8168-i386 : networking-drivers-rtl8168
5 #MM- devs-networks-drivers-rtl8168-x86_64 : networking-drivers-rtl8168
7 FILES := handler unit rtl8168
9 CFLAGSNORMAL = $(CFLAGS) -DDEBUG=0
10 CFLAGSDEBUG = $(CFLAGS) -DDEBUG=1
12 #MM- networking-drivers-rtl8168 : networking-drivers-rtl8168-normal
13 #MM- networking-drivers-rtl8168 : networking-drivers-rtl8168-debug
15 %build_module mmake=networking-drivers-rtl8168-normal \
16 modname=rtl8168 modtype=device \
17 files="rtl8168_init $(FILES)" cflags=$(CFLAGSNORMAL) \
18 objdir=$(OBJDIR)/normal moduledir=Devs/Networks uselibs="oop rom amiga hiddstubs"
20 %build_module mmake=networking-drivers-rtl8168-debug \
21 modname=rtl8168_debug modtype=device \
22 files="rtl8168_init $(FILES)" conffile=rtl8168.conf cflags=$(CFLAGSDEBUG) \
23 objdir=$(OBJDIR)/debug moduledir=Storage/Networks uselibs="oop rom amiga hiddstubs"