revert between 56095 -> 55830 in arch
[AROS.git] / workbench / devs / AHI / Drivers / Makefile.in
blob102497c38fdeb39e911b18b61e148e6cffedf985
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@
19 host_cpu = @host_cpu@
21 INSTALL = @INSTALL@
22 INSTALL_DATA = @INSTALL_DATA@
24 VPATH = @srcdir@
26 HAVE_OPENPCI = @HAVE_OPENPCI@
27 HAVE_OSS = @HAVE_OSS@
28 HAVE_ASMIO = @HAVE_ASMIO@
29 HAVE_ALSA = @HAVE_ALSA@
32 # Targets
33 ########################################
35 .PHONY: all clean distclean maintainer-clean bindist
37 SUBDIRS = Device Filesave Void
40 ifneq ($(strip $(HAVE_ASMIO)),)
41 SUBDIRS += ac97
42 SUBDIRS += HDAudio
43 SUBDIRS += SB128
44 ifneq ($(host_cpu),x86_64)
45 SUBDIRS += VIA-AC97
46 SUBDIRS += CMI8738
47 SUBDIRS += EMU10kx
48 SUBDIRS += Envy24HT
49 SUBDIRS += Envy24
50 endif
51 endif
53 ifneq ($(strip $(HAVE_OSS)),)
54 SUBDIRS += AROS
55 endif
57 ifneq ($(strip $(HAVE_OPENPCI)),)
58 SUBDIRS += EMU10kx
59 endif
61 ifeq ($(strip $(host)),powerpc-unknown-amigaos)
62 SUBDIRS += EMU10kx
63 endif
65 ifneq ($(strip $(HAVE_ALSA)),)
66 SUBDIRS += Alsa
67 endif
69 all:
70 @for i in $(SUBDIRS); do (cd $$i && $(MAKE) $(MFLAGS) $@) || exit; done
72 install:
73 @for i in $(SUBDIRS); do (cd $$i && $(MAKE) $(MFLAGS) $@) || exit; done
75 clean:
76 -@for i in $(SUBDIRS); do (cd $$i && $(MAKE) $(MFLAGS) $@); done
78 distclean: clean
79 -@for i in $(SUBDIRS); do (cd $$i && $(MAKE) $(MFLAGS) $@); done
80 $(RM) Makefile
82 maintainer-clean: distclean
83 -@for i in $(SUBDIRS); do (cd $$i && $(MAKE) $(MFLAGS) $@); done
85 bindist:
86 @for i in $(SUBDIRS); do (cd $$i && $(MAKE) $(MFLAGS) $@) || exit; done
87 $(INSTALL) -d $(DRIVERDIR)
88 for d in $(SUBDIRS) Paula Toccata Void Wavetools; do \
89 cd $(srcdir) && find $${d} -type f -and -not -path '*CVS*' \
90 -exec $(INSTALL_DATA) -D {} $(DRIVERDIR)/{} \; ; \
91 done
94 # Auto-remake autoconf stuff
95 ########################################
97 Makefile: Makefile.in ../config.status
98 (cd .. && ./config.status)
102 # Rules
103 ########################################