alsa.audio: Furter work on skeleton
[AROS.git] / workbench / devs / AHI / Drivers / Makefile.in
blob174dec177d2fb59289bc7e915ee9c43df4bd4b16
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 += VIA-AC97
41 SUBDIRS += CMI8738
42 SUBDIRS += SB128
43 SUBDIRS += HDAudio
44 SUBDIRS += EMU10kx
45 SUBDIRS += Envy24HT
46 SUBDIRS += Envy24
47 endif
49 ifneq ($(strip $(HAVE_OSS)),)
50 SUBDIRS += AROS
51 endif
53 ifneq ($(strip $(HAVE_OPENPCI)),)
54 SUBDIRS += EMU10kx
55 endif
57 ifeq ($(strip $(host)),powerpc-unknown-amigaos)
58 SUBDIRS += EMU10kx
59 endif
61 all:
62 @for i in $(SUBDIRS); do (cd $$i && $(MAKE) $(MFLAGS) $@) || exit; done
64 install:
65 @for i in $(SUBDIRS); do (cd $$i && $(MAKE) $(MFLAGS) $@) || exit; done
67 clean:
68 -@for i in $(SUBDIRS); do (cd $$i && $(MAKE) $(MFLAGS) $@); done
70 distclean: clean
71 -@for i in $(SUBDIRS); do (cd $$i && $(MAKE) $(MFLAGS) $@); done
72 $(RM) Makefile
74 maintainer-clean: distclean
75 -@for i in $(SUBDIRS); do (cd $$i && $(MAKE) $(MFLAGS) $@); done
77 bindist:
78 @for i in $(SUBDIRS); do (cd $$i && $(MAKE) $(MFLAGS) $@) || exit; done
79 $(INSTALL) -d $(DRIVERDIR)
80 for d in $(SUBDIRS) Paula Toccata Void Wavetools; do \
81 cd $(srcdir) && find $${d} -type f -and -not -path '*CVS*' \
82 -exec $(INSTALL_DATA) -D {} $(DRIVERDIR)/{} \; ; \
83 done
86 # Auto-remake autoconf stuff
87 ########################################
89 Makefile: Makefile.in ../config.status
90 (cd .. && ./config.status)
94 # Rules
95 ########################################