Check for SYS/GL during library init. Reason is that
[AROS.git] / workbench / devs / AHI / Drivers / EMU10kx / Makefile.in
blobe2e8e5f40b560c47b593b38339819026e73d9d2a
2 # Makefile.in for EMU10kx sound card driver
5 VPATH = @srcdir@
7 srcdir = @srcdir@
9 DRIVER = emu10kx.audio
10 MODEFILE = EMU10KX
12 OBJECTS = emu10kx-init.o emu10kx-main.o emu10kx-accel.o \
13 emu10kx-misc.o emu10kx-interrupt.o emu10kx-camd.o \
14 emu10kx-ac97.o \
15 main.o hwaccess.o emuadxmg.o efxmgr.o voicemgr.o \
16 linuxsupport.o pci_wrapper.o
18 include ../Common/Makefile.common
19 CPPFLAGS += -DAHI
21 # CAMD driver
23 host_cpu = @host_cpu@
24 CAMDDIR = ${DISTDIR}/User/Devs/MIDI
26 ifeq ($(host_cpu),m68k)
27 all: CAMD/emu10kx
28 clean: camd-clean
29 bindist: camd-bindist
30 endif
32 camd-clean:
33 $(RM) camdstubs.c camdstubs.h CAMD/emu10kx CAMD/emu10kx.o CAMD.stamp
35 camd-bindist: all
36 $(INSTALL) -d $(CAMDDIR)
37 $(INSTALL_PROGRAM) CAMD/emu10kx $(CAMDDIR)
38 $(STRIP) $(CAMDDIR)/emu10kx
40 CAMD/emu10kx: CAMD/emu10kx.o camdstubs.o
41 $(CC) $(LDFLAGS) $^ -o $@
43 CAMD.stamp:
44 test -e CAMD || mkdir CAMD
45 touch $@
47 CAMD/emu10kx.o: CAMD.stamp CAMD/emu10kx.c camdstubs.h emu10kx-camd.h version.h