Build the SB128/ES137x Driver
[AROS.git] / workbench / devs / AHI / Drivers / Makefile.in
blob84085ca2b4bf35a6755e95d82ee6cb215b439b57
2 # Makefile.in for the drivers
6 # Autoconfig stuff
7 ########################################
9 @SET_MAKE@
11 top_srcdir = @top_srcdir@
12 srcdir = @srcdir@
13 DISTDIR = @DISTDIR@
15 DEVDIR = ${DISTDIR}/Developer
16 DRIVERDIR = ${DEVDIR}/Drivers
18 host = @host@
20 INSTALL = @INSTALL@
21 INSTALL_DATA = @INSTALL_DATA@
23 VPATH = @srcdir@
25 HAVE_OPENPCI = @HAVE_OPENPCI@
26 HAVE_OSS = @HAVE_OSS@
27 HAVE_ASMIO = @HAVE_ASMIO@
30 # Targets
31 ########################################
33 .PHONY: all clean distclean maintainer-clean bindist
35 SUBDIRS = Device Filesave Void
38 ifneq ($(strip $(HAVE_ASMIO)),)
39 SUBDIRS += ac97
40 SUBDIRS += CMI8738
41 SUBDIRS += SB128
42 SUBDIRS += HDAudio
43 SUBDIRS += EMU10kx
44 endif
46 ifneq ($(strip $(HAVE_OSS)),)
47 SUBDIRS += AROS
48 endif
50 ifneq ($(strip $(HAVE_OPENPCI)),)
51 SUBDIRS += EMU10kx
52 endif
54 ifeq ($(strip $(host)),powerpc-unknown-amigaos)
55 SUBDIRS += EMU10kx
56 endif
58 all:
59 @for i in $(SUBDIRS); do (cd $$i && $(MAKE) $(MFLAGS) $@) || exit; done
61 install:
62 @for i in $(SUBDIRS); do (cd $$i && $(MAKE) $(MFLAGS) $@) || exit; done
64 clean:
65 -@for i in $(SUBDIRS); do (cd $$i && $(MAKE) $(MFLAGS) $@); done
67 distclean: clean
68 -@for i in $(SUBDIRS); do (cd $$i && $(MAKE) $(MFLAGS) $@); done
69 $(RM) Makefile
71 maintainer-clean: distclean
72 -@for i in $(SUBDIRS); do (cd $$i && $(MAKE) $(MFLAGS) $@); done
74 bindist:
75 @for i in $(SUBDIRS); do (cd $$i && $(MAKE) $(MFLAGS) $@) || exit; done
76 $(INSTALL) -d $(DRIVERDIR)
77 for d in $(SUBDIRS) Paula Toccata Void Wavetools; do \
78 cd $(srcdir) && find $${d} -type f -and -not -path '*CVS*' \
79 -exec $(INSTALL_DATA) -D {} $(DRIVERDIR)/{} \; ; \
80 done
83 # Auto-remake autoconf stuff
84 ########################################
86 Makefile: Makefile.in ../config.status
87 (cd .. && ./config.status)
91 # Rules
92 ########################################