Check for SYS/GL during library init. Reason is that
[AROS.git] / workbench / devs / AHI / Drivers / Makefile.in
blobb0599049e4c3aebee5fde01e6487c405d9430eec
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@
28 HAVE_ALSA = @HAVE_ALSA@
31 # Targets
32 ########################################
34 .PHONY: all clean distclean maintainer-clean bindist
36 SUBDIRS = Device Filesave Void
39 ifneq ($(strip $(HAVE_ASMIO)),)
40 SUBDIRS += ac97
41 SUBDIRS += VIA-AC97
42 SUBDIRS += CMI8738
43 SUBDIRS += SB128
44 SUBDIRS += HDAudio
45 SUBDIRS += EMU10kx
46 SUBDIRS += Envy24HT
47 SUBDIRS += Envy24
48 endif
50 ifneq ($(strip $(HAVE_OSS)),)
51 SUBDIRS += AROS
52 endif
54 ifneq ($(strip $(HAVE_OPENPCI)),)
55 SUBDIRS += EMU10kx
56 endif
58 ifeq ($(strip $(host)),powerpc-unknown-amigaos)
59 SUBDIRS += EMU10kx
60 endif
62 ifneq ($(strip $(HAVE_ALSA)),)
63 SUBDIRS += Alsa
64 endif
66 all:
67 @for i in $(SUBDIRS); do (cd $$i && $(MAKE) $(MFLAGS) $@) || exit; done
69 install:
70 @for i in $(SUBDIRS); do (cd $$i && $(MAKE) $(MFLAGS) $@) || exit; done
72 clean:
73 -@for i in $(SUBDIRS); do (cd $$i && $(MAKE) $(MFLAGS) $@); done
75 distclean: clean
76 -@for i in $(SUBDIRS); do (cd $$i && $(MAKE) $(MFLAGS) $@); done
77 $(RM) Makefile
79 maintainer-clean: distclean
80 -@for i in $(SUBDIRS); do (cd $$i && $(MAKE) $(MFLAGS) $@); done
82 bindist:
83 @for i in $(SUBDIRS); do (cd $$i && $(MAKE) $(MFLAGS) $@) || exit; done
84 $(INSTALL) -d $(DRIVERDIR)
85 for d in $(SUBDIRS) Paula Toccata Void Wavetools; do \
86 cd $(srcdir) && find $${d} -type f -and -not -path '*CVS*' \
87 -exec $(INSTALL_DATA) -D {} $(DRIVERDIR)/{} \; ; \
88 done
91 # Auto-remake autoconf stuff
92 ########################################
94 Makefile: Makefile.in ../config.status
95 (cd .. && ./config.status)
99 # Rules
100 ########################################