AHI: build Alsa driver when alsa-bridge link lib is detected
[AROS.git] / workbench / devs / mmakefile.src
blobc02156b60465ea830eb9b498a59f09647fd6558c
1 # $Id$
2 include $(TOP)/config/make.cfg
4 #MM- workbench-devs-complete : workbench-devs
6 #MM- workbench-devs : includes linklibs workbench-devs-common \
7 #MM    workbench-devs-$(AROS_TARGET_ARCH)-$(AROS_TARGET_CPU)
9 #MM- workbench-devs-quick : workbench-devs-common-quick \
10 #MM    workbench-devs-$(AROS_TARGET_ARCH)-$(AROS_TARGET_CPU)-quick
12 #MM- workbench-devs-common : \
13 #MM    workbench-devs-fdsk \
14 #MM    workbench-devs-ramdrive \
15 #MM    workbench-devs-monitors \
16 #MM    workbench-devs-mountlist \
17 #MM    workbench-devs-networks \
18 #MM    workbench-devs-AHI \
19 #MM    workbench-devs-diskimage
21 #MM- workbench-devs-quick : \
22 #MM    workbench-devs-fdsk-quick \
23 #MM    workbench-devs-ramdrive-quick \
24 #MM    workbench-devs-monitors \
25 #MM    workbench-devs-mountlist \
26 #MM    workbench-devs-networks \
27 #MM    workbench-devs-AHI-quick \
28 #MM    workbench-devs-diskimage-quick
30 #MM- includes-generate : \
31 #MM      workbench-devs-input-includes
33 USER_LDFLAGS := -static
35 %build_module mmake=workbench-devs-fdsk \
36   modname=fdsk modtype=device \
37   files=fdsk_device
39 USER_LDFLAGS := -static
41 %build_module mmake=workbench-devs-ramdrive \
42   modname=ramdrive modtype=device \
43   files=ramdrive_device
45 #MM
46 workbench-devs-mountlist : $(AROS_DEVS)/Mountlist workbench-devs-dosdrivers
48 $(AROS_DEVS)/Mountlist : Mountlist
49         @$(CP) $< $@
51 #MM workbench-devs-dosdrivers
52 workbench-devs-dosdrivers :
53         @if [ -d $(SRCDIR)/$(CURDIR)/DOSDrivers ] ; then $(MKDIR) $(AROS_DEVS)/DOSDrivers ; $(CP) $(SRCDIR)/$(CURDIR)/DOSDrivers/* $(AROS_DEVS)/DOSDrivers ; fi