1-- license:BSD-3-Clause
2-- copyright-holders:MAMEdev Team
3
4---------------------------------------------------------------------------
5--
6--   sound.lua
7--
8--   Rules for building sound cores
9--
10----------------------------------------------------------------------------
11
12files {
13	MAME_DIR .. "src/devices/sound/flt_biquad.cpp",
14	MAME_DIR .. "src/devices/sound/flt_biquad.h",
15	MAME_DIR .. "src/devices/sound/flt_vol.cpp",
16	MAME_DIR .. "src/devices/sound/flt_vol.h",
17	MAME_DIR .. "src/devices/sound/flt_rc.cpp",
18	MAME_DIR .. "src/devices/sound/flt_rc.h",
19	MAME_DIR .. "src/devices/sound/samples.cpp",
20	MAME_DIR .. "src/devices/sound/samples.h",
21}
22
23---------------------------------------------------
24-- DACs
25--@src/devices/sound/dac.h,SOUNDS["DAC"] = true
26--@src/devices/sound/dmadac.h,SOUNDS["DMADAC"] = true
27--@src/devices/sound/spkrdev.h,SOUNDS["SPEAKER"] = true
28--@src/devices/sound/beep.h,SOUNDS["BEEP"] = true
29---------------------------------------------------
30
31if (SOUNDS["DAC"]~=null) then
32	files {
33		MAME_DIR .. "src/devices/sound/dac.cpp",
34		MAME_DIR .. "src/devices/sound/dac.h",
35	}
36end
37
38if (SOUNDS["DMADAC"]~=null) then
39	files {
40		MAME_DIR .. "src/devices/sound/dmadac.cpp",
41		MAME_DIR .. "src/devices/sound/dmadac.h",
42	}
43end
44
45if (SOUNDS["SPEAKER"]~=null) then
46	files {
47		MAME_DIR .. "src/devices/sound/spkrdev.cpp",
48		MAME_DIR .. "src/devices/sound/spkrdev.h",
49	}
50end
51
52if (SOUNDS["BEEP"]~=null) then
53	files {
54		MAME_DIR .. "src/devices/sound/beep.cpp",
55		MAME_DIR .. "src/devices/sound/beep.h",
56	}
57end
58
59
60
61---------------------------------------------------
62-- CD audio
63--@src/devices/sound/cdda.h,SOUNDS["CDDA"] = true
64---------------------------------------------------
65
66if (SOUNDS["CDDA"]~=null) then
67	files {
68		MAME_DIR .. "src/devices/sound/cdda.cpp",
69		MAME_DIR .. "src/devices/sound/cdda.h",
70	}
71end
72
73
74
75---------------------------------------------------
76-- Discrete component audio
77--@src/devices/sound/discrete.h,SOUNDS["DISCRETE"] = true
78---------------------------------------------------
79
80if (SOUNDS["DISCRETE"]~=null) then
81	files {
82		MAME_DIR .. "src/devices/sound/discrete.cpp",
83		MAME_DIR .. "src/devices/sound/discrete.h",
84		MAME_DIR .. "src/devices/sound/disc_cls.h",
85		MAME_DIR .. "src/devices/sound/disc_dev.h",
86		MAME_DIR .. "src/devices/sound/disc_dev.hxx",
87		MAME_DIR .. "src/devices/sound/disc_flt.h",
88		MAME_DIR .. "src/devices/sound/disc_flt.hxx",
89		MAME_DIR .. "src/devices/sound/disc_inp.hxx",
90		MAME_DIR .. "src/devices/sound/disc_mth.h",
91		MAME_DIR .. "src/devices/sound/disc_mth.hxx",
92		MAME_DIR .. "src/devices/sound/disc_sys.hxx",
93		MAME_DIR .. "src/devices/sound/disc_wav.h",
94		MAME_DIR .. "src/devices/sound/disc_wav.hxx",
95	}
96end
97
98---------------------------------------------------
99-- AC97
100--@src/devices/sound/pci-ac97.h,SOUNDS["AC97"] = true
101---------------------------------------------------
102
103if (SOUNDS["AC97"]~=null) then
104	files {
105		MAME_DIR .. "src/devices/sound/pci-ac97.cpp",
106		MAME_DIR .. "src/devices/sound/pci-ac97.h",
107	}
108end
109
110
111
112---------------------------------------------------
113-- Apple custom sound chips
114--@src/devices/sound/asc.h,SOUNDS["ASC"] = true
115--@src/devices/sound/awacs.h,SOUNDS["AWACS"] = true
116---------------------------------------------------
117
118if (SOUNDS["ASC"]~=null) then
119	files {
120		MAME_DIR .. "src/devices/sound/asc.cpp",
121		MAME_DIR .. "src/devices/sound/asc.h",
122	}
123end
124
125if (SOUNDS["AWACS"]~=null) then
126	files {
127		MAME_DIR .. "src/devices/sound/awacs.cpp",
128		MAME_DIR .. "src/devices/sound/awacs.h",
129	}
130end
131
132
133---------------------------------------------------
134-- Atari custom sound chips
135--@src/devices/sound/pokey.h,SOUNDS["POKEY"] = true
136--@src/devices/sound/tiaintf.h,SOUNDS["TIA"] = true
137---------------------------------------------------
138
139if (SOUNDS["POKEY"]~=null) then
140	files {
141		MAME_DIR .. "src/devices/sound/pokey.cpp",
142		MAME_DIR .. "src/devices/sound/pokey.h",
143	}
144end
145
146if (SOUNDS["TIA"]~=null) then
147	files {
148		MAME_DIR .. "src/devices/sound/tiasound.cpp",
149		MAME_DIR .. "src/devices/sound/tiasound.h",
150		MAME_DIR .. "src/devices/sound/tiaintf.cpp",
151		MAME_DIR .. "src/devices/sound/tiaintf.h",
152	}
153end
154
155
156
157---------------------------------------------------
158-- Amiga audio hardware
159--@src/devices/machine/8364_paula.h,SOUNDS["PAULA_8364"] = true
160---------------------------------------------------
161
162if (SOUNDS["PAULA_8364"]~=null) then
163	files {
164		MAME_DIR .. "src/devices/machine/8364_paula.cpp",
165		MAME_DIR .. "src/devices/machine/8364_paula.h",
166	}
167end
168
169
170
171---------------------------------------------------
172-- Bally Astrocade sound system
173--@src/devices/sound/astrocde.h,SOUNDS["ASTROCADE"] = true
174---------------------------------------------------
175
176if (SOUNDS["ASTROCADE"]~=null) then
177	files {
178		MAME_DIR .. "src/devices/sound/astrocde.cpp",
179		MAME_DIR .. "src/devices/sound/astrocde.h",
180	}
181end
182
183
184
185---------------------------------------------------
186---------------------------------------------------
187-- AC97
188--@src/devices/sound/pic-ac97.h,SOUNDS["AC97"] = true
189---------------------------------------------------
190
191if (SOUNDS["AC97"]~=null) then
192	files {
193		MAME_DIR .. "src/devices/sound/pci-ac97.cpp",
194		MAME_DIR .. "src/devices/sound/pci-ac97.h",
195	}
196end
197-- CEM 3394 analog synthesizer chip
198--@src/devices/sound/cem3394.h,SOUNDS["CEM3394"] = true
199---------------------------------------------------
200
201if (SOUNDS["CEM3394"]~=null) then
202	files {
203		MAME_DIR .. "src/devices/sound/cem3394.cpp",
204		MAME_DIR .. "src/devices/sound/cem3394.h",
205	}
206end
207
208
209
210---------------------------------------------------
211-- Creative Labs SB0400 Audigy2 Value
212--@src/devices/sound/sb0400.h,SOUNDS["SB0400"] = true
213---------------------------------------------------
214
215if (SOUNDS["SB0400"]~=null) then
216	files {
217		MAME_DIR .. "src/devices/sound/sb0400.cpp",
218		MAME_DIR .. "src/devices/sound/sb0400.h",
219	}
220end
221
222
223--------------------------------------------------
224-- Creative Labs Ensonic AudioPCI97 ES1373
225--@src/devices/sound/es1373.h,SOUNDS["ES1373"] = true
226--------------------------------------------------
227
228if (SOUNDS["ES1373"]~=null) then
229	files {
230		MAME_DIR .. "src/devices/sound/es1373.cpp",
231		MAME_DIR .. "src/devices/sound/es1373.h",
232	}
233end
234
235---------------------------------------------------
236-- Data East custom sound chips
237--@src/devices/sound/bsmt2000.h,SOUNDS["BSMT2000"] = true
238---------------------------------------------------
239
240if (SOUNDS["BSMT2000"]~=null) then
241	files {
242		MAME_DIR .. "src/devices/sound/bsmt2000.cpp",
243		MAME_DIR .. "src/devices/sound/bsmt2000.h",
244	}
245end
246
247
248
249---------------------------------------------------
250-- Ensoniq 5503 (Apple IIgs)
251--@src/devices/sound/es5503.h,SOUNDS["ES5503"] = true
252---------------------------------------------------
253
254if (SOUNDS["ES5503"]~=null) then
255	files {
256		MAME_DIR .. "src/devices/sound/es5503.cpp",
257		MAME_DIR .. "src/devices/sound/es5503.h",
258	}
259end
260
261
262
263---------------------------------------------------
264-- Ensoniq 5505/5506
265--@src/devices/sound/es5506.h,SOUNDS["ES5505"] = true
266---------------------------------------------------
267
268if (SOUNDS["ES5505"]~=null or SOUNDS["ES5506"]~=null) then
269	files {
270		MAME_DIR .. "src/devices/sound/es5506.cpp",
271		MAME_DIR .. "src/devices/sound/es5506.h",
272	}
273end
274
275
276---------------------------------------------------
277-- Ensoniq "pump" device, interfaces 5505/5506 with 5510
278--@src/devices/sound/esqpump.h,SOUNDS["ESQPUMP"] = true
279---------------------------------------------------
280
281if (SOUNDS["ESQPUMP"]~=null) then
282	files {
283		MAME_DIR .. "src/devices/sound/esqpump.cpp",
284		MAME_DIR .. "src/devices/sound/esqpump.h",
285	}
286end
287
288
289---------------------------------------------------
290-- Excellent Systems ADPCM sound chip
291--@src/devices/sound/es8712.h,SOUNDS["ES8712"] = true
292---------------------------------------------------
293
294if (SOUNDS["ES8712"]~=null) then
295	files {
296		MAME_DIR .. "src/devices/sound/es8712.cpp",
297		MAME_DIR .. "src/devices/sound/es8712.h",
298	}
299end
300
301
302
303---------------------------------------------------
304-- Gaelco custom sound chips
305--@src/devices/sound/gaelco.h,SOUNDS["GAELCO_CG1V"] = true
306---------------------------------------------------
307
308if (SOUNDS["GAELCO_CG1V"]~=null or SOUNDS["GAELCO_GAE1"]~=null) then
309	files {
310		MAME_DIR .. "src/devices/sound/gaelco.cpp",
311		MAME_DIR .. "src/devices/sound/gaelco.h",
312	}
313end
314
315
316---------------------------------------------------
317-- RCA CDP1863
318--@src/devices/sound/cdp1863.h,SOUNDS["CDP1863"] = true
319---------------------------------------------------
320
321if (SOUNDS["CDP1863"]~=null) then
322	files {
323		MAME_DIR .. "src/devices/sound/cdp1863.cpp",
324		MAME_DIR .. "src/devices/sound/cdp1863.h",
325	}
326end
327
328
329
330---------------------------------------------------
331-- RCA CDP1864
332--@src/devices/sound/cdp1864.h,SOUNDS["CDP1864"] = true
333---------------------------------------------------
334
335if (SOUNDS["CDP1864"]~=null) then
336	files {
337		MAME_DIR .. "src/devices/sound/cdp1864.cpp",
338		MAME_DIR .. "src/devices/sound/cdp1864.h",
339	}
340end
341
342
343
344---------------------------------------------------
345-- RCA CDP1869
346--@src/devices/sound/cdp1869.h,SOUNDS["CDP1869"] = true
347---------------------------------------------------
348
349if (SOUNDS["CDP1869"]~=null) then
350	files {
351		MAME_DIR .. "src/devices/sound/cdp1869.cpp",
352		MAME_DIR .. "src/devices/sound/cdp1869.h",
353	}
354end
355
356
357
358---------------------------------------------------
359-- GI AY-8910
360--@src/devices/sound/ay8910.h,SOUNDS["AY8910"] = true
361---------------------------------------------------
362
363if (SOUNDS["AY8910"]~=null) then
364	files {
365		MAME_DIR .. "src/devices/sound/ay8910.cpp",
366		MAME_DIR .. "src/devices/sound/ay8910.h",
367	}
368end
369
370
371
372---------------------------------------------------
373-- Harris HC55516 CVSD
374--@src/devices/sound/hc55516.h,SOUNDS["HC55516"] = true
375---------------------------------------------------
376
377if (SOUNDS["HC55516"]~=null) then
378	files {
379		MAME_DIR .. "src/devices/sound/hc55516.cpp",
380		MAME_DIR .. "src/devices/sound/hc55516.h",
381	}
382end
383
384
385
386---------------------------------------------------
387-- Hudsonsoft HuC6230 SoundBox
388--@src/devices/sound/huc6230.h,SOUNDS["HUC6230"] = true
389---------------------------------------------------
390
391if (SOUNDS["HUC6230"]~=null) then
392	files {
393		MAME_DIR .. "src/devices/sound/huc6230.cpp",
394		MAME_DIR .. "src/devices/sound/huc6230.h",
395	}
396end
397
398
399
400---------------------------------------------------
401-- Hudsonsoft C6280 sound chip
402--@src/devices/sound/c6280.h,SOUNDS["C6280"] = true
403---------------------------------------------------
404
405if (SOUNDS["C6280"]~=null) then
406	files {
407		MAME_DIR .. "src/devices/sound/c6280.cpp",
408		MAME_DIR .. "src/devices/sound/c6280.h",
409	}
410end
411
412
413
414---------------------------------------------------
415-- ICS2115 sound chip
416--@src/devices/sound/ics2115.h,SOUNDS["ICS2115"] = true
417---------------------------------------------------
418
419if (SOUNDS["ICS2115"]~=null) then
420	files {
421		MAME_DIR .. "src/devices/sound/ics2115.cpp",
422		MAME_DIR .. "src/devices/sound/ics2115.h",
423	}
424end
425
426
427
428---------------------------------------------------
429-- Imagetek I5000 sound
430--@src/devices/sound/i5000.h,SOUNDS["I5000_SND"] = true
431---------------------------------------------------
432
433if (SOUNDS["I5000_SND"]~=null) then
434	files {
435		MAME_DIR .. "src/devices/sound/i5000.cpp",
436		MAME_DIR .. "src/devices/sound/i5000.h",
437	}
438end
439
440
441
442---------------------------------------------------
443-- Irem custom sound chips
444--@src/devices/sound/iremga20.h,SOUNDS["IREMGA20"] = true
445---------------------------------------------------
446
447if (SOUNDS["IREMGA20"]~=null) then
448	files {
449		MAME_DIR .. "src/devices/sound/iremga20.cpp",
450		MAME_DIR .. "src/devices/sound/iremga20.h",
451	}
452end
453
454
455
456---------------------------------------------------
457-- Konami custom sound chips
458--@src/devices/sound/k005289.h,SOUNDS["K005289"] = true
459--@src/devices/sound/k007232.h,SOUNDS["K007232"] = true
460--@src/devices/sound/k051649.h,SOUNDS["K051649"] = true
461--@src/devices/sound/k053260.h,SOUNDS["K053260"] = true
462--@src/devices/sound/k054539.h,SOUNDS["K054539"] = true
463--@src/devices/sound/k056800.h,SOUNDS["K056800"] = true
464---------------------------------------------------
465
466if (SOUNDS["K005289"]~=null) then
467	files {
468		MAME_DIR .. "src/devices/sound/k005289.cpp",
469		MAME_DIR .. "src/devices/sound/k005289.h",
470	}
471end
472
473if (SOUNDS["K007232"]~=null) then
474	files {
475		MAME_DIR .. "src/devices/sound/k007232.cpp",
476		MAME_DIR .. "src/devices/sound/k007232.h",
477	}
478end
479
480if (SOUNDS["K051649"]~=null) then
481	files {
482		MAME_DIR .. "src/devices/sound/k051649.cpp",
483		MAME_DIR .. "src/devices/sound/k051649.h",
484	}
485end
486
487if (SOUNDS["K053260"]~=null) then
488	files {
489		MAME_DIR .. "src/devices/sound/k053260.cpp",
490		MAME_DIR .. "src/devices/sound/k053260.h",
491	}
492end
493
494if (SOUNDS["K054539"]~=null) then
495	files {
496		MAME_DIR .. "src/devices/sound/k054539.cpp",
497		MAME_DIR .. "src/devices/sound/k054539.h",
498	}
499end
500
501if (SOUNDS["K056800"]~=null) then
502	files {
503		MAME_DIR .. "src/devices/sound/k056800.cpp",
504		MAME_DIR .. "src/devices/sound/k056800.h",
505	}
506end
507
508
509---------------------------------------------------
510-- L7A1045 L6028 DSP-A
511--@src/devices/sound/l7a1045_l6028_dsp_a.h,SOUNDS["L7A1045"] = true
512---------------------------------------------------
513
514if (SOUNDS["L7A1045"]~=null) then
515	files {
516		MAME_DIR .. "src/devices/sound/l7a1045_l6028_dsp_a.cpp",
517		MAME_DIR .. "src/devices/sound/l7a1045_l6028_dsp_a.h",
518	}
519end
520
521
522---------------------------------------------------
523-- LMC1992 mixer chip
524--@src/devices/sound/lmc1992.h,SOUNDS["LMC1992"] = true
525---------------------------------------------------
526
527if (SOUNDS["LMC1992"]~=null) then
528	files {
529		MAME_DIR .. "src/devices/sound/lmc1992.cpp",
530		MAME_DIR .. "src/devices/sound/lmc1992.h",
531	}
532end
533
534
535
536---------------------------------------------------
537-- MAS 3507D MPEG 1/2 Layer 2/3 Audio Decoder
538--@src/devices/sound/mas3507d.h,SOUNDS["MAS3507D"] = true
539---------------------------------------------------
540
541if (SOUNDS["MAS3507D"]~=null) then
542	files {
543		MAME_DIR .. "src/devices/sound/mas3507d.cpp",
544		MAME_DIR .. "src/devices/sound/mas3507d.h",
545	}
546end
547
548
549
550---------------------------------------------------
551-- MEA8000 Voice Synthesizer
552--@src/devices/sound/mea8000.h,SOUNDS["MEA8000"] = true
553---------------------------------------------------
554
555if (SOUNDS["MEA8000"]~=null) then
556	files {
557		MAME_DIR .. "src/devices/sound/mea8000.cpp",
558		MAME_DIR .. "src/devices/sound/mea8000.h",
559	}
560end
561
562
563
564---------------------------------------------------
565-- MOS 6560VIC
566--@src/devices/sound/mos6560.h,SOUNDS["MOS656X"] = true
567---------------------------------------------------
568
569if (SOUNDS["MOS656X"]~=null) then
570	files {
571		MAME_DIR .. "src/devices/sound/mos6560.cpp",
572		MAME_DIR .. "src/devices/sound/mos6560.h",
573	}
574end
575
576
577
578---------------------------------------------------
579-- MOS 7360 TED
580--@src/devices/sound/mos7360.h,SOUNDS["MOS7360"] = true
581---------------------------------------------------
582
583if (SOUNDS["MOS7360"]~=null) then
584	files {
585		MAME_DIR .. "src/devices/sound/mos7360.cpp",
586		MAME_DIR .. "src/devices/sound/mos7360.h",
587	}
588end
589
590
591
592---------------------------------------------------
593-- Namco custom sound chips
594--@src/devices/sound/namco.h,SOUNDS["NAMCO"] = true
595--@src/devices/sound/namco_163.h,SOUNDS["NAMCO_163"] = true
596--@src/devices/sound/n63701x.h,SOUNDS["NAMCO_63701X"] = true
597--@src/devices/sound/c140.h,SOUNDS["C140"] = true
598--@src/devices/sound/c352.h,SOUNDS["C352"] = true
599---------------------------------------------------
600
601if (SOUNDS["NAMCO"]~=null or SOUNDS["NAMCO_15XX"]~=null or SOUNDS["NAMCO_CUS30"]~=null) then
602	files {
603		MAME_DIR .. "src/devices/sound/namco.cpp",
604		MAME_DIR .. "src/devices/sound/namco.h",
605	}
606end
607
608if (SOUNDS["NAMCO_163"]~=null) then
609	files {
610		MAME_DIR .. "src/devices/sound/namco_163.cpp",
611		MAME_DIR .. "src/devices/sound/namco_163.h",
612	}
613end
614
615if (SOUNDS["NAMCO_63701X"]~=null) then
616	files {
617		MAME_DIR .. "src/devices/sound/n63701x.cpp",
618		MAME_DIR .. "src/devices/sound/n63701x.h",
619	}
620end
621
622if (SOUNDS["C140"]~=null) then
623	files {
624		MAME_DIR .. "src/devices/sound/c140.cpp",
625		MAME_DIR .. "src/devices/sound/c140.h",
626	}
627end
628
629if (SOUNDS["C352"]~=null) then
630	files {
631		MAME_DIR .. "src/devices/sound/c352.cpp",
632		MAME_DIR .. "src/devices/sound/c352.h",
633	}
634end
635
636
637
638---------------------------------------------------
639-- National Semiconductor Digitalker
640--@src/devices/sound/digitalk.h,SOUNDS["DIGITALKER"] = true
641---------------------------------------------------
642
643if (SOUNDS["DIGITALKER"]~=null) then
644	files {
645		MAME_DIR .. "src/devices/sound/digitalk.cpp",
646		MAME_DIR .. "src/devices/sound/digitalk.h",
647	}
648end
649
650
651
652---------------------------------------------------
653-- Nintendo custom sound chips
654--@src/devices/sound/nes_apu.h,SOUNDS["NES_APU"] = true
655---------------------------------------------------
656
657if (SOUNDS["NES_APU"]~=null) then
658	files {
659		MAME_DIR .. "src/devices/sound/nes_apu.cpp",
660		MAME_DIR .. "src/devices/sound/nes_apu.h",
661		MAME_DIR .. "src/devices/sound/nes_defs.h",
662		MAME_DIR .. "src/devices/sound/nes_apu_vt.cpp",
663		MAME_DIR .. "src/devices/sound/nes_apu_vt.h",
664	}
665end
666
667
668
669---------------------------------------------------
670-- NEC uPD7759 ADPCM sample player
671--@src/devices/sound/upd7759.h,SOUNDS["UPD7759"] = true
672---------------------------------------------------
673
674if (SOUNDS["UPD7759"]~=null) then
675	files {
676		MAME_DIR .. "src/devices/sound/upd7759.cpp",
677		MAME_DIR .. "src/devices/sound/upd7759.h",
678		MAME_DIR .. "src/devices/sound/315-5641.cpp",
679		MAME_DIR .. "src/devices/sound/315-5641.h",
680	}
681end
682
683
684
685---------------------------------------------------
686-- OKI ADPCM sample players
687--@src/devices/sound/okim6258.h,SOUNDS["OKIM6258"] = true
688--@src/devices/sound/msm5205.h,SOUNDS["MSM5205"] = true
689--@src/devices/sound/msm5232.h,SOUNDS["MSM5232"] = true
690--@src/devices/sound/okim6376.h,SOUNDS["OKIM6376"] = true
691--@src/devices/sound/okim6295.h,SOUNDS["OKIM6295"] = true
692--@src/devices/sound/okim9810.h,SOUNDS["OKIM9810"] = true
693--@src/devices/sound/okiadpcm.h,SOUNDS["OKIADPCM"] = true
694---------------------------------------------------
695
696if (SOUNDS["OKIM6258"]~=null or SOUNDS["OKIM6295"]~=null or SOUNDS["OKIM9810"]~=null or SOUNDS["I5000_SND"]~=null or SOUNDS["OKIADPCM"]~=null) then
697	files {
698		MAME_DIR .. "src/devices/sound/okiadpcm.cpp",
699		MAME_DIR .. "src/devices/sound/okiadpcm.h",
700	}
701end
702
703if (SOUNDS["MSM5205"]~=null or SOUNDS["MSM6585"]~=null) then
704	files {
705		MAME_DIR .. "src/devices/sound/msm5205.cpp",
706		MAME_DIR .. "src/devices/sound/msm5205.h",
707	}
708end
709
710if (SOUNDS["MSM5232"]~=null) then
711	files {
712		MAME_DIR .. "src/devices/sound/msm5232.cpp",
713		MAME_DIR .. "src/devices/sound/msm5232.h",
714	}
715end
716
717if (SOUNDS["OKIM6376"]~=null) then
718	files {
719		MAME_DIR .. "src/devices/sound/okim6376.cpp",
720		MAME_DIR .. "src/devices/sound/okim6376.h",
721	}
722end
723
724if (SOUNDS["OKIM6295"]~=null) then
725	files {
726		MAME_DIR .. "src/devices/sound/okim6295.cpp",
727		MAME_DIR .. "src/devices/sound/okim6295.h",
728	}
729end
730
731if (SOUNDS["OKIM6258"]~=null) then
732	files {
733		MAME_DIR .. "src/devices/sound/okim6258.cpp",
734		MAME_DIR .. "src/devices/sound/okim6258.h",
735	}
736end
737
738if (SOUNDS["OKIM9810"]~=null) then
739	files {
740		MAME_DIR .. "src/devices/sound/okim9810.cpp",
741		MAME_DIR .. "src/devices/sound/okim9810.h",
742	}
743end
744
745
746
747---------------------------------------------------
748-- Philips SAA1099
749--@src/devices/sound/saa1099.h,SOUNDS["SAA1099"] = true
750---------------------------------------------------
751
752if (SOUNDS["SAA1099"]~=null) then
753	files {
754		MAME_DIR .. "src/devices/sound/saa1099.cpp",
755		MAME_DIR .. "src/devices/sound/saa1099.h",
756	}
757end
758
759
760
761---------------------------------------------------
762-- AdMOS QS1000
763--@src/devices/sound/qs1000.h,SOUNDS["QS1000"] = true
764---------------------------------------------------
765
766if (SOUNDS["QS1000"]~=null) then
767	files {
768		MAME_DIR .. "src/devices/sound/qs1000.cpp",
769		MAME_DIR .. "src/devices/sound/qs1000.h",
770	}
771end
772
773
774
775---------------------------------------------------
776-- QSound sample player
777--@src/devices/sound/qsound.h,SOUNDS["QSOUND"] = true
778---------------------------------------------------
779
780if (SOUNDS["QSOUND"]~=null) then
781	files {
782		MAME_DIR .. "src/devices/sound/qsound.cpp",
783		MAME_DIR .. "src/devices/sound/qsound.h",
784		MAME_DIR .. "src/devices/sound/qsoundhle.cpp",
785		MAME_DIR .. "src/devices/sound/qsoundhle.h",
786	}
787end
788
789
790
791---------------------------------------------------
792-- Ricoh sample players
793--@src/devices/sound/rf5c68.h,SOUNDS["RF5C68"] = true
794--@src/devices/sound/rf5c400.h,SOUNDS["RF5C400"] = true
795---------------------------------------------------
796
797if (SOUNDS["RF5C68"]~=null) then
798	files {
799		MAME_DIR .. "src/devices/sound/rf5c68.cpp",
800		MAME_DIR .. "src/devices/sound/rf5c68.h",
801	}
802end
803
804if (SOUNDS["RF5C400"]~=null) then
805	files {
806		MAME_DIR .. "src/devices/sound/rf5c400.cpp",
807		MAME_DIR .. "src/devices/sound/rf5c400.h",
808	}
809end
810
811
812
813---------------------------------------------------
814-- Sega custom sound chips
815--@src/devices/sound/segapcm.h,SOUNDS["SEGAPCM"] = true
816--@src/devices/sound/multipcm.h,SOUNDS["MULTIPCM"] = true
817--@src/devices/sound/scsp.h,SOUNDS["SCSP"] = true
818--@src/devices/sound/aica.h,SOUNDS["AICA"] = true
819---------------------------------------------------
820
821if (SOUNDS["SEGAPCM"]~=null) then
822	files {
823		MAME_DIR .. "src/devices/sound/segapcm.cpp",
824		MAME_DIR .. "src/devices/sound/segapcm.h",
825	}
826end
827
828if (SOUNDS["MULTIPCM"]~=null) then
829	files {
830		MAME_DIR .. "src/devices/sound/multipcm.cpp",
831		MAME_DIR .. "src/devices/sound/multipcm.h",
832	}
833end
834
835if (SOUNDS["SCSP"]~=null) then
836	files {
837		MAME_DIR .. "src/devices/sound/scsp.cpp",
838		MAME_DIR .. "src/devices/sound/scsp.h",
839		MAME_DIR .. "src/devices/sound/scspdsp.cpp",
840		MAME_DIR .. "src/devices/sound/scspdsp.h",
841	}
842end
843
844if (SOUNDS["AICA"]~=null) then
845	files {
846		MAME_DIR .. "src/devices/sound/aica.cpp",
847		MAME_DIR .. "src/devices/sound/aica.h",
848		MAME_DIR .. "src/devices/sound/aicadsp.cpp",
849		MAME_DIR .. "src/devices/sound/aicadsp.h",
850	}
851end
852
853---------------------------------------------------
854-- Seta custom sound chips
855--@src/devices/sound/st0016.h,SOUNDS["ST0016"] = true
856--@src/devices/sound/nile.h,SOUNDS["NILE"] = true
857--@src/devices/sound/x1_010.h,SOUNDS["X1_010"] = true
858---------------------------------------------------
859
860if (SOUNDS["ST0016"]~=null) then
861	files {
862		MAME_DIR .. "src/devices/sound/st0016.cpp",
863		MAME_DIR .. "src/devices/sound/st0016.h",
864	}
865end
866
867if (SOUNDS["NILE"]~=null) then
868	files {
869		MAME_DIR .. "src/devices/sound/nile.cpp",
870		MAME_DIR .. "src/devices/sound/nile.h",
871	}
872end
873
874if (SOUNDS["X1_010"]~=null) then
875	files {
876		MAME_DIR .. "src/devices/sound/x1_010.cpp",
877		MAME_DIR .. "src/devices/sound/x1_010.h",
878	}
879end
880
881
882
883---------------------------------------------------
884-- SID custom sound chips
885--@src/devices/sound/mos6581.h,SOUNDS["SID6581"] = true
886---------------------------------------------------
887
888if (SOUNDS["SID6581"]~=null or SOUNDS["SID8580"]~=null) then
889	files {
890		MAME_DIR .. "src/devices/sound/mos6581.cpp",
891		MAME_DIR .. "src/devices/sound/mos6581.h",
892		MAME_DIR .. "src/devices/sound/sid.cpp",
893		MAME_DIR .. "src/devices/sound/sid.h",
894		MAME_DIR .. "src/devices/sound/sidenvel.cpp",
895		MAME_DIR .. "src/devices/sound/sidenvel.h",
896		MAME_DIR .. "src/devices/sound/sidvoice.cpp",
897		MAME_DIR .. "src/devices/sound/sidvoice.h",
898		MAME_DIR .. "src/devices/sound/side6581.h",
899		MAME_DIR .. "src/devices/sound/sidw6581.h",
900		MAME_DIR .. "src/devices/sound/sidw8580.h",
901	}
902end
903
904
905---------------------------------------------------
906-- SNK(?) custom stereo sn76489a clone
907--@src/devices/sound/t6w28.h,SOUNDS["T6W28"] = true
908---------------------------------------------------
909
910if (SOUNDS["T6W28"]~=null) then
911	files {
912		MAME_DIR .. "src/devices/sound/t6w28.cpp",
913		MAME_DIR .. "src/devices/sound/t6w28.h",
914	}
915end
916
917
918
919---------------------------------------------------
920-- SNK custom wave generator
921--@src/devices/sound/snkwave.h,SOUNDS["SNKWAVE"] = true
922---------------------------------------------------
923
924if (SOUNDS["SNKWAVE"]~=null) then
925	files {
926		MAME_DIR .. "src/devices/sound/snkwave.cpp",
927		MAME_DIR .. "src/devices/sound/snkwave.h",
928	}
929end
930
931
932
933---------------------------------------------------
934-- Sony custom sound chips
935--@src/devices/sound/spu.h,SOUNDS["SPU"] = true
936---------------------------------------------------
937
938if (SOUNDS["SPU"]~=null) then
939	files {
940		MAME_DIR .. "src/devices/sound/spu.cpp",
941		MAME_DIR .. "src/devices/sound/spu.h",
942		MAME_DIR .. "src/devices/sound/spu_tables.cpp",
943		MAME_DIR .. "src/devices/sound/spureverb.cpp",
944		MAME_DIR .. "src/devices/sound/spureverb.h",
945	}
946end
947
948
949---------------------------------------------------
950-- SP0256 speech synthesizer
951--@src/devices/sound/sp0256.h,SOUNDS["SP0256"] = true
952---------------------------------------------------
953
954if (SOUNDS["SP0256"]~=null) then
955	files {
956		MAME_DIR .. "src/devices/sound/sp0256.cpp",
957		MAME_DIR .. "src/devices/sound/sp0256.h",
958	}
959end
960
961
962
963---------------------------------------------------
964-- SP0250 speech synthesizer
965--@src/devices/sound/sp0250.h,SOUNDS["SP0250"] = true
966---------------------------------------------------
967
968if (SOUNDS["SP0250"]~=null) then
969	files {
970		MAME_DIR .. "src/devices/sound/sp0250.cpp",
971		MAME_DIR .. "src/devices/sound/sp0250.h",
972	}
973end
974
975
976
977---------------------------------------------------
978-- S14001A speech synthesizer
979--@src/devices/sound/s14001a.h,SOUNDS["S14001A"] = true
980---------------------------------------------------
981
982if (SOUNDS["S14001A"]~=null) then
983	files {
984		MAME_DIR .. "src/devices/sound/s14001a.cpp",
985		MAME_DIR .. "src/devices/sound/s14001a.h",
986	}
987end
988
989
990
991---------------------------------------------------
992-- Texas Instruments SN76477 analog chip
993--@src/devices/sound/sn76477.h,SOUNDS["SN76477"] = true
994---------------------------------------------------
995
996if (SOUNDS["SN76477"]~=null) then
997	files {
998		MAME_DIR .. "src/devices/sound/sn76477.cpp",
999		MAME_DIR .. "src/devices/sound/sn76477.h",
1000	}
1001end
1002
1003
1004
1005---------------------------------------------------
1006-- Texas Instruments SN76496
1007--@src/devices/sound/sn76496.h,SOUNDS["SN76496"] = true
1008---------------------------------------------------
1009
1010if (SOUNDS["SN76496"]~=null) then
1011	files {
1012		MAME_DIR .. "src/devices/sound/sn76496.cpp",
1013		MAME_DIR .. "src/devices/sound/sn76496.h",
1014	}
1015end
1016
1017
1018
1019---------------------------------------------------
1020-- Texas Instruments TMS36xx doorbell chime
1021--@src/devices/sound/tms36xx.h,SOUNDS["TMS36XX"] = true
1022---------------------------------------------------
1023
1024if (SOUNDS["TMS36XX"]~=null) then
1025	files {
1026		MAME_DIR .. "src/devices/sound/tms36xx.cpp",
1027		MAME_DIR .. "src/devices/sound/tms36xx.h",
1028	}
1029end
1030
1031
1032
1033---------------------------------------------------
1034-- Texas Instruments TMS3615 Octave Multiple Tone Synthesizer
1035--@src/devices/sound/tms3615.h,SOUNDS["TMS3615"] = true
1036---------------------------------------------------
1037
1038if (SOUNDS["TMS3615"]~=null) then
1039	files {
1040		MAME_DIR .. "src/devices/sound/tms3615.cpp",
1041		MAME_DIR .. "src/devices/sound/tms3615.h",
1042	}
1043end
1044
1045
1046
1047---------------------------------------------------
1048-- Texas Instruments TMS5100-series speech synthesizers
1049--@src/devices/sound/tms5110.h,SOUNDS["TMS5110"] = true
1050---------------------------------------------------
1051
1052if (SOUNDS["TMS5110"]~=null) then
1053	files {
1054		MAME_DIR .. "src/devices/sound/tms5110.cpp",
1055		MAME_DIR .. "src/devices/sound/tms5110.h",
1056		MAME_DIR .. "src/devices/sound/tms5110r.hxx",
1057	}
1058end
1059
1060---------------------------------------------------
1061-- Texas Instruments TMS5200-series speech synthesizers
1062--@src/devices/sound/tms5220.h,SOUNDS["TMS5220"] = true
1063---------------------------------------------------
1064if (SOUNDS["TMS5220"]~=null) then
1065	files {
1066		MAME_DIR .. "src/devices/sound/tms5220.cpp",
1067		MAME_DIR .. "src/devices/sound/tms5220.h",
1068		MAME_DIR .. "src/devices/sound/tms5110r.hxx",
1069		MAME_DIR .. "src/devices/machine/spchrom.cpp",
1070		MAME_DIR .. "src/devices/machine/spchrom.h",
1071	}
1072end
1073
1074
1075---------------------------------------------------
1076-- Toshiba T6721A voice synthesizer
1077--@src/devices/sound/t6721a.h,SOUNDS["T6721A"] = true
1078---------------------------------------------------
1079
1080if (SOUNDS["T6721A"]~=null) then
1081	files {
1082		MAME_DIR .. "src/devices/sound/t6721a.cpp",
1083		MAME_DIR .. "src/devices/sound/t6721a.h",
1084	}
1085end
1086
1087
1088
1089---------------------------------------------------
1090-- Toshiba TC8830F sample player/recorder
1091--@src/devices/sound/tc8830f.h,SOUNDS["TC8830F"] = true
1092---------------------------------------------------
1093
1094if (SOUNDS["TC8830F"]~=null) then
1095	files {
1096		MAME_DIR .. "src/devices/sound/tc8830f.cpp",
1097		MAME_DIR .. "src/devices/sound/tc8830f.h",
1098	}
1099end
1100
1101
1102---------------------------------------------------
1103-- NEC uPD7752
1104--@src/devices/sound/upd7752.h,SOUNDS["UPD7752"] = true
1105---------------------------------------------------
1106
1107if (SOUNDS["UPD7752"]~=null) then
1108	files {
1109		MAME_DIR .. "src/devices/sound/upd7752.cpp",
1110		MAME_DIR .. "src/devices/sound/upd7752.h",
1111	}
1112end
1113
1114
1115---------------------------------------------------
1116-- VLM5030 speech synthesizer
1117--@src/devices/sound/vlm5030.h,SOUNDS["VLM5030"] = true
1118---------------------------------------------------
1119
1120if (SOUNDS["VLM5030"]~=null) then
1121	files {
1122		MAME_DIR .. "src/devices/sound/vlm5030.cpp",
1123		MAME_DIR .. "src/devices/sound/vlm5030.h",
1124		MAME_DIR .. "src/devices/sound/tms5110r.hxx",
1125	}
1126end
1127
1128---------------------------------------------------
1129-- Votrax speech synthesizer
1130--@src/devices/sound/votrax.h,SOUNDS["VOTRAX"] = true
1131---------------------------------------------------
1132
1133if (SOUNDS["VOTRAX"]~=null) then
1134	files {
1135		MAME_DIR .. "src/devices/sound/votrax.cpp",
1136		MAME_DIR .. "src/devices/sound/votrax.h",
1137	}
1138end
1139
1140
1141
1142---------------------------------------------------
1143-- VRender0 custom sound chip
1144--@src/devices/sound/vrender0.h,SOUNDS["VRENDER0"] = true
1145---------------------------------------------------
1146
1147if (SOUNDS["VRENDER0"]~=null) then
1148	files {
1149		MAME_DIR .. "src/devices/sound/vrender0.cpp",
1150		MAME_DIR .. "src/devices/sound/vrender0.h",
1151	}
1152end
1153
1154
1155
1156---------------------------------------------------
1157-- WAVE file (used for MESS cassette)
1158--@src/devices/sound/wave.h,SOUNDS["WAVE"] = true
1159---------------------------------------------------
1160
1161if (SOUNDS["WAVE"]~=null) then
1162	files {
1163		MAME_DIR .. "src/devices/sound/wave.cpp",
1164		MAME_DIR .. "src/devices/sound/wave.h",
1165	}
1166end
1167
1168
1169
1170---------------------------------------------------
1171-- Yamaha FM synthesizers
1172--@src/devices/sound/ym2151.h,SOUNDS["YM2151"] = true
1173--@src/devices/sound/2203intf.h,SOUNDS["YM2203"] = true
1174--@src/devices/sound/ym2413.h,SOUNDS["YM2413"] = true
1175--@src/devices/sound/2608intf.h,SOUNDS["YM2608"] = true
1176--@src/devices/sound/2610intf.h,SOUNDS["YM2610"] = true
1177--@src/devices/sound/2612intf.h,SOUNDS["YM2612"] = true
1178--@src/devices/sound/3812intf.h,SOUNDS["YM3812"] = true
1179--@src/devices/sound/3526intf.h,SOUNDS["YM3526"] = true
1180--@src/devices/sound/8950intf.h,SOUNDS["Y8950"] = true
1181--@src/devices/sound/ymf262.h,SOUNDS["YMF262"] = true
1182--@src/devices/sound/ymf271.h,SOUNDS["YMF271"] = true
1183--@src/devices/sound/ymf278b.h,SOUNDS["YMF278B"] = true
1184--@src/devices/sound/262intf.h,SOUNDS["YMF262"] = true
1185---------------------------------------------------
1186
1187if (SOUNDS["YM2151"]~=null) then
1188	files {
1189		MAME_DIR .. "src/devices/sound/ym2151.cpp",
1190		MAME_DIR .. "src/devices/sound/ym2151.h",
1191	}
1192end
1193
1194if (SOUNDS["YM2413"]~=null) then
1195	files {
1196		MAME_DIR .. "src/devices/sound/ym2413.cpp",
1197		MAME_DIR .. "src/devices/sound/ym2413.h",
1198	}
1199end
1200
1201if (SOUNDS["YM2203"]~=null or SOUNDS["YM2608"]~=null or SOUNDS["YM2610"]~=null or SOUNDS["YM2610B"]~=null or SOUNDS["YM2612"]~=null or SOUNDS["YM3438"]~=null) then
1202--if (SOUNDS["YM2203"]~=null) then
1203	files {
1204		MAME_DIR .. "src/devices/sound/2203intf.cpp",
1205		MAME_DIR .. "src/devices/sound/2203intf.h",
1206		MAME_DIR .. "src/devices/sound/ay8910.cpp",
1207		MAME_DIR .. "src/devices/sound/ay8910.h",
1208		MAME_DIR .. "src/devices/sound/fm.cpp",
1209		MAME_DIR .. "src/devices/sound/fm.h",
1210	}
1211--end
1212
1213
1214--if (SOUNDS["YM2608"]~=null) then
1215	files {
1216		MAME_DIR .. "src/devices/sound/2608intf.cpp",
1217		MAME_DIR .. "src/devices/sound/2608intf.h",
1218		MAME_DIR .. "src/devices/sound/ay8910.cpp",
1219		MAME_DIR .. "src/devices/sound/ay8910.h",
1220		MAME_DIR .. "src/devices/sound/fm.cpp",
1221		MAME_DIR .. "src/devices/sound/fm.h",
1222		MAME_DIR .. "src/devices/sound/ymdeltat.cpp",
1223		MAME_DIR .. "src/devices/sound/ymdeltat.h",
1224	}
1225--end
1226
1227--if (SOUNDS["YM2610"]~=null or SOUNDS["YM2610B"]~=null) then
1228	files {
1229		MAME_DIR .. "src/devices/sound/2610intf.cpp",
1230		MAME_DIR .. "src/devices/sound/2610intf.h",
1231		MAME_DIR .. "src/devices/sound/ay8910.cpp",
1232		MAME_DIR .. "src/devices/sound/ay8910.h",
1233		MAME_DIR .. "src/devices/sound/fm.cpp",
1234		MAME_DIR .. "src/devices/sound/fm.h",
1235		MAME_DIR .. "src/devices/sound/ymdeltat.cpp",
1236		MAME_DIR .. "src/devices/sound/ymdeltat.h",
1237	}
1238--end
1239
1240--if (SOUNDS["YM2612"]~=null or SOUNDS["YM3438"]~=null) then
1241	files {
1242		MAME_DIR .. "src/devices/sound/2612intf.cpp",
1243		MAME_DIR .. "src/devices/sound/2612intf.h",
1244		MAME_DIR .. "src/devices/sound/ay8910.cpp",
1245		MAME_DIR .. "src/devices/sound/ay8910.h",
1246		MAME_DIR .. "src/devices/sound/fm2612.cpp",
1247	}
1248--end
1249end
1250
1251if (SOUNDS["YM3812"]~=null or SOUNDS["YM3526"]~=null or SOUNDS["Y8950"]~=null) then
1252--if (SOUNDS["YM3812"]~=null) then
1253	files {
1254		MAME_DIR .. "src/devices/sound/3812intf.cpp",
1255		MAME_DIR .. "src/devices/sound/3812intf.h",
1256		MAME_DIR .. "src/devices/sound/fmopl.cpp",
1257		MAME_DIR .. "src/devices/sound/fmopl.h",
1258		MAME_DIR .. "src/devices/sound/ymdeltat.cpp",
1259		MAME_DIR .. "src/devices/sound/ymdeltat.h",
1260	}
1261--end
1262
1263--if (SOUNDS["YM3526"]~=null) then
1264	files {
1265		MAME_DIR .. "src/devices/sound/3526intf.cpp",
1266		MAME_DIR .. "src/devices/sound/3526intf.h",
1267		MAME_DIR .. "src/devices/sound/fmopl.cpp",
1268		MAME_DIR .. "src/devices/sound/fmopl.h",
1269		MAME_DIR .. "src/devices/sound/ymdeltat.cpp",
1270		MAME_DIR .. "src/devices/sound/ymdeltat.h",
1271	}
1272--end
1273
1274--if (SOUNDS["Y8950"]~=null) then
1275	files {
1276		MAME_DIR .. "src/devices/sound/8950intf.cpp",
1277		MAME_DIR .. "src/devices/sound/8950intf.h",
1278		MAME_DIR .. "src/devices/sound/fmopl.cpp",
1279		MAME_DIR .. "src/devices/sound/fmopl.h",
1280		MAME_DIR .. "src/devices/sound/ymdeltat.cpp",
1281		MAME_DIR .. "src/devices/sound/ymdeltat.h",
1282	}
1283--end
1284end
1285
1286if (SOUNDS["YMF262"]~=null) then
1287	files {
1288		MAME_DIR .. "src/devices/sound/ymf262.cpp",
1289		MAME_DIR .. "src/devices/sound/ymf262.h",
1290		MAME_DIR .. "src/devices/sound/262intf.cpp",
1291		MAME_DIR .. "src/devices/sound/262intf.h",
1292	}
1293end
1294
1295if (SOUNDS["YMF271"]~=null) then
1296	files {
1297		MAME_DIR .. "src/devices/sound/ymf271.cpp",
1298		MAME_DIR .. "src/devices/sound/ymf271.h",
1299	}
1300end
1301
1302if (SOUNDS["YMF278B"]~=null) then
1303	files {
1304		MAME_DIR .. "src/devices/sound/ymf278b.cpp",
1305		MAME_DIR .. "src/devices/sound/ymf278b.h",
1306	}
1307end
1308
1309
1310
1311---------------------------------------------------
1312-- Yamaha YMZ280B ADPCM
1313--@src/devices/sound/ymz280b.h,SOUNDS["YMZ280B"] = true
1314---------------------------------------------------
1315
1316if (SOUNDS["YMZ280B"]~=null) then
1317	files {
1318		MAME_DIR .. "src/devices/sound/ymz280b.cpp",
1319		MAME_DIR .. "src/devices/sound/ymz280b.h",
1320	}
1321end
1322
1323---------------------------------------------------
1324-- Yamaha YMZ770 AMM
1325--@src/devices/sound/ymz770.h,SOUNDS["YMZ770"] = true
1326---------------------------------------------------
1327
1328if (SOUNDS["YMZ770"]~=null) then
1329	files {
1330		MAME_DIR .. "src/devices/sound/ymz770.cpp",
1331		MAME_DIR .. "src/devices/sound/ymz770.h",
1332	}
1333end
1334
1335---------------------------------------------------
1336-- MPEG AUDIO
1337--@src/devices/sound/mpeg_audio.h,SOUNDS["MPEG_AUDIO"] = true
1338---------------------------------------------------
1339
1340if (SOUNDS["MPEG_AUDIO"]~=null) then
1341	files {
1342		MAME_DIR .. "src/devices/sound/mpeg_audio.cpp",
1343		MAME_DIR .. "src/devices/sound/mpeg_audio.h",
1344	}
1345end
1346
1347---------------------------------------------------
1348-- ZOOM ZSG-2
1349--@src/devices/sound/zsg2.h,SOUNDS["ZSG2"] = true
1350---------------------------------------------------
1351
1352if (SOUNDS["ZSG2"]~=null) then
1353	files {
1354		MAME_DIR .. "src/devices/sound/zsg2.cpp",
1355		MAME_DIR .. "src/devices/sound/zsg2.h",
1356	}
1357end
1358
1359---------------------------------------------------
1360-- VRC6
1361--@src/devices/sound/vrc6.h,SOUNDS["VRC6"] = true
1362---------------------------------------------------
1363
1364if (SOUNDS["VRC6"]~=null) then
1365	files {
1366		MAME_DIR .. "src/devices/sound/vrc6.cpp",
1367		MAME_DIR .. "src/devices/sound/vrc6.h",
1368	}
1369end
1370
1371---------------------------------------------------
1372-- AD1848
1373--@src/devices/sound/ad1848.h,SOUNDS["AD1848"] = true
1374---------------------------------------------------
1375
1376if (SOUNDS["AD1848"]~=null) then
1377	files {
1378		MAME_DIR .. "src/devices/sound/ad1848.cpp",
1379		MAME_DIR .. "src/devices/sound/ad1848.h",
1380	}
1381end
1382
1383---------------------------------------------------
1384-- UPD1771
1385--@src/devices/sound/upd1771.h,SOUNDS["UPD1771"] = true
1386---------------------------------------------------
1387
1388if (SOUNDS["UPD1771"]~=null) then
1389	files {
1390		MAME_DIR .. "src/devices/sound/upd1771.cpp",
1391		MAME_DIR .. "src/devices/sound/upd1771.h",
1392	}
1393end
1394
1395---------------------------------------------------
1396-- GB_SOUND
1397--@src/devices/sound/gb.h,SOUNDS["GB_SOUND"] = true
1398---------------------------------------------------
1399
1400if (SOUNDS["GB_SOUND"]~=null) then
1401	files {
1402		MAME_DIR .. "src/devices/sound/gb.cpp",
1403		MAME_DIR .. "src/devices/sound/gb.h",
1404	}
1405end
1406
1407---------------------------------------------------
1408-- PCD3311
1409--@src/devices/sound/pcd3311.h,SOUNDS["PCD3311"] = true
1410---------------------------------------------------
1411
1412if (SOUNDS["PCD3311"]~=null) then
1413	files {
1414		MAME_DIR .. "src/devices/sound/pcd3311.cpp",
1415		MAME_DIR .. "src/devices/sound/pcd3311.h",
1416	}
1417end
1418
1419---------------------------------------------------
1420-- DAC-76 COMDAC
1421--@src/devices/sound/dac76.h,SOUNDS["DAC76"] = true
1422---------------------------------------------------
1423if (SOUNDS["DAC76"]~=null) then
1424	files {
1425		MAME_DIR .. "src/devices/sound/dac76.cpp",
1426		MAME_DIR .. "src/devices/sound/dac76.h",
1427	}
1428end
1429
1430---------------------------------------------------
1431-- MM5837 Noise Generator
1432--@src/devices/sound/mm5837.h,SOUNDS["MM5837"] = true
1433---------------------------------------------------
1434
1435if (SOUNDS["MM5837"]~=null) then
1436	files {
1437		MAME_DIR .. "src/devices/sound/mm5837.cpp",
1438		MAME_DIR .. "src/devices/sound/mm5837.h",
1439	}
1440end
1441
1442---------------------------------------------------
1443-- Intelligent Designs DAVE
1444--@src/devices/sound/dave.h,SOUNDS["DAVE"] = true
1445---------------------------------------------------
1446
1447if (SOUNDS["DAVE"]~=null) then
1448	files {
1449		MAME_DIR .. "src/devices/sound/dave.cpp",
1450		MAME_DIR .. "src/devices/sound/dave.h",
1451	}
1452end
1453
1454---------------------------------------------------
1455-- Toshiba TA7630
1456--@src/devices/sound/ta7630.h,SOUNDS["TA7630"] = true
1457---------------------------------------------------
1458
1459if (SOUNDS["TA7630"]~=null) then
1460	files {
1461		MAME_DIR .. "src/devices/sound/ta7630.cpp",
1462		MAME_DIR .. "src/devices/sound/ta7630.h",
1463	}
1464end
1465
1466---------------------------------------------------
1467-- Sanyo LC7535
1468--@src/devices/sound/lc7535.h,SOUNDS["LC7535"] = true
1469---------------------------------------------------
1470
1471if (SOUNDS["LC7535"]~=null) then
1472	files {
1473		MAME_DIR .. "src/devices/sound/lc7535.cpp",
1474		MAME_DIR .. "src/devices/sound/lc7535.h",
1475	}
1476end
1477
1478---------------------------------------------------
1479-- NEC uPD934G
1480--@src/devices/sound/upd934g.h,SOUNDS["UPD934G"] = true
1481---------------------------------------------------
1482
1483if (SOUNDS["UPD934G"]~=null) then
1484	files {
1485		MAME_DIR .. "src/devices/sound/upd934g.cpp",
1486		MAME_DIR .. "src/devices/sound/upd934g.h",
1487	}
1488end
1489
1490---------------------------------------------------
1491--
1492--@src/devices/sound/iopspu.h,SOUNDS["IOPSPU"] = true
1493---------------------------------------------------
1494
1495if (SOUNDS["IOPSPU"]~=null) then
1496	files {
1497		MAME_DIR .. "src/devices/sound/iopspu.cpp",
1498		MAME_DIR .. "src/devices/sound/iopspu.h",
1499	}
1500end
1501
1502---------------------------------------------------
1503--
1504--@src/devices/sound/swp00.h,SOUNDS["SWP00"] = true
1505---------------------------------------------------
1506
1507if (SOUNDS["SWP00"]~=null) then
1508	files {
1509		MAME_DIR .. "src/devices/sound/swp00.cpp",
1510		MAME_DIR .. "src/devices/sound/swp00.h",
1511	}
1512end
1513
1514---------------------------------------------------
1515--
1516--@src/devices/sound/swp20.h,SOUNDS["SWP20"] = true
1517---------------------------------------------------
1518
1519if (SOUNDS["SWP20"]~=null) then
1520	files {
1521		MAME_DIR .. "src/devices/sound/swp20.cpp",
1522		MAME_DIR .. "src/devices/sound/swp20.h",
1523	}
1524end
1525
1526---------------------------------------------------
1527--
1528--@src/devices/sound/swp30.h,SOUNDS["SWP30"] = true
1529---------------------------------------------------
1530
1531if (SOUNDS["SWP30"]~=null) then
1532	files {
1533		MAME_DIR .. "src/devices/sound/swp30.cpp",
1534		MAME_DIR .. "src/devices/sound/swp30.h",
1535	}
1536end
1537
1538---------------------------------------------------
1539-- Roland sample players
1540--@src/devices/sound/rolandpcm.h,SOUNDS["ROLANDPCM"] = true
1541---------------------------------------------------
1542
1543if (SOUNDS["ROLANDPCM"]~=null) then
1544	files {
1545		MAME_DIR .. "src/devices/sound/rolandpcm.cpp",
1546		MAME_DIR .. "src/devices/sound/rolandpcm.h",
1547	}
1548end
1549
1550---------------------------------------------------
1551--
1552--@src/devices/sound/vgm_visualizer.h,SOUNDS["VGMVIZ"] = true
1553---------------------------------------------------
1554
1555if (SOUNDS["VGMVIZ"]~=null) then
1556	files {
1557		MAME_DIR .. "src/devices/sound/vgm_visualizer.cpp",
1558		MAME_DIR .. "src/devices/sound/vgm_visualizer.h",
1559	}
1560end
1561
1562---------------------------------------------------
1563--
1564--@src/devices/sound/s_dsp.h,SOUNDS["S_DSP"] = true
1565---------------------------------------------------
1566
1567if (SOUNDS["S_DSP"]~=null) then
1568	files {
1569		MAME_DIR .. "src/devices/sound/s_dsp.cpp",
1570		MAME_DIR .. "src/devices/sound/s_dsp.h",
1571	}
1572end
1573
1574---------------------------------------------------
1575--
1576--@src/devices/sound/ks0164.h,SOUNDS["KS0164"] = true
1577---------------------------------------------------
1578
1579if (SOUNDS["KS0164"]~=null) then
1580	files {
1581		MAME_DIR .. "src/devices/sound/ks0164.cpp",
1582		MAME_DIR .. "src/devices/sound/ks0164.h",
1583	}
1584end
1585
1586---------------------------------------------------
1587--
1588--@src/devices/sound/rp2c33_snd.h,SOUNDS["RP2C33_SOUND"] = true
1589---------------------------------------------------
1590
1591if (SOUNDS["RP2C33_SOUND"]~=null) then
1592	files {
1593		MAME_DIR .. "src/devices/sound/rp2c33_snd.cpp",
1594		MAME_DIR .. "src/devices/sound/rp2c33_snd.h",
1595	}
1596end
1597
1598---------------------------------------------------
1599--
1600--@src/devices/sound/tt5665.h,SOUNDS["TT5665"] = true
1601---------------------------------------------------
1602
1603if (SOUNDS["TT5665"]~=null) then
1604	files {
1605		MAME_DIR .. "src/devices/sound/tt5665.cpp",
1606		MAME_DIR .. "src/devices/sound/tt5665.h",
1607	}
1608end
1609