File: Makefile

package info (click to toggle)
alsadriver 0.2.0-pre8-3
  • links: PTS
  • area: main
  • in suites: slink
  • size: 2,808 kB
  • ctags: 6,550
  • sloc: ansic: 43,490; sh: 916; makefile: 759; perl: 54
file content (71 lines) | stat: -rw-r--r-- 1,628 bytes parent folder | download
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
#
# Makefile for ALSA Sequencer
# Copyright (c) 1998 by Frank van de Pol <F.K.W.van.de.Pol@inter.nl.net>
#

TOPDIR  = ../..

include $(TOPDIR)/Makefile.conf

TARGETS = $(SNDVERSIONS) \
	$(TOPDIR)/modules/snd-seq.o \
	$(TOPDIR)/modules/snd-seq-systimer.o \
	$(TOPDIR)/modules/snd-seq-midisynth.o
SYMFILES= seq_export.c  seq_midisynth_export.c
OBJECTS = seq.o seq_clientmgr.o seq_memory.o seq_queue.o \
	seq_fifo.o seq_prioq.o seq_scheduler.o \
	seq_timer.o seq_system.o seq_ports.o seq_export.o \
	seq_info.o
SYSTIMER  = seq_systimer.o
MIDISYNTH = seq_midisynth.o seq_midisynth_export.o

include $(TOPDIR)/Rules.make

all: $(TARGETS)
	@echo
	@echo "ALSA sequencer modules were sucessfully compiled."
	@echo

include $(TOPDIR)/Rules1.make

$(TOPDIR)/modules/snd-seq.o: .depend $(SNDVERSIONS) $(OBJECTS)
	$(LINKER) -o $@ $(OBJECTS)

$(TOPDIR)/modules/snd-seq-systimer.o: .depend $(SNDVERSIONS) $(SYSTIMER)
	$(LINKER) -o $@ $(SYSTIMER)

$(TOPDIR)/modules/snd-seq-midisynth.o: .depend $(SNDVERSIONS) $(MIDISYNTH)
	$(LINKER) -o $@ $(MIDISYNTH)

gcompile: $(TARGETS)

ARCH_SOURCES = \
	Makefile README Changes \
	*.c *.h *.sym\
	../../include/seq*.h\

snapshot: 
	rm $(SYMFILES)
	tar czvf ../../../archive/snapshot-kernel-`date +%d%b%Y`.tar.gz $(ARCH_SOURCES)
	ls -l  ../../../archive/snapshot-*-`date +%d%b%Y`.tar.gz

ci:
	ci -l $(ARCH_SOURCES)

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