Previous 15994 Revisions Next

r14171 Wednesday 25th January, 2012 at 09:55:24 UTC by Miodrag Milanović
Sync with MAME r15157 (no whatsnew)
[src/emu]screen.c
[src/emu/video]v9938mod.c
[src/lib/libflac]libflac++.mak libflac.mak
[src/mame]mame.lst
[src/mame/drivers]chsuper.c eolith.c eolithsp.c naomi.c neodrvr.c tickee.c twinkle.c
[src/mame/video]hng64.c seta001.c
[src/tools]chdman.c

src/mame/mame.lst
r14170r14171
23742374skyshark      // B02 / TP-007 (c) 1987 Taito America Corporation + Romstar license (US)
23752375hishouza      // B02 / TP-007 (c) 1987 Taito Corporation (Japan)
23762376fsharkbt      // bootleg
2377fsharkbla
23772378wardner         // B25 / TP-009 (c) 1987 Taito Corporation Japan (World)
23782379pyros         // B25 / TP-009 (c) 1987 Taito America Corporation (US)
23792380wardnerj      // B25 / TP-009 (c) 1987 Taito Corporation (Japan)
r14170r14171
28132814cawingr1      // 09/10/1990 (c) 1990 (World)
28142815cawingu         // 12/10/1990 (c) 1990 (USA)
28152816cawingj         // 12/10/1990 (c) 1990 (Japan)
2817cawingbl
28162818nemo         // 30/11/1990 (c) 1990 (World)
28172819nemoj         // 20/11/1990 (c) 1990 (Japan)
28182820sf2            // 22/05/1991 (c) 1991 (World)
r14170r14171
1003210034tutstomb      // (c) 199?? Island Design
1003310035mouseatk      // (c) 1996 ICE
1003410036rapidfir      // (c) 1998 Hanaho Games
10037rapidfira      // (c) 1998 Hanaho Games
1003510038rapidfire      // (c) 1998 Hanaho Games
1003610039maletmad      // (c) 1999 Hanaho Games, licensed to Capcom
1003710040crgolf         // (c) 1984 Nasco Japan
r14170r14171
1014810151
1014910152// Nexus 3D
1015010153
10154acheart
1015110155acheartf      // (c) 2006 Examu
1015210156
1015310157// Multi Amenity Cassette System
src/mame/video/seta001.c
r14170r14171
3636
3737void seta001_device::device_start()
3838{
39   // chukatai draws a column on the left from uninitialized RAM which causes garbage in a debug build
40   // if we initialize ram this is a single line in the top left instead.
41   // maybe there is less RAM actually present and it should mirror, or there is another flaw?
42   memset(m_spritectrl,0xff,4);
43   memset(m_spriteylow,0xff,0x300);
44   memset(m_spritecodelow,0xff,0x2000);
45   memset(m_spritecodehigh,0xff,0x2000);
46
47
3948   m_fg_flipxoffs = 0;
4049   m_fg_noflipxoffs = 0;
4150
src/mame/video/hng64.c
r14170r14171
15381538      // Blit the color buffer into the primary bitmap
15391539      for (y = cliprect.min_y; y <= cliprect.max_y; y++)
15401540      {
1541         UINT32 *src = &state->m_colorBuffer3d[y * cliprect.width()];
1541         UINT32 *src = &state->m_colorBuffer3d[y * cliprect.max_x];
15421542         UINT32 *dst = &bitmap.pix32(y, cliprect.min_x);
15431543
15441544         for (x = cliprect.min_x; x <= cliprect.max_x; x++)
src/mame/drivers/chsuper.c
r14170r14171
5151
5252void chsuper_state::video_start()
5353{
54   m_vram = auto_alloc_array_clear(machine(), UINT8, 1 << 13);
54   m_vram = auto_alloc_array_clear(machine(), UINT8, 1 << 14);
5555}
5656
5757UINT32 chsuper_state::screen_update( screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect )
src/mame/drivers/eolith.c
r14170r14171
10511051   ROM_LOAD( "ss.u97", 0x00000, 0x80000, CRC(56c9f4a4) SHA1(dfc7cb8b68ec9e77854287b8998131e3ef4ca18d) )
10521052
10531053   ROM_REGION( 0x080000, "wavetable", 0 ) /* QDSP wavetable rom */
1054   //ROM_LOAD( "qs1001a.u96",  0x000000, 0x80000, CRC(d13c6407) SHA1(57b14f97c7d4f9b5d9745d3571a0b7115fbe3176) )
1054   ROM_LOAD( "qs1001a.u96",  0x000000, 0x80000, CRC(d13c6407) SHA1(57b14f97c7d4f9b5d9745d3571a0b7115fbe3176) )
10551055ROM_END
10561056
10571057
src/mame/drivers/naomi.c
r14170r14171
78677867// 0012A Virtua Fighter 4 (Rev A)
78687868/* 0012B */ GAME( 2001, vf4b,      vf4,      naomi2gd, naomi,   naomi2,   ROT0, "Sega", "Virtua Fighter 4 (Rev B) (GDS-0012B)", GAME_FLAGS )
78697869/* 0012C */ GAME( 2001, vf4c,      vf4,      naomi2gd, naomi,   naomi2,   ROT0, "Sega", "Virtua Fighter 4 (Rev C) (GDS-0012C)", GAME_FLAGS )
7870// 0013
7870// 0013  Shakatto Tambourine 2K1 SPR (PIC: 253-5508-0315)
78717871/* 0014  */ GAME( 2001, beachspi,  naomi2,   naomi2gd, naomi,   naomi2,   ROT0, "Sega", "Beach Spikers (GDS-0014)", GAME_FLAGS )
78727872// 0015  Virtua Tennis 2 / Power Smash 2
78737873/* 0015A */ GAME( 2001, vtennis2,  naomigd,  naomigd, naomi,    naomigd,    ROT0, "Sega", "Virtua Tennis 2 / Power Smash 2 (Rev A) (GDS-0015A)", GAME_FLAGS )
src/mame/drivers/neodrvr.c
r14170r14171
88758875   ROM_REGION( 0x100000, "maincpu", 0 )
88768876   ROM_LOAD16_WORD_SWAP( "2a.bin", 0x000000, 0x080000, CRC(d054d264) SHA1(d1b4bc626d000e0679def0545940fa75035921ab) )
88778877
8878   ROM_REGION( 0x80000, "fixed", 0 )
8879   ROM_LOAD( "2b.bin",       0x000000, 0x80000, CRC(2fd04b2a) SHA1(1acb446704ab56d0a33df7c48855aa8d00fd5a3c) )
8878   ROM_REGION( 0x20000, "fixed", 0 )
8879   ROM_LOAD( "2b.bin",       0x000000, 0x20000, CRC(2fd04b2a) SHA1(1acb446704ab56d0a33df7c48855aa8d00fd5a3c) )
8880   ROM_IGNORE(0x20000)
8881   ROM_IGNORE(0x20000)
8882   ROM_IGNORE(0x20000)
8883
88808884   ROM_REGION( 0x20000, "fixedbios", 0 )
88818885   ROM_LOAD( "sfix.sfix", 0x000000, 0x20000, CRC(c2ea0cfd) SHA1(fd4a618cdcdbf849374f0a50dd8efe9dbab706c3) )                                                                                   
88828886   ROM_Y_ZOOM
r14170r14171
98119815   DRIVER_INIT_CALL(neogeo);
98129816}
98139817
9818static READ16_HANDLER( sbp_lowerrom_r )
9819{
9820   UINT16* rom = (UINT16*)space->machine().region("maincpu")->base();
9821   UINT16 origdata = rom[(offset+(0x200/2))];
9822   UINT16 data =  BITSWAP16(origdata, 11,10,9,8,15,14,13,12,3,2,1,0,7,6,5,4);
9823   int realoffset = 0x200+(offset*2);
9824   logerror("sbp_lowerrom_r offset %08x data %04x\n", realoffset, data );
98149825
9826   // there is actually data in the rom here already, maybe we should just return it 'as is'
9827   if (realoffset==0xd5e) return origdata;
9828
9829   return data;
9830}
9831
9832static WRITE16_HANDLER( sbp_lowerrom_w )
9833{
9834   int realoffset = 0x200+(offset*2);
9835
9836   // the actual data written is just pulled from the end of the rom, and unused space
9837   // maybe this is just some kind of watchdog for the protection device and it doesn't
9838   // matter?
9839   if (realoffset == 0x1080)
9840   {
9841      if (data==0x4e75)
9842      {
9843         return;
9844      }
9845      else if (data==0xffff)
9846      {
9847         return;
9848      }
9849   }
9850
9851   printf("sbp_lowerrom_w offset %08x data %04x\n", realoffset, data );
9852}
9853
9854static DRIVER_INIT(sbp )
9855{
9856   // there seems to be a protection device living around here..
9857   // if you nibble swap the data in the rom the game will boot
9858   // there are also writes to 0x1080..
9859   //
9860   // other stuff going on as well tho, the main overlay is still missing, and p1 inputs don't work
9861   machine.device("maincpu")->memory().space(AS_PROGRAM)->install_legacy_read_handler(0x00200, 0x001fff, FUNC(sbp_lowerrom_r));
9862   machine.device("maincpu")->memory().space(AS_PROGRAM)->install_legacy_write_handler(0x00200, 0x001fff, FUNC(sbp_lowerrom_w));
9863
9864
9865}
9866
9867
98159868// handle protected carts
98169869void mvs_install_protection(device_image_interface& image)
98179870{
r14170r14171
1020110254GAME( 2000, diggerma,  neogeo,   neogeo,   neogeo,   neogeo,   ROT0, "Kyle Hodgetts", "Digger Man (prototype)", GAME_SUPPORTS_SAVE )
1020210255
1020310256/* Vektorlogic */
10204GAME( 2004, sbp,  neogeo,   neogeo,   neogeo,   neogeo,   ROT0, "Vektorlogic", "Super Bubble Pop", GAME_NOT_WORKING )
10257GAME( 2004, sbp,  neogeo,   neogeo,   neogeo,   sbp,   ROT0, "Vektorlogic", "Super Bubble Pop", GAME_NOT_WORKING )
1020510258
1020610259/* NG.DEV.TEAM */
1020710260// Last Hope (c)2006 - AES / NEOCD (has no MVS mode)
src/mame/drivers/eolithsp.c
r14170r14171
101101CUSTOM_INPUT( eolith_speedup_getvblank )
102102{
103103
104   printf("%s:eolith speedup_read data %02x\n",field.machine().describe_context(), eolith_vblank);
104//   printf("%s:eolith speedup_read data %02x\n",field.machine().describe_context(), eolith_vblank);
105105   
106106
107107   return (field.machine().primary_screen->vpos() >= 240);
src/mame/drivers/tickee.c
r14170r14171
10691069   ROM_REGION16_LE( 0x400000, "user1", 0 )   /* 34010 code */
10701070   ROM_LOAD16_BYTE( "rf11.u8",  0x000000, 0x80000, CRC(f7d8df33) SHA1(0abd54bbccfa90d830cbbdbcf2058197af980981) )
10711071   ROM_LOAD16_BYTE( "rf11.u9",  0x000001, 0x80000, CRC(a72af935) SHA1(ed0deb6f51681f70e07ad7c05a92f6a0f2063f7a) )
1072   ROM_LOAD16_BYTE( "rf10.u6",  0x100000, 0x80000, CRC(e8d2e5d2) SHA1(db93014598f7b76785e0fd5c0ac8808a3be06435) )
1073   ROM_LOAD16_BYTE( "rf10.u7",  0x100001, 0x80000, CRC(0e33f2ed) SHA1(9b2533e001b94ccc97b95e31762186f59d5a3b9c) )
1074   ROM_LOAD16_BYTE( "rf10.u4",  0x200000, 0x80000, CRC(8a088468) SHA1(f94dc78158e5656657d3b26c5b0ca88f39eb5ff4) )
1075   ROM_LOAD16_BYTE( "rf10.u5",  0x200001, 0x80000, CRC(593b3df2) SHA1(301fa06031eff54fb2d9e08f80fc3c26e5c51da9) )
1072   ROM_LOAD16_BYTE( "rf10.u6",  0x100000, 0x80000, CRC(e8d2e5d2) SHA1(db93014598f7b76785e0fd5c0ac8808a3be06435) ) /* Can be labeled V1.0 or V1.1 */
1073   ROM_LOAD16_BYTE( "rf10.u7",  0x100001, 0x80000, CRC(0e33f2ed) SHA1(9b2533e001b94ccc97b95e31762186f59d5a3b9c) ) /* Can be labeled V1.0 or V1.1 */
1074   ROM_LOAD16_BYTE( "rf10.u4",  0x200000, 0x80000, CRC(8a088468) SHA1(f94dc78158e5656657d3b26c5b0ca88f39eb5ff4) ) /* Can be labeled V1.0 or V1.1 */
1075   ROM_LOAD16_BYTE( "rf10.u5",  0x200001, 0x80000, CRC(593b3df2) SHA1(301fa06031eff54fb2d9e08f80fc3c26e5c51da9) ) /* Can be labeled V1.0 or V1.1 */
10761076   ROM_LOAD16_BYTE( "rf11.u2",  0x300000, 0x80000, CRC(ffa0c695) SHA1(bccdefe7cee15999c416fdcb16a65b1bc6e12d13) )
10771077   ROM_LOAD16_BYTE( "rf11.u3",  0x300001, 0x80000, CRC(ac63b863) SHA1(c9160aec6179d1f550279b80fd4c2a14ce94fdab) )
10781078
r14170r14171
10811081   ROM_LOAD( "rf11.u510", 0x080000, 0x80000, CRC(6209c8fe) SHA1(bfbd63445b4ac2d4253c4b5354e1058070290084) )
10821082ROM_END
10831083
1084ROM_START( rapidfira ) /* Version 1.1, test menu shows "Build 238" */
1085   ROM_REGION16_LE( 0x400000, "user1", 0 )   /* 34010 code */
1086   ROM_LOAD16_BYTE( "rf11.u8",  0x000000, 0x80000, CRC(f7d8df33) SHA1(0abd54bbccfa90d830cbbdbcf2058197af980981) )
1087   ROM_LOAD16_BYTE( "rf11.u9",  0x000001, 0x80000, CRC(a72af935) SHA1(ed0deb6f51681f70e07ad7c05a92f6a0f2063f7a) )
1088   ROM_LOAD16_BYTE( "rf10.u6",  0x100000, 0x80000, CRC(e8d2e5d2) SHA1(db93014598f7b76785e0fd5c0ac8808a3be06435) ) /* Can be labeled V1.0 or V1.1 */
1089   ROM_LOAD16_BYTE( "rf10.u7",  0x100001, 0x80000, CRC(0e33f2ed) SHA1(9b2533e001b94ccc97b95e31762186f59d5a3b9c) ) /* Can be labeled V1.0 or V1.1 */
1090   ROM_LOAD16_BYTE( "rf10.u4",  0x200000, 0x80000, CRC(8a088468) SHA1(f94dc78158e5656657d3b26c5b0ca88f39eb5ff4) ) /* Can be labeled V1.0 or V1.1 */
1091   ROM_LOAD16_BYTE( "rf10.u5",  0x200001, 0x80000, CRC(593b3df2) SHA1(301fa06031eff54fb2d9e08f80fc3c26e5c51da9) ) /* Can be labeled V1.0 or V1.1 */
1092   ROM_LOAD16_BYTE( "rf11-u2",  0x300000, 0x80000, CRC(bcb7195a) SHA1(04b14facfe84973737f94b5278fb59668af0a47c) ) /* Only U2 & U3 differ from Build 239, labeled the same */
1093   ROM_LOAD16_BYTE( "rf11-u3",  0x300001, 0x80000, CRC(e455a0b5) SHA1(5568f55ccfd6cba373f4b4f3e61f0a4f391b01c0) ) /* Only U2 & U3 differ from Build 239, labeled the same */
10841094
1095   ROM_REGION( 0x100000, "oki", 0 )
1096   ROM_LOAD( "rf11.u507", 0x000000, 0x80000, CRC(899d1e15) SHA1(ca22b4ad714a5212bc9347eb3a5b660c02bad7e5) )
1097   ROM_LOAD( "rf11.u510", 0x080000, 0x80000, CRC(6209c8fe) SHA1(bfbd63445b4ac2d4253c4b5354e1058070290084) )
1098ROM_END
1099
1100
10851101ROM_START( rapidfire ) /* Version 1.0, test menu shows "Build 236" */
10861102   ROM_REGION16_LE( 0x400000, "user1", 0 )   /* 34010 code */
10871103   ROM_LOAD16_BYTE( "rf10.u8",  0x000000, 0x80000, CRC(71d42125) SHA1(e34bdb08aa1b85ba4dd219b7f6de6f99a1ed8758) )
r14170r14171
11351151GAME( 1996, ghoshunt,  0,        ghoshunt, ghoshunt, 0, ROT0, "Hanaho Games",  "Ghost Hunter", 0 )
11361152GAME( 1996, tutstomb,  0,        ghoshunt, ghoshunt, 0, ROT0, "Island Design", "Tut's Tomb", 0 )
11371153GAME( 1996, mouseatk,  0,        mouseatk, mouseatk, 0, ROT0, "ICE",           "Mouse Attack", 0 )
1138GAME( 1998, rapidfir,  0,        rapidfir, rapidfir, 0, ROT0, "Hanaho Games",  "Rapid Fire v1.1", 0 )
1139GAME( 1998, rapidfire, rapidfir, rapidfir, rapidfir, 0, ROT0, "Hanaho Games",  "Rapid Fire v1.0", 0 )
1154GAME( 1998, rapidfir,  0,        rapidfir, rapidfir, 0, ROT0, "Hanaho Games",  "Rapid Fire v1.1 (Build 239)", 0 )
1155GAME( 1998, rapidfira, rapidfir, rapidfir, rapidfir, 0, ROT0, "Hanaho Games",  "Rapid Fire v1.1 (Build 238)", 0 )
1156GAME( 1998, rapidfire, rapidfir, rapidfir, rapidfir, 0, ROT0, "Hanaho Games",  "Rapid Fire v1.0 (Build 236)", 0 )
11401157GAME( 1999, maletmad,  0,        rapidfir, rapidfir, 0, ROT0, "Hanaho Games",  "Mallet Madness v2.1", 0 )
11411158
src/mame/drivers/twinkle.c
r14170r14171
2727beatmania IIDX Club Version 2  - Konami 1999     GE984 A01(BM)    ?            984 A02     ?
2828                                               + GE984 A01(DDR)
2929beatmania IIDX 2nd Style       - Konami 1999     GC985 A01        GC985 A04    ?           ?
30beatmania IIDX 3rd Style       - Konami 2000     GC992-JA A01     ?            ?           ?
30beatmania IIDX 3rd Style       - Konami 2000     GC992-JA A01     GC992-JA A04 ?           ?
31beatmania IIDX 3rd Style(newer)- Konami 2000     GC992-JA C01     GC992-JA A04 ?           ?
3132beatmania IIDX 4th Style       - Konami 2000     A03 JA A01       A03 JA A02   A03         A03 JA A03
32beatmania IIDX 5th Style       - Konami 2001     ?              ?            ?           ?
33beatmania IIDX 5th Style       - Konami 2001     A17 JA A01       A17 JA A02   ?           ?
3334beatmania IIDX 6th Style       - Konami 2001     B4U JA A01       B4U JA A02   ?           B4U JA A03
35beatmania IIDX 6th Style(newer)- Konami 2001     B4U JA B01       B4U JA A02   ?           B4U JA A03
3436beatmania IIDX 7th Style       - Konami 2002     B44 JA A01       B44 JA A02   ?           ?
3537beatmania IIDX 8th Style       - Konami 2002     C44 JA A01       ?            C44         ?
3638
src/tools/chdman.c
r14170r14171
34103410      { "-createuncomphd",   do_createhd_uncomp, 0 },
34113411      { "-createraw",      do_createraw, 0 },
34123412      { "-createcd",      do_createcd, 0 },
3413      { "-createcdflac",   do_createcd, 1 },
3413//      { "-createcdflac",   do_createcd, 1 },
34143414      { "-createblankhd",   do_createblankhd, 0 },
34153415      { "-createav",      do_createav, 0 },
34163416      { "-copydata",      do_copydata, 0 },
src/emu/screen.c
r14170r14171
430430   assert(height > 0);
431431   assert(visarea.min_x >= 0);
432432   assert(visarea.min_y >= 0);
433//   assert(visarea.max_x < width);
434//   assert(visarea.max_y < height);
433435   assert(m_type == SCREEN_TYPE_VECTOR || visarea.min_x < width);
434436   assert(m_type == SCREEN_TYPE_VECTOR || visarea.min_y < height);
435437   assert(frame_period > 0);
r14170r14171
504506
505507void screen_device::realloc_screen_bitmaps()
506508{
509   // doesn't apply for vector games
507510   if (m_type == SCREEN_TYPE_VECTOR)
508511      return;
512   
513   // determine effective size to allocate
514   INT32 effwidth = MAX(m_width, m_visarea.max_x + 1);
515   INT32 effheight = MAX(m_height, m_visarea.max_y + 1);
509516
510517   // reize all registered screen bitmaps
511518   for (auto_bitmap_item *item = m_auto_bitmap_list.first(); item != NULL; item = item->next())
512      item->m_bitmap.resize(m_width, m_height);
519      item->m_bitmap.resize(effwidth, effheight);
513520
514521   // re-set up textures
515522   m_texture[0]->set_bitmap(m_bitmap[0], m_visarea, m_bitmap[0].texformat());
r14170r14171
785792   m_vblank_start_time = machine().time();
786793   m_vblank_end_time = m_vblank_start_time + attotime(0, m_vblank_period);
787794
795   // if this is the primary screen and we need to update now
796   if (this == machine().primary_screen && !(machine().config().m_video_attributes & VIDEO_UPDATE_AFTER_VBLANK))
797      machine().video().frame_update();
798
788799   // call the screen specific callbacks
789800   for (callback_item *item = m_callback_list.first(); item != NULL; item = item->next())
790801      item->m_callback(*this, true);
791802   if (!m_screen_vblank.isnull())
792803      m_screen_vblank(*this, true);
793804
794   // if this is the primary screen and we need to update now
795   if (this == machine().primary_screen && !(machine().config().m_video_attributes & VIDEO_UPDATE_AFTER_VBLANK))
796      machine().video().frame_update();
797
798805   // reset the VBLANK start timer for the next frame
799806   m_vblank_begin_timer->adjust(time_until_vblank_start());
800807
src/lib/libflac/libflac.mak
r14170r14171
1
2
3
4DEFINES = -DFLAC__NO_ASM -DFLAC__NO_DLL -DFLAC__ALIGN_MALLOC_DATA
5
6INCLUDES = -I./include -I$(LIBSRC)/libflac/include
7
8LIBFLACOBJS = \
9   $(LIBOBJ)/libflac/bitmath.o \
10   $(LIBOBJ)/libflac/bitreader.o \
11   $(LIBOBJ)/libflac/bitwriter.o \
12   $(LIBOBJ)/libflac/cpu.o \
13   $(LIBOBJ)/libflac/crc.o \
14   $(LIBOBJ)/libflac/fixed.o \
15   $(LIBOBJ)/libflac/float.o \
16   $(LIBOBJ)/libflac/format.o \
17   $(LIBOBJ)/libflac/lpc.o \
18   $(LIBOBJ)/libflac/md5.o \
19   $(LIBOBJ)/libflac/memory.o \
20   $(LIBOBJ)/libflac/stream_decoder.o \
21   $(LIBOBJ)/libflac/stream_encoder.o \
22   $(LIBOBJ)/libflac/stream_encoder_framing.o \
23   $(LIBOBJ)/libflac/window.o
24
25VERSION=\"1.2.1\"
26CONFIG_CFLAGS=-DHAVE_INTTYPES_H -DHAVE_ICONV  -DFLAC__NO_ASM -DFLAC__NO_DLL -D__MINGW32__ -DHAVE_LANGINFO_CODESET -DHAVE_SOCKLEN_T -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
27LIBFLACCFLAGS = -O3 -fomit-frame-pointer -DNDEBUG $(CONFIG_CFLAGS) $(RELEASE_CFLAGS) -Wno-int-to-pointer-cast -Wno-pointer-to-int-cast -DVERSION=$(VERSION) $(DEFINES) $(INCLUDES)
28ifdef MSVC_BUILD
29LIBFLACCFLAGS += -DFLaC__INLINE=__inline
30else
31LIBFLACCFLAGS += -DFLaC__INLINE=__inline__ -funroll-loops -finline-functions
32endif
33
34$(LIBOBJ)/libflac/%.o: $(LIBSRC)/libflac/libflac/%.c
35   @echo Compiling $<...
36   $(CC) $(CDEFS) $(LIBFLACCFLAGS) $(CONLYFLAGS) -c $< -o $@
37
38
39$(OBJ)/libflac.a: $(LIBFLACOBJS)
src/lib/libflac/libflac++.mak
r14170r14171
1
2
3
4DEFINES = -DFLAC__NO_ASM -DFLAC__NO_DLL -DFLAC__ALIGN_MALLOC_DATA
5
6INCLUDES = -I./include -I$(LIBSRC)/libflac/include
7
8LIBFLACPPOBJS = \
9   $(LIBOBJ)/libflacpp/metadata.o \
10   $(LIBOBJ)/libflacpp/stream_decoder.o \
11   $(LIBOBJ)/libflacpp/stream_encoder.o
12
13
14VERSION=\"1.2.1\"
15CONFIG_CFLAGS=-DHAVE_INTTYPES_H -DHAVE_ICONV  -DFLAC__NO_ASM -DFLAC__NO_DLL -D__MINGW32__ -DHAVE_LANGINFO_CODESET -DHAVE_SOCKLEN_T -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
16LIBFLACPPCFLAGS = -O3 -fomit-frame-pointer -DNDEBUG $(CONFIG_CFLAGS) $(RELEASE_CFLAGS) -DFLaC__INLINE=__inline__ -DVERSION=$(VERSION) $(DEFINES) $(INCLUDES)
17ifdef MSVC_BUILD
18LIBFLACCFLAGS += -DFLaC__INLINE=__inline
19else
20LIBFLACCFLAGS += -DFLaC__INLINE=__inline__ -funroll-loops -finline-functions
21endif
22
23$(LIBOBJ)/libflacpp/%.o: $(LIBSRC)/libflac/libflac++/%.cpp
24   @echo Compiling $<...
25   $(CC) $(CDEFS) $(LIBFLACPPCFLAGS) $(CPPONLYFLAGS) -c $< -o $@
26
27
28$(OBJ)/libflac++.a: $(LIBFLACPPOBJS)

Previous 15994 Revisions Next


© 1998-2018 The MESS Team