Previous 199869 Revisions Next

r23767 Tuesday 18th June, 2013 at 10:22:10 UTC by Miodrag Milanović
made makemak add dependencies for needed devices automatically,added partial meta data into device building mak files (nw)
[src/build]makemak.c
[src/emu/cpu]cpu.mak
[src/emu/machine]machine.mak
[src/emu/sound]sound.mak

trunk/src/build/makemak.c
r23766r23767
4343#include "osdcore.h"
4444#include "astring.h"
4545#include "corefile.h"
46#include "corestr.h"
4647#include "tagmap.h"
4748
4849
r23766r23767
109110static tagmap_t<file_entry *> file_map;
110111static const char *sourcelst[MAX_SOURCES];
111112static int sourcecount;
113static tagmap_t<char *> include_map;
112114
113115
114
115116/***************************************************************************
116117    PROTOTYPES
117118***************************************************************************/
r23766r23767
123124// path helpers
124125static bool find_include_file(astring &srcincpath, const astring &srcfile, const astring &filename);
125126
127
128int include_mapping(const char *srcfile)
129{
130   // read source file
131   void *buffer;
132   UINT32 length;
133   file_error filerr = core_fload(srcfile, &buffer, &length);
134   if (filerr != FILERR_NONE)
135   {
136      fprintf(stderr, "Unable to read source file '%s'\n", srcfile);
137      return 1;
138   }
139
140   // rip through it to find all drivers
141   char *srcptr = (char *)buffer;
142   char *endptr = srcptr + length;
143   while (srcptr < endptr)
144   {
145      char c = *srcptr++;
146      // count newlines
147      if (c == 13 || c == 10)
148      {
149         if (c == 13 && *srcptr == 10)
150            srcptr++;
151         continue;
152      }
153      // look for start of C comment
154      if (c == '#' && *srcptr == '@')
155      {
156         srcptr++;
157         //mapping
158         char filename[256];
159         filename[0] = 0;
160         for (int pos = 0; srcptr < endptr && pos < ARRAY_LENGTH(filename) - 1 && (*srcptr!=','); pos++)
161         {
162            filename[pos] = *srcptr++;
163            filename[pos+1] = 0;
164         }
165         srcptr++;         // skip comma
166         char mapping[256];
167         mapping[0] = 0;
168         for (int pos = 0; srcptr < endptr && pos < ARRAY_LENGTH(mapping) - 1 && (*srcptr!=10) && (*srcptr!=13); pos++)
169         {
170            mapping[pos] = *srcptr++;
171            mapping[pos+1] = 0;
172         }
173         include_map.add(filename,core_strdup(mapping));
174         continue;
175      }
176
177      for (int pos = 0; srcptr < endptr && !isspace(*srcptr); pos++)
178      {
179         c = *srcptr++;
180      }
181   }
182
183   osd_free(buffer);
184
185   return 0;
186}
187
126188//-------------------------------------------------
127189//  isonlist - return info if item is in source
128190//  list or not
r23766r23767
275337   if (parse_file(srcfile))
276338      return 1;
277339
340   include_mapping("src/emu/cpu/cpu.mak");
341   include_mapping("src/emu/video/video.mak");
342   include_mapping("src/emu/sound/sound.mak");
343   include_mapping("src/emu/machine/machine.mak");
278344   // loop over arguments
279345   for (int argnum = 2; argnum < argc; argnum++)
280346   {
r23766r23767
465531               fn.replace(".c","");
466532               if (isonlist(fn))
467533               {
534                  for (dependency_map::entry_t *entry = depend_map.first(); entry != NULL; entry = depend_map.next(entry))
535                  {
536                     astring t(entry->tag());
537                     if (core_filename_ends_with(t, ".h"))
538                     {
539                        char *foundfile = include_map.find(t);
540                        if (foundfile != NULL) {
541                           printf("%s\n", foundfile);
542                           // we add things just once when needed
543                           include_map.remove(t);
544                        }
545                     }
546                  }
547               }
548            }
549         }
550      }
551
552     
553      // iterate through each file
554      for (list_entry *curlist = list; curlist != NULL && result == 0; curlist = curlist->next)
555      {
556         astring srcfile;
557
558         // build the source filename
559         srcfile.printf("%s%c%s", srcdir.cstr(), PATH_SEPARATOR[0], curlist->name.cstr());
560
561         // if we have a file, output it
562         if (entry_type == ENTTYPE_FILE)
563         {
564            // make sure we care, first
565            if (core_filename_ends_with(curlist->name, ".c"))
566            {
567               dependency_map depend_map;
568
569               // find dependencies
570               file_entry &file = compute_dependencies(srcfile);
571               recurse_dependencies(file, depend_map);
572               astring fn = astring(curlist->name);
573               fn.replace(".c","");
574               if (isonlist(fn))
575               {
468576                  // convert the target from source to object (makes assumptions about rules)
469577                  astring target(file.name);
470578                  target.replace(0, "src/", "$(OBJ)/");
trunk/src/emu/cpu/cpu.mak
r23766r23767
6868
6969#-------------------------------------------------
7070# Acorn ARM series
71#
72#@src/emu/cpu/arm/arm.h,CPUS += ARM
73#@src/emu/cpu/arm7/arm7.h,CPUS += ARM7
7174#-------------------------------------------------
7275
7376ifneq ($(filter ARM,$(CPUS)),)
r23766r23767
106109
107110#-------------------------------------------------
108111# Advanced Digital Chips SE3208
112#@src/emu/cpu/se3208/se3208.h,CPUS += SE3208
109113#-------------------------------------------------
110114
111115ifneq ($(filter SE3208,$(CPUS)),)
r23766r23767
121125
122126#-------------------------------------------------
123127# Alpha 8201
128#@src/emu/cpu/,CPUS +=
124129#-------------------------------------------------
125130
126131ifneq ($(filter ALPHA8201,$(CPUS)),)
r23766r23767
136141
137142#-------------------------------------------------
138143# Analog Devices ADSP21xx series
144#@src/emu/cpu/,CPUS +=
139145#-------------------------------------------------
140146
141147ifneq ($(filter ADSP21XX,$(CPUS)),)
r23766r23767
152158
153159#-------------------------------------------------
154160# Analog Devices "Sharc" ADSP21062
161#@src/emu/cpu/,CPUS +=
155162#-------------------------------------------------
156163
157164ifneq ($(filter ADSP21062,$(CPUS)),)
r23766r23767
174181
175182#-------------------------------------------------
176183# APEXC
184#@src/emu/cpu/,CPUS +=
177185#-------------------------------------------------
178186
179187ifneq ($(filter APEXC,$(CPUS)),)
r23766r23767
189197
190198#-------------------------------------------------
191199# AT&T DSP16A
200#@src/emu/cpu/,CPUS +=
192201#-------------------------------------------------
193202
194203ifneq ($(filter DSP16A,$(CPUS)),)
r23766r23767
204213
205214#-------------------------------------------------
206215# AT&T DSP32C
216#@src/emu/cpu/,CPUS +=
207217#-------------------------------------------------
208218
209219ifneq ($(filter DSP32C,$(CPUS)),)
r23766r23767
220230
221231#-------------------------------------------------
222232# Atari custom RISC processor
233#@src/emu/cpu/,CPUS +=
223234#-------------------------------------------------
224235
225236ifneq ($(filter ASAP,$(CPUS)),)
r23766r23767
235246
236247#-------------------------------------------------
237248# AMD Am29000
249#@src/emu/cpu/,CPUS +=
238250#-------------------------------------------------
239251
240252ifneq ($(filter AM29000,$(CPUS)),)
r23766r23767
251263
252264#-------------------------------------------------
253265# Atari Jaguar custom DSPs
266#@src/emu/cpu/,CPUS +=
254267#-------------------------------------------------
255268
256269ifneq ($(filter JAGUAR,$(CPUS)),)
r23766r23767
266279
267280#-------------------------------------------------
268281# Simutrek Cube Quest bit-sliced CPUs
282#@src/emu/cpu/,CPUS +=
269283#-------------------------------------------------
270284
271285ifneq ($(filter CUBEQCPU,$(CPUS)),)
r23766r23767
280294
281295#-------------------------------------------------
282296# Ensoniq ES5510 ('ESP') DSP
297#@src/emu/cpu/,CPUS +=
283298#-------------------------------------------------
284299
285300ifneq ($(filter ES5510,$(CPUS)),)
r23766r23767
293308
294309#-------------------------------------------------
295310# Entertainment Sciences AM29116-based RIP
311#@src/emu/cpu/,CPUS +=
296312#-------------------------------------------------
297313
298314ifneq ($(filter ESRIP,$(CPUS)),)
r23766r23767
308324
309325#-------------------------------------------------
310326# RCA COSMAC
327#@src/emu/cpu/,CPUS +=
311328#-------------------------------------------------
312329
313330ifneq ($(filter COSMAC,$(CPUS)),)
r23766r23767
323340
324341#-------------------------------------------------
325342# National Semiconductor COP400 family
343#@src/emu/cpu/,CPUS +=
326344#-------------------------------------------------
327345
328346ifneq ($(filter COP400,$(CPUS)),)
r23766r23767
341359
342360#-------------------------------------------------
343361# CP1610
362#@src/emu/cpu/,CPUS +=
344363#-------------------------------------------------
345364
346365ifneq ($(filter CP1610,$(CPUS)),)
r23766r23767
356375
357376#-------------------------------------------------
358377# Cinematronics vector "CPU"
378#@src/emu/cpu/,CPUS +=
359379#-------------------------------------------------
360380
361381ifneq ($(filter CCPU,$(CPUS)),)
r23766r23767
371391
372392#-------------------------------------------------
373393# DEC T-11
394#@src/emu/cpu/,CPUS +=
374395#-------------------------------------------------
375396
376397ifneq ($(filter T11,$(CPUS)),)
r23766r23767
388409
389410#-------------------------------------------------
390411# F8
412#@src/emu/cpu/,CPUS +=
391413#-------------------------------------------------
392414
393415ifneq ($(filter F8,$(CPUS)),)
r23766r23767
403425
404426#-------------------------------------------------
405427# G65816
428#@src/emu/cpu/,CPUS +=
406429#-------------------------------------------------
407430
408431ifneq ($(filter G65816,$(CPUS)),)
r23766r23767
444467
445468#-------------------------------------------------
446469# Hitachi H8/30xx (16/32-bit H8/3xx series)
470#@src/emu/cpu/,CPUS +=
447471#-------------------------------------------------
448472
449473ifneq ($(filter H83002,$(CPUS)),)
r23766r23767
470494
471495#-------------------------------------------------
472496# Hitachi H8/3334 (8/16-bit H8/3xx series)
497#@src/emu/cpu/,CPUS +=
473498#-------------------------------------------------
474499
475500ifneq ($(filter H83334,$(CPUS)),)
r23766r23767
495520
496521#-------------------------------------------------
497522# Hitachi HCD62121
523#@src/emu/cpu/,CPUS +=
498524#-------------------------------------------------
499525
500526ifneq ($(filter HCD62121,$(CPUS)),)
r23766r23767
510536
511537#-------------------------------------------------
512538# Hitachi SH1/SH2
539#@src/emu/cpu/,CPUS +=
513540#-------------------------------------------------
514541
515542ifneq ($(filter SH2,$(CPUS)),)
r23766r23767
537564
538565#-------------------------------------------------
539566# Hitachi SH4
567#@src/emu/cpu/,CPUS +=
540568#-------------------------------------------------
541569
542570ifneq ($(filter SH4,$(CPUS)),)
r23766r23767
581609
582610#-------------------------------------------------
583611# Hudsonsoft 6280
612#@src/emu/cpu/,CPUS +=
584613#-------------------------------------------------
585614
586615ifneq ($(filter H6280,$(CPUS)),)
r23766r23767
598627
599628#-------------------------------------------------
600629# Hyperstone E1 series
630#@src/emu/cpu/,CPUS +=
601631#-------------------------------------------------
602632
603633ifneq ($(filter E1,$(CPUS)),)
r23766r23767
614644
615645#-------------------------------------------------
616646# 15IE-00-013 CPU ("Microprogrammed Control Device")
647#@src/emu/cpu/,CPUS +=
617648#-------------------------------------------------
618649
619650ifneq ($(filter IE15,$(CPUS)),)
r23766r23767
628659
629660#-------------------------------------------------
630661# Intel 4004
662#@src/emu/cpu/,CPUS +=
631663#-------------------------------------------------
632664
633665ifneq ($(filter I4004,$(CPUS)),)
r23766r23767
642674
643675#-------------------------------------------------
644676# Intel 8008
677#@src/emu/cpu/,CPUS +=
645678#-------------------------------------------------
646679
647680ifneq ($(filter I8008,$(CPUS)),)
r23766r23767
655688
656689#-------------------------------------------------
657690#  National Semiconductor SC/MP
691#@src/emu/cpu/,CPUS +=
658692#-------------------------------------------------
659693
660694ifneq ($(filter SCMP,$(CPUS)),)
r23766r23767
669703
670704#-------------------------------------------------
671705# Intel 8080/8085A
706#@src/emu/cpu/,CPUS +=
672707#-------------------------------------------------
673708
674709ifneq ($(filter I8085,$(CPUS)),)
r23766r23767
685720
686721#-------------------------------------------------
687722# Intel MCS-48 (8039 and derivatives)
723#@src/emu/cpu/,CPUS +=
688724#-------------------------------------------------
689725
690726ifneq ($(filter MCS48,$(CPUS)),)
r23766r23767
700736
701737#-------------------------------------------------
702738# Intel 8051 and derivatives
739#@src/emu/cpu/,CPUS +=
703740#-------------------------------------------------
704741
705742ifneq ($(filter MCS51,$(CPUS)),)
r23766r23767
714751
715752#-------------------------------------------------
716753# Intel MCS-96
754#@src/emu/cpu/,CPUS +=
717755#-------------------------------------------------
718756
719757ifneq ($(filter MCS96,$(CPUS)),)
r23766r23767
751789
752790#-------------------------------------------------
753791# Intel 80x86 series
792#@src/emu/cpu/,CPUS +=
793#@src/emu/cpu/,CPUS +=
754794#-------------------------------------------------
755795
756796ifneq ($(filter I86,$(CPUS)),)
r23766r23767
804844
805845#-------------------------------------------------
806846# Intel i860
847#@src/emu/cpu/,CPUS +=
807848#-------------------------------------------------
808849
809850ifneq ($(filter I860,$(CPUS)),)
r23766r23767
818859
819860#-------------------------------------------------
820861# Intel i960
862#@src/emu/cpu/,CPUS +=
821863#-------------------------------------------------
822864
823865ifneq ($(filter I960,$(CPUS)),)
r23766r23767
833875
834876#-------------------------------------------------
835877# LH5801
878#@src/emu/cpu/,CPUS +=
836879#-------------------------------------------------
837880
838881ifneq ($(filter LH5801,$(CPUS)),)
r23766r23767
849892
850893#-------------------------------------------------
851894# Manchester Small-Scale Experimental Machine
895#@src/emu/cpu/,CPUS +=
852896#-------------------------------------------------
853897
854898ifneq ($(filter SSEM,$(CPUS)),)
r23766r23767
864908
865909#-------------------------------------------------
866910# Fujitsu MB88xx
911#@src/emu/cpu/,CPUS +=
867912#-------------------------------------------------
868913
869914ifneq ($(filter MB88XX,$(CPUS)),)
r23766r23767
879924
880925#-------------------------------------------------
881926# Fujitsu MB86233
927#@src/emu/cpu/,CPUS +=
882928#-------------------------------------------------
883929
884930ifneq ($(filter MB86233,$(CPUS)),)
r23766r23767
894940
895941#-------------------------------------------------
896942# Microchip PIC16C5x
943#@src/emu/cpu/,CPUS +=
897944#-------------------------------------------------
898945
899946ifneq ($(filter PIC16C5X,$(CPUS)),)
r23766r23767
909956
910957#-------------------------------------------------
911958# Microchip PIC16C62x
959#@src/emu/cpu/,CPUS +=
912960#-------------------------------------------------
913961
914962ifneq ($(filter PIC16C62X,$(CPUS)),)
r23766r23767
925973#-------------------------------------------------
926974# MIPS R3000 (MIPS I/II) series
927975# MIPS R4000 (MIPS III/IV) series
976#@src/emu/cpu/,CPUS +=
928977#-------------------------------------------------
929978
930979ifneq ($(filter MIPS,$(CPUS)),)
r23766r23767
9581007
9591008#-------------------------------------------------
9601009# Sony PlayStation CPU (R3000-based + GTE)
1010#@src/emu/cpu/,CPUS +=
9611011#-------------------------------------------------
9621012
9631013ifneq ($(filter PSX,$(CPUS)),)
r23766r23767
9901040
9911041#-------------------------------------------------
9921042# Mitsubishi M37702 and M37710 (based on 65C816)
1043#@src/emu/cpu/,CPUS +=
9931044#-------------------------------------------------
9941045
9951046ifneq ($(filter M37710,$(CPUS)),)
r23766r23767
10301081
10311082#-------------------------------------------------
10321083# Mostek 6502 and its many derivatives
1084#@src/emu/cpu/,CPUS +=
10331085#-------------------------------------------------
10341086
10351087ifneq ($(filter M6502,$(CPUS)),)
r23766r23767
11811233
11821234#-------------------------------------------------
11831235# Motorola 680x
1236#@src/emu/cpu/,CPUS +=
11841237#-------------------------------------------------
11851238
11861239ifneq ($(filter M6800,$(CPUS)),)
r23766r23767
11981251
11991252#-------------------------------------------------
12001253# Motorola 6805
1254#@src/emu/cpu/,CPUS +=
12011255#-------------------------------------------------
12021256
12031257ifneq ($(filter M6805,$(CPUS)),)
r23766r23767
12141268
12151269#-------------------------------------------------
12161270# Motorola 6809
1271#@src/emu/cpu/,CPUS +=
12171272#-------------------------------------------------
12181273
12191274ifneq ($(filter M6809,$(CPUS)),)
r23766r23767
12561311
12571312#-------------------------------------------------
12581313# Motorola 68HC11
1314#@src/emu/cpu/,CPUS +=
12591315#-------------------------------------------------
12601316
12611317ifneq ($(filter MC68HC11,$(CPUS)),)
r23766r23767
12711327
12721328#-------------------------------------------------
12731329# Motorola 68000 series
1330#@src/emu/cpu/,CPUS +=
12741331#-------------------------------------------------
12751332
12761333ifneq ($(filter M680X0,$(CPUS)),)
r23766r23767
13341391
13351392#-------------------------------------------------
13361393# Motorola/Freescale dsp56k
1394#@src/emu/cpu/,CPUS +=
13371395#-------------------------------------------------
13381396
13391397ifneq ($(filter DSP56156,$(CPUS)),)
r23766r23767
13821440#-------------------------------------------------
13831441# PDP-1
13841442# TX0
1443#@src/emu/cpu/,CPUS +=
13851444#-------------------------------------------------
13861445
13871446ifneq ($(filter PDP1,$(CPUS)),)
r23766r23767
14041463
14051464#-------------------------------------------------
14061465# Motorola PowerPC series
1466#@src/emu/cpu/,CPUS +=
14071467#-------------------------------------------------
14081468
14091469ifneq ($(filter POWERPC,$(CPUS)),)
r23766r23767
14291489
14301490#-------------------------------------------------
14311491# NEC V-series Intel-compatible
1492#@src/emu/cpu/,CPUS +=
1493#@src/emu/cpu/,CPUS +=
14321494#-------------------------------------------------
14331495
14341496ifneq ($(filter NEC,$(CPUS)),)
r23766r23767
14751537
14761538#-------------------------------------------------
14771539# NEC V60/V70
1540#@src/emu/cpu/,CPUS +=
14781541#-------------------------------------------------
14791542
14801543ifneq ($(filter V60,$(CPUS)),)
r23766r23767
15031566
15041567#-------------------------------------------------
15051568# NEC V810 (uPD70732)
1569#@src/emu/cpu/,CPUS +=
15061570#-------------------------------------------------
15071571
15081572ifneq ($(filter V810,$(CPUS)),)
r23766r23767
15171581
15181582#-------------------------------------------------
15191583# NEC uPD7725
1584#@src/emu/cpu/,CPUS +=
15201585#-------------------------------------------------
15211586
15221587ifneq ($(filter UPD7725,$(CPUS)),)
r23766r23767
15311596
15321597#-------------------------------------------------
15331598# NEC uPD7810 series
1599#@src/emu/cpu/,CPUS +=
15341600#-------------------------------------------------
15351601
15361602ifneq ($(filter UPD7810,$(CPUS)),)
r23766r23767
15481614
15491615#-------------------------------------------------
15501616# Nintendo Minx
1617#@src/emu/cpu/,CPUS +=
15511618#-------------------------------------------------
15521619
15531620ifneq ($(filter MINX,$(CPUS)),)
r23766r23767
15671634
15681635#-------------------------------------------------
15691636# Nintendo/SGI RSP (R3000-based + vector processing)
1637#@src/emu/cpu/,CPUS +=
15701638#-------------------------------------------------
15711639
15721640ifneq ($(filter RSP,$(CPUS)),)
r23766r23767
15891657
15901658#-------------------------------------------------
15911659# Panasonic MN10200
1660#@src/emu/cpu/,CPUS +=
15921661#-------------------------------------------------
15931662
15941663ifneq ($(filter MN10200,$(CPUS)),)
r23766r23767
16031672
16041673#-------------------------------------------------
16051674# Saturn
1675#@src/emu/cpu/,CPUS +=
16061676#-------------------------------------------------
16071677
16081678ifneq ($(filter SATURN,$(CPUS)),)
r23766r23767
16201690
16211691#-------------------------------------------------
16221692# Signetics 2650
1693#@src/emu/cpu/,CPUS +=
16231694#-------------------------------------------------
16241695
16251696ifneq ($(filter S2650,$(CPUS)),)
r23766r23767
16361707
16371708#-------------------------------------------------
16381709# SC61860
1710#@src/emu/cpu/,CPUS +=
16391711#-------------------------------------------------
16401712
16411713ifneq ($(filter SC61860,$(CPUS)),)
r23766r23767
16531725
16541726#-------------------------------------------------
16551727# SM8500
1728#@src/emu/cpu/,CPUS +=
16561729#-------------------------------------------------
16571730
16581731ifneq ($(filter SM8500,$(CPUS)),)
r23766r23767
16691742
16701743#-------------------------------------------------
16711744# Sony/Nintendo SPC700
1745#@src/emu/cpu/,CPUS +=
16721746#-------------------------------------------------
16731747
16741748ifneq ($(filter SPC700,$(CPUS)),)
r23766r23767
16851759
16861760#-------------------------------------------------
16871761# SSP1601
1762#@src/emu/cpu/,CPUS +=
16881763#-------------------------------------------------
16891764
16901765ifneq ($(filter SSP1601,$(CPUS)),)
r23766r23767
17001775
17011776#-------------------------------------------------
17021777# SunPlus u'nSP
1778#@src/emu/cpu/,CPUS +=
17031779#-------------------------------------------------
17041780
17051781ifneq ($(filter UNSP,$(CPUS)),)
r23766r23767
17151791
17161792#-------------------------------------------------
17171793# Atmel 8-bit AVR
1794#@src/emu/cpu/,CPUS +=
17181795#-------------------------------------------------
17191796
17201797ifneq ($(filter AVR8,$(CPUS)),)
r23766r23767
17301807
17311808#-------------------------------------------------
17321809# Texas Instruments TMS0980
1810#@src/emu/cpu/,CPUS +=
17331811#-------------------------------------------------
17341812
17351813ifneq ($(filter TMS0980,$(CPUS)),)
r23766r23767
17481826
17491827#-------------------------------------------------
17501828# Texas Instruments TMS7000 series
1829#@src/emu/cpu/,CPUS +=
17511830#-------------------------------------------------
17521831
17531832ifneq ($(filter TMS7000,$(CPUS)),)
r23766r23767
17681847
17691848#-------------------------------------------------
17701849# Texas Instruments TMS99xx series
1850#@src/emu/cpu/,CPUS +=
17711851#-------------------------------------------------
17721852
17731853ifneq ($(filter TMS9900,$(CPUS)),)
r23766r23767
18171897
18181898#-------------------------------------------------
18191899# Texas Instruments TMS340x0 graphics controllers
1900#@src/emu/cpu/,CPUS +=
18201901#-------------------------------------------------
18211902
18221903ifneq ($(filter TMS340X0,$(CPUS)),)
r23766r23767
18361917
18371918#-------------------------------------------------
18381919# Texas Instruments TMS3201x DSP
1920#@src/emu/cpu/,CPUS +=
18391921#-------------------------------------------------
18401922
18411923ifneq ($(filter TMS32010,$(CPUS)),)
r23766r23767
18511933
18521934#-------------------------------------------------
18531935# Texas Instruments TMS3202x DSP
1936#@src/emu/cpu/,CPUS +=
18541937#-------------------------------------------------
18551938
18561939ifneq ($(filter TMS32025,$(CPUS)),)
r23766r23767
18661949
18671950#-------------------------------------------------
18681951# Texas Instruments TMS3203x DSP
1952#@src/emu/cpu/,CPUS +=
18691953#-------------------------------------------------
18701954
18711955ifneq ($(filter TMS32031,$(CPUS)),)
r23766r23767
18821966
18831967#-------------------------------------------------
18841968# Texas Instruments TMS3205x DSP
1969#@src/emu/cpu/,CPUS +=
18851970#-------------------------------------------------
18861971
18871972ifneq ($(filter TMS32051,$(CPUS)),)
r23766r23767
18981983
18991984#-------------------------------------------------
19001985# Texas Instruments TMS57002 DSP
1986#@src/emu/cpu/,CPUS +=
19011987#-------------------------------------------------
19021988
19031989ifneq ($(filter TMS57002,$(CPUS)),)
r23766r23767
19252011
19262012#-------------------------------------------------
19272013# Toshiba TLCS-90 Series
2014#@src/emu/cpu/,CPUS +=
19282015#-------------------------------------------------
19292016
19302017ifneq ($(filter TLCS90,$(CPUS)),)
r23766r23767
19402027
19412028#-------------------------------------------------
19422029# Toshiba TLCS-900 Series
2030#@src/emu/cpu/,CPUS +=
19432031#-------------------------------------------------
19442032
19452033ifneq ($(filter TLCS900,$(CPUS)),)
r23766r23767
19582046
19592047#-------------------------------------------------
19602048# Zilog Z80
2049#@src/emu/cpu/,CPUS +=
19612050#-------------------------------------------------
19622051
19632052ifneq ($(filter Z80,$(CPUS)),)
r23766r23767
19732062
19742063#-------------------------------------------------
19752064# Sharp LR35902 (Game Boy CPU)
2065#@src/emu/cpu/z80/z80.h,CPUS += Z80
19762066#-------------------------------------------------
19772067
19782068ifneq ($(filter LR35902,$(CPUS)),)
r23766r23767
19902080
19912081#-------------------------------------------------
19922082# Zilog Z180
2083#@src/emu/cpu/z180/z180.h,CPUS += Z180
19932084#-------------------------------------------------
19942085
19952086ifneq ($(filter Z180,$(CPUS)),)
r23766r23767
20132104
20142105#-------------------------------------------------
20152106# Zilog Z8000
2107#@src/emu/cpu/,CPUS +=
20162108#-------------------------------------------------
20172109
20182110ifneq ($(filter Z8000,$(CPUS)),)
r23766r23767
20322124
20332125#-------------------------------------------------
20342126# Zilog Z8
2127#@src/emu/cpu/,CPUS +=
20352128#-------------------------------------------------
20362129
20372130ifneq ($(filter Z8,$(CPUS)),)
r23766r23767
20482141
20492142#-------------------------------------------------
20502143# Argonaut SuperFX
2144#@src/emu/cpu/,CPUS +=
20512145#-------------------------------------------------
20522146
20532147ifneq ($(filter SUPERFX,$(CPUS)),)
r23766r23767
20612155
20622156#-------------------------------------------------
20632157# Rockwell PPS-4
2158#@src/emu/cpu/,CPUS +=
20642159#-------------------------------------------------
20652160
20662161ifneq ($(filter PPS4,$(CPUS)),)
r23766r23767
20742169
20752170#-------------------------------------------------
20762171# Hitachi HD61700
2172#@src/emu/cpu/,CPUS +=
20772173#-------------------------------------------------
20782174
20792175ifneq ($(filter HD61700,$(CPUS)),)
r23766r23767
20872183
20882184#-------------------------------------------------
20892185# Sanyo LC8670
2186#@src/emu/cpu/,CPUS +=
20902187#-------------------------------------------------
20912188
20922189ifneq ($(filter LC8670,$(CPUS)),)
r23766r23767
21002197
21012198#-------------------------------------------------
21022199# Sega SCU DSP
2200#@src/emu/cpu/,CPUS +=
21032201#-------------------------------------------------
21042202
21052203ifneq ($(filter SCUDSP,$(CPUS)),)
trunk/src/emu/sound/sound.mak
r23766r23767
1515
1616#-------------------------------------------------
1717# DACs
18#@src/emu/sound/dac.h,SOUNDS += DAC
19#@src/emu/sound/dmadac.h,SOUNDS += DMADAC
20#@src/emu/sound/speaker.h,SOUNDS += SPEAKER
21#@src/emu/sound/beep.h,SOUNDS += BEEP
1822#-------------------------------------------------
1923
2024ifneq ($(filter DAC,$(SOUNDS)),)
r23766r23767
3741
3842#-------------------------------------------------
3943# CD audio
44#@src/emu/sound/.h,SOUNDS +=
4045#-------------------------------------------------
4146
4247ifneq ($(filter CDDA,$(SOUNDS)),)
r23766r23767
4752
4853#-------------------------------------------------
4954# Discrete component audio
55#@src/emu/sound/.h,SOUNDS +=
5056#-------------------------------------------------
5157
5258ifneq ($(filter DISCRETE,$(SOUNDS)),)
r23766r23767
6571
6672#-------------------------------------------------
6773# Apple custom sound chips
74#@src/emu/sound/.h,SOUNDS +=
75#@src/emu/sound/.h,SOUNDS +=
6876#-------------------------------------------------
6977
7078ifneq ($(filter ASC,$(SOUNDS)),)
r23766r23767
7886
7987#-------------------------------------------------
8088# Atari custom sound chips
89#@src/emu/sound/.h,SOUNDS +=
90#@src/emu/sound/.h,SOUNDS +=
8191#-------------------------------------------------
8292
8393ifneq ($(filter POKEY,$(SOUNDS)),)
r23766r23767
92102
93103#-------------------------------------------------
94104# Bally Astrocade sound system
105#@src/emu/sound/.h,SOUNDS +=
95106#-------------------------------------------------
96107
97108ifneq ($(filter ASTROCADE,$(SOUNDS)),)
r23766r23767
102113
103114#-------------------------------------------------
104115# CEM 3394 analog synthesizer chip
116#@src/emu/sound/.h,SOUNDS +=
105117#-------------------------------------------------
106118
107119ifneq ($(filter CEM3394,$(SOUNDS)),)
r23766r23767
112124
113125#-------------------------------------------------
114126# Data East custom sound chips
127#@src/emu/sound/.h,SOUNDS +=
115128#-------------------------------------------------
116129
117130ifneq ($(filter BSMT2000,$(SOUNDS)),)
r23766r23767
122135
123136#-------------------------------------------------
124137# Ensoniq 5503 (Apple IIgs)
138#@src/emu/sound/.h,SOUNDS +=
125139#-------------------------------------------------
126140
127141ifneq ($(filter ES5503,$(SOUNDS)),)
r23766r23767
132146
133147#-------------------------------------------------
134148# Ensoniq 5505/5506
149#@src/emu/sound/.h,SOUNDS +=
135150#-------------------------------------------------
136151
137152ifneq ($(filter ES5505 ES5506,$(SOUNDS)),)
r23766r23767
142157
143158#-------------------------------------------------
144159# Excellent Systems ADPCM sound chip
160#@src/emu/sound/.h,SOUNDS +=
145161#-------------------------------------------------
146162
147163ifneq ($(filter ES8712,$(SOUNDS)),)
r23766r23767
152168
153169#-------------------------------------------------
154170# Gaelco custom sound chips
171#@src/emu/sound/.h,SOUNDS +=
172#@src/emu/sound/.h,SOUNDS +=
155173#-------------------------------------------------
156174
157175ifneq ($(filter GAELCO_CG1V,$(SOUNDS)),)
r23766r23767
166184
167185#-------------------------------------------------
168186# RCA CDP1863
187#@src/emu/sound/.h,SOUNDS +=
169188#-------------------------------------------------
170189
171190ifneq ($(filter CDP1863,$(SOUNDS)),)
r23766r23767
176195
177196#-------------------------------------------------
178197# RCA CDP1864
198#@src/emu/sound/.h,SOUNDS +=
179199#-------------------------------------------------
180200
181201ifneq ($(filter CDP1864,$(SOUNDS)),)
r23766r23767
186206
187207#-------------------------------------------------
188208# RCA CDP1869
209#@src/emu/sound/.h,SOUNDS +=
189210#-------------------------------------------------
190211
191212ifneq ($(filter CDP1869,$(SOUNDS)),)
r23766r23767
196217
197218#-------------------------------------------------
198219# GI AY-8910
220#@src/emu/sound/ay8910.h,SOUNDS += AY8910
199221#-------------------------------------------------
200222
201223ifneq ($(filter AY8910,$(SOUNDS)),)
r23766r23767
206228
207229#-------------------------------------------------
208230# Harris HC55516 CVSD
231#@src/emu/sound/.h,SOUNDS +=
209232#-------------------------------------------------
210233
211234ifneq ($(filter HC55516,$(SOUNDS)),)
r23766r23767
216239
217240#-------------------------------------------------
218241# Hudsonsoft C6280 sound chip
242#@src/emu/sound/.h,SOUNDS +=
219243#-------------------------------------------------
220244
221245ifneq ($(filter C6280,$(SOUNDS)),)
r23766r23767
226250
227251#-------------------------------------------------
228252# ICS2115 sound chip
253#@src/emu/sound/.h,SOUNDS +=
229254#-------------------------------------------------
230255
231256ifneq ($(filter ICS2115,$(SOUNDS)),)
r23766r23767
236261
237262#-------------------------------------------------
238263# Imagetek I5000 sound
264#@src/emu/sound/.h,SOUNDS +=
239265#-------------------------------------------------
240266
241267ifneq ($(filter I5000_SND,$(SOUNDS)),)
r23766r23767
246272
247273#-------------------------------------------------
248274# Irem custom sound chips
275#@src/emu/sound/.h,SOUNDS +=
249276#-------------------------------------------------
250277
251278ifneq ($(filter IREMGA20,$(SOUNDS)),)
r23766r23767
256283
257284#-------------------------------------------------
258285# Konami custom sound chips
286#@src/emu/sound/.h,SOUNDS +=
287#@src/emu/sound/.h,SOUNDS +=
288#@src/emu/sound/.h,SOUNDS +=
289#@src/emu/sound/.h,SOUNDS +=
290#@src/emu/sound/.h,SOUNDS +=
291#@src/emu/sound/.h,SOUNDS +=
259292#-------------------------------------------------
260293
261294ifneq ($(filter K005289,$(SOUNDS)),)
r23766r23767
286319
287320#-------------------------------------------------
288321# LMC1992 mixer chip
322#@src/emu/sound/.h,SOUNDS +=
289323#-------------------------------------------------
290324
291325ifneq ($(filter LMC1992,$(SOUNDS)),)
r23766r23767
296330
297331#-------------------------------------------------
298332# MAS 3507D MPEG 1/2 Layer 2/3 Audio Decoder
333#@src/emu/sound/.h,SOUNDS +=
299334#-------------------------------------------------
300335
301336ifneq ($(filter MAS3507D,$(SOUNDS)),)
r23766r23767
306341
307342#-------------------------------------------------
308343# MOS 6560VIC
344#@src/emu/sound/.h,SOUNDS +=
309345#-------------------------------------------------
310346
311347ifneq ($(filter MOS656X,$(SOUNDS)),)
r23766r23767
316352
317353#-------------------------------------------------
318354# MOS 7360 TED
355#@src/emu/sound/.h,SOUNDS +=
319356#-------------------------------------------------
320357
321358ifneq ($(filter MOS7360,$(SOUNDS)),)
r23766r23767
326363
327364#-------------------------------------------------
328365# Namco custom sound chips
366#@src/emu/sound/namco.h,SOUNDS += NAMCO
329367#-------------------------------------------------
330368
331369ifneq ($(filter NAMCO NAMCO_15XX NAMCO_CUS30,$(SOUNDS)),)
trunk/src/emu/machine/machine.mak
r23766r23767
373373
374374#-------------------------------------------------
375375#
376#@src/emu/machine/eeprom.h,MACHINES += EEPROMDEV
376377#-------------------------------------------------
377378
378379ifneq ($(filter EEPROMDEV,$(MACHINES)),)
r23766r23767
12781279
12791280#-------------------------------------------------
12801281#
1282#@src/emu/machine/i8255.h,MACHINES += I8255
12811283#-------------------------------------------------
12821284
12831285ifneq ($(filter I8255,$(MACHINES)),)

Previous 199869 Revisions Next


© 1997-2024 The MAME Team