1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
|
#
# Makefile for ALSA low level driver (Linux version)
# Copyright (c) 1994-98 by Jaroslav Kysela <perex@jcu.cz>
#
TOPDIR = ../..
include $(TOPDIR)/Makefile.conf
TARGETS = $(SNDVERSIONS) \
$(TOPDIR)/modules/snd-pcm1.o \
$(TOPDIR)/modules/snd-pcm1-oss.o
SYMFILES= pcm1_export.c
PCM1 = pcm1_native.o pcm1_export.o
PCM1_OSS= pcm1_oss.o
include $(TOPDIR)/Rules.make
all: $(TARGETS)
@echo
@echo "ALSA PCM middle level code were sucessfully compiled."
@echo
include $(TOPDIR)/Rules1.make
$(TOPDIR)/modules/snd-pcm1.o: .depend $(SNDVERSIONS) $(PCM1)
$(LINKER) -o $@ $(PCM1)
$(TOPDIR)/modules/snd-pcm1-oss.o: .depend $(SNDVERSIONS) $(PCM1_OSS)
$(LINKER) -o $@ $(PCM1_OSS)
gcompile: $(TARGETS)
clean:
rm -f .depend *.o *.orig snd.map snd.map? *.old *~
rm -f core $(SNDVERSIONS) $(SYMFILES)
.depend: $(SYMFILES)
$(CPP) $(COPTS) $(INCLUDE) *.c > .depend
dep: .depend
dummy:
#
# include a dependency file if one exists
#
ifeq (.depend,$(wildcard .depend))
include .depend
endif
|