Check for SYS/GL during library init. Reason is that
[AROS.git] / workbench / devs / networks / e1000 / mmakefile.src
bloba15d4e992cce1264da0e3a26156b012f7732e7e5
1 #   $Id$
3 include $(SRCDIR)/config/aros.cfg
5 #MM- workbench-devs-networks-e1000-i386 : workbench-devs-networks-e1000
6 #MM- workbench-devs-networks-e1000-x86_64 : workbench-devs-networks-e1000
8 FILES := handler unit e1000
9 INTELCOREFILES := e1000_api e1000_phy e1000_mac e1000_nvm e1000_manage
10 INTELMACFILES := e1000_82540 e1000_82541 e1000_82542 e1000_82543
12 CFLAGSNORMAL = $(CFLAGS) -DDEBUG=0
13 CFLAGSDEBUG = $(CFLAGS) -DDEBUG=1
14 ##CFLAGSDEBUG = $(CFLAGS) -DDEBUG=1 -Dintel_debug
15 USER_LDFLAGS := -static
17 #MM- workbench-devs-networks-e1000 : workbench-devs-networks-e1000-normal
18 #MM- workbench-devs-networks-e1000 : workbench-devs-networks-e1000-debug
20 %build_module mmake=workbench-devs-networks-e1000-normal \
21     modname=e1000 modtype=device \
22     files="e1000_init $(FILES) $(INTELCOREFILES) $(INTELMACFILES)" cflags=$(CFLAGSNORMAL) \
23     objdir=$(OBJDIR)/normal moduledir=Devs/Networks uselibs="hiddstubs"
25 %build_module mmake=workbench-devs-networks-e1000-debug \
26     modname=e1000_debug modtype=device \
27     files="e1000_init $(FILES) $(INTELCOREFILES) $(INTELMACFILES)" conffile=e1000.conf cflags=$(CFLAGSDEBUG) \
28     objdir=$(OBJDIR)/debug moduledir=Storage/Networks uselibs="hiddstubs"