Makefile
3.1 KB
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
#!smake
#
# Makefile for n_audio
#
PRDEPTH=$(ROOT)/PR
include $(PRDEPTH)/PRdefs
LIBDEPTH=$(ROOT)/PR/libnaudio
include $(LIBDEPTH)/libdefs
COMMONPREF=libnaudio
.NOTPARALLEL:
LIBINCLUDE = $(ROOT)/PR/libultra/include
LCDEFS = -D_ULTRA64 -DN_MICRO
LCOPTS = -non_shared -fullwarn -G 0 -mips2
LCINCS = -I$(LIBDEPTH) -I$(LIBINCLUDE) -I$(ROOT)/usr/include -I$(ROOT)/usr/include/PR
HFILES = \
n_abi.h \
n_cseqp.h \
n_libaudio.h \
n_libaudio_s_to_n.h \
n_seqp.h \
n_sndp.h \
n_synthInternals.h
CFILES = \
n_auxbus.c \
n_drvrNew.c \
n_env.c \
n_load.c \
n_mainbus.c \
n_resample.c \
n_reverb.c \
n_save.c \
n_sl.c \
\
n_synaddplayer.c \
n_synallocfx.c \
n_synallocvoice.c \
n_syndelete.c \
n_synfreefx.c \
n_synfreevoice.c \
n_syngetfxref.c \
n_syngetpriority.c \
n_synremoveplayer.c \
n_synsetfxmix.c \
n_synsetfxparam.c \
n_synsetpan.c \
n_synsetpitch.c \
n_synsetpriority.c \
n_synsetvol.c \
n_synstartvoice.c \
n_synstartvoiceparam.c \
n_synstopvoice.c \
n_synthesizer.c\
\
n_seqplayer.c\
n_seqpdelete.c\
n_seqpgetchlvol.c\
n_seqpgetfxmix.c\
n_seqpgetpan.c\
n_seqpgetpriority.c\
n_seqpgetprogram.c\
n_seqpgetseq.c\
n_seqpgetstate.c\
n_seqpgettempo.c\
n_seqpgetvol.c\
n_seqpplay.c\
n_seqpsendmidi.c\
n_seqpsetbank.c\
n_seqpsetchlvol.c\
n_seqpsetfxmix.c\
n_seqpsetpan.c\
n_seqpsetpriority.c\
n_seqpsetprogram.c\
n_seqpsetseq.c\
n_seqpsettempo.c\
n_seqpsetvol.c\
n_seqpstop.c\
n_seqploop.c\
\
n_csplayer.c\
n_cspdelete.c\
n_cspgetchlvol.c\
n_cspgetfxmix.c\
n_cspgetpan.c\
n_cspgetpriority.c\
n_cspgetprogram.c\
n_cspgetseq.c\
n_cspgetstate.c\
n_cspgettempo.c\
n_cspgetvol.c\
n_cspplay.c\
n_cspsendmidi.c\
n_cspsetbank.c\
n_cspsetchlvol.c\
n_cspsetfxmix.c\
n_cspsetpan.c\
n_cspsetpriority.c\
n_cspsetprogram.c\
n_cspsetseq.c\
n_cspsettempo.c\
n_cspsetvol.c\
n_cspstop.c\
\
n_sndpallocate.c\
n_sndpdeallocate.c\
n_sndpdelete.c\
n_sndpgetstate.c\
n_sndplayer.c\
n_sndpplay.c\
n_sndpplayat.c\
n_sndpsetfxmix.c\
n_sndpsetpan.c\
n_sndpsetpitch.c\
n_sndpsetpriority.c\
n_sndpsetvol.c\
n_sndpstop.c\
n_sndpgetsound.c\
n_sndpsetsound.c\
\
n_event.c\
n_seq.c\
n_csq.c
COBJECTS = $(CFILES:.c=.o)
ADDFILES = \
n_env_add01.c \
n_load_add01.c \
n_load_add02.c \
n_resample_add01.c \
n_reverb_add01.c \
n_reverb_add02.c \
n_reverb_add03.c \
n_reverb_add04.c \
n_save_add01.c
LDIRT =
sinclude locdefs
include $(LIBDEPTH)/librules
headers:
$(INSTALL) -m 444 -F /usr/include/PR n_libaudio.h n_libaudio_s_to_n.h
install! headers default
for i in $(TARGETS) ; do \
$(INSTALL) -m 444 -F /usr/lib -src $$i/$$i.a $$i.a; \
done
$(INSTALL) -m 444 -F /usr/src/PR/libsrc/libnaudio $(SOURCES)
$(INSTALL) -m 444 -F /usr/src/PR/libsrc/libnaudio $(ADDFILES)
$(INSTALL) -m 444 -F /usr/src/PR/libsrc/libnaudio -src Makefile.src Makefile
$(INSTALL) -m 444 -F /usr/src/PR/libsrc/libnaudio/libn_audio \
-src libn_audio/locdefs locdefs
$(INSTALL) -m 444 -F /usr/src/PR/libsrc/libnaudio/libn_audio_d \
-src libn_audio_d/locdefs locdefs
clean clobber! $(_FORCE)
for i in $(TARGETS) ; do \
rm -rf $$i/$$i.a $$i/$(MKDEPFILE) $$i/*.o; \
done
include $(PRDEPTH)/PRrules