Previous 15994 Revisions Next

r3074 Friday 22nd August, 2008 at 00:47:48 UTC by R. Belmont
[SDLMESS] Sync with SDLMAME 0.127.
[ROOT]makefile.sdl
[src/osd/sdl]debugwin.c input.c ledutil.sh* osdsdl.h output.c* output.h* sdl.mak sdlmain.c sdlsync.c sdlsync.h sdlwork.c video.c window.c

src/osd/sdl/output.c
r0r3074
1//============================================================
2//
3//  output.c - Generic implementation of MAME output routines
4//
5//  Copyright Nicola Salmoria and the MAME Team.
6//  Visit http://mamedev.org for licensing and usage restrictions.
7//
8//============================================================
9
10#if !defined(SDLMAME_WIN32)
11
12#include <stdio.h>
13#include <fcntl.h>
14#include <unistd.h>
15
16// MAME headers
17#include "osdepend.h"
18#include "driver.h"
19#include "deprecat.h"
20
21// MAMEOS headers
22#include "output.h"
23
24
25
26//============================================================
27//  CONSTANTS
28//============================================================
29
30#define SDLMAME_OUTPUT   "/tmp/sdlmame_out"
31
32//============================================================
33//  TYPEDEFS
34//============================================================
35
36//============================================================
37//  PRIVATE VARIABLES
38//============================================================
39
40static FILE *output;
41
42//============================================================
43//  FUNCTION PROTOTYPES
44//============================================================
45
46static void sdloutput_exit(running_machine *machine);
47static void notifier_callback(const char *outname, INT32 value, void *param);
48
49//============================================================
50//  sdloutput_init
51//============================================================
52
53void sdloutput_init(running_machine *machine)
54{
55   int fildes;
56   
57   add_exit_callback(machine, sdloutput_exit);
58
59   fildes = open(SDLMAME_OUTPUT, O_RDWR | O_NONBLOCK);
60   
61   if (fildes < 0)
62   {
63      output = NULL;
64      mame_printf_verbose("ouput: unable to open output notifier file %s\n", SDLMAME_OUTPUT);
65   }
66   else
67   {
68      output = fdopen(fildes, "w");
69     
70      mame_printf_verbose("ouput: opened output notifier file %s\n", SDLMAME_OUTPUT);
71      fprintf(output, "MAME %d START %s\n", getpid(), machine->gamedrv->name);
72      fflush(output);
73   }
74   
75   output_set_notifier(NULL, notifier_callback, NULL);
76}
77
78
79//============================================================
80//  winoutput_exit
81//============================================================
82
83static void sdloutput_exit(running_machine *machine)
84{
85   if (output != NULL)
86   {
87      fprintf(output, "MAME %d STOP %s\n", getpid(), machine->gamedrv->name);
88      fflush(output);
89      fclose(output);
90      output = NULL;
91      mame_printf_verbose("ouput: closed output notifier file\n");
92   }
93}
94
95//============================================================
96//  notifier_callback
97//============================================================
98
99static void notifier_callback(const char *outname, INT32 value, void *param)
100{
101   if (output != NULL)
102   {
103      fprintf(output, "OUT %d %s %d\n", getpid(), outname, value);
104      fflush(output);
105   }
106}
107
108#else  /* SDLMAME_WIN32 */
109
110#include "driver.h"
111
112//============================================================
113//  Stub for win32
114//============================================================
115
116void sdloutput_init(running_machine *machine)
117{
118}
119
120#endif  /* SDLMAME_WIN32 */
src/osd/sdl/output.h
r0r3074
1//============================================================
2//
3//  output.h - Generic implementation of MAME output routines
4//
5//  Copyright Nicola Salmoria and the MAME Team.
6//  Visit http://mamedev.org for licensing and usage restrictions.
7//
8//============================================================
9
10#ifndef __SDLMAME_OUTPUT_H__
11#define __SDLMAME_OUTPUT_H__
12
13//============================================================
14//  FUNCTION PROTOTYPES
15//============================================================
16
17void sdloutput_init(running_machine *machine);
18
19
20#endif /* __SDLMAME_OUTPUT_H__ */
src/osd/sdl/sdl.mak
r3073r3074
4444# There is no need to play with this option unless you are doing
4545# active development on sdlmame or SDL.
4646
47SDL_INSTALL_ROOT = /usr/local/sdl13
47# SDL_INSTALL_ROOT = /usr/local/sdl13
4848
4949###########################################################################
5050##################   END USER-CONFIGURABLE OPTIONS   ######################
r3073r3074
166166OSDOBJS =  $(SDLOBJ)/sdlmain.o \
167167   $(SDLOBJ)/input.o \
168168   $(SDLOBJ)/sound.o  $(SDLOBJ)/video.o \
169   $(SDLOBJ)/drawsdl.o $(SDLOBJ)/window.o $(SDLOBJ)/keybled.o
169   $(SDLOBJ)/drawsdl.o $(SDLOBJ)/window.o $(SDLOBJ)/output.o
170170
171171
172172ifndef NO_OPENGL
r3073r3074
216216LIBS += -lm `sdl-config --libs` $(LIBGL)
217217else
218218CFLAGS += -I$(SDL_INSTALL_ROOT)/include
219#LIBS += -L/opt/intel/cce/9.1.051/lib  -limf -L$(SDL_INSTALL_ROOT)/lib -Wl,-rpath,$(SDL_INSTALL_ROOT)/lib -lSDL $(LIBGL)
219220LIBS += -lm -L$(SDL_INSTALL_ROOT)/lib -Wl,-rpath,$(SDL_INSTALL_ROOT)/lib -lSDL $(LIBGL)
220221endif
221222
r3073r3074
289290
290291# OS2: add the necessary libraries
291292ifeq ($(TARGETOS),os2)
293OSDCOREOBJS += $(SDLOBJ)/debugwin.o
294
292295CFLAGS += `sdl-config --cflags`
293296LIBS += `sdl-config --libs`
294297endif # OS2
src/osd/sdl/ledutil.sh
r0r3074
1#!/bin/sh
2
3# ============================================================
4#
5#   ledutil.sh - Example script for output notifiers
6#
7#   Copyright Nicola Salmoria and the MAME Team.
8#   Visit http://mamedev.org for licensing and usage restrictions.
9#
10#   This is a very basic implementation which
11#
12#   a) Sets kbd leds if led0, led1, led2 is received
13#   b) Beeps if led0 is set to on (state=1)
14#   c) Writes a message when pause is received
15#
16#   use "sh ledutil.sh -h" to get more information
17#
18# ============================================================
19
20SDLMAME_OUTPUT=/tmp/sdlmame_out
21
22verbose=0
23autoclose=0
24myname=`basename $0`
25paused=0
26
27while [ $# -gt 0 ]; do
28   case $1 in
29      -v)
30           verbose=1
31         ;;
32      -a)
33         autoclose=1
34         ;;
35      -h)
36         echo "Usage: $myname [-a] [-v]"
37         echo ""
38         echo "  -a   Automatically close when sdlmame ends game"
39         echo "  -v   LOG all messages received"
40         echo "  -h   Get help"
41         echo ""
42         exit
43         ;;
44      *)
45         echo "$myname: invalid option $1"
46         echo "Try \`$myname -h' for more information."
47         exit
48         ;;
49   esac
50   shift
51done
52
53if [ ! -e ${SDLMAME_OUTPUT} ]; then
54  mkfifo ${SDLMAME_OUTPUT}
55fi
56
57while true; do
58   cat  ${SDLMAME_OUTPUT} | while read class pidnum what state; do
59      [ $verbose = 1 ] && echo LOG: $class $pidnum $what $state
60      if [ "$class" = "MAME" ]; then
61         case "$what" in
62            START)
63               echo Process $pidnum starting game $state
64               paused=0
65               ;;
66            STOP)
67               echo Process $pidnum stopping game $state
68               ;;
69         esac
70      fi
71      if [ "$class" = "OUT" ]; then
72         case "$what" in
73            led0)
74               [ "$state" = 1 ] && beep
75               [ "$state" = 1 ] && xset led 1
76               [ "$state" = 0 ] && xset -led 1
77               ;;
78            led1)
79               [ "$state" = 1 ] && xset led 2
80               [ "$state" = 0 ] && xset -led 2
81               ;;
82            led2)
83               [ "$state" = 1 ] && xset led 3
84               [ "$state" = 0 ] && xset -led 3
85               ;;
86            pause)
87               paused=$state
88               echo Pause $paused!
89               ;;
90         esac
91      fi   
92   done
93   [ $autoclose = 1 ] && break;
94done
95
96rm -f ${SDLMAME_OUTPUT}
97
src/osd/sdl/input.c
r3073r3074
139139static device_info *      keyboard_list;
140140
141141// mouse states
142static UINT8            app_has_mouse_focus;
142143static UINT8            mouse_enabled;
143144static device_info *      mouse_list;
144145
r3073r3074
895896   joystick_list = NULL;
896897   mouse_list = NULL;
897898   lightgun_list = NULL;
899   
900   app_has_mouse_focus = 1;
898901
899902   // get Sixaxis special mode info
900903   sixaxis_mode = options_get_bool(mame_options(), SDLOPTION_SIXAXIS);
r3073r3074
943946   // SDL 1.2 has only 1 mouse - 1.3+ will also change that, so revisit this then
944947   devinfo = generic_device_alloc(&mouse_list, "System mouse");
945948   devinfo->device = input_device_add(DEVICE_CLASS_MOUSE, devinfo->name, devinfo);
949
946950   mouse_enabled = options_get_bool(mame_options(), OPTION_MOUSE);
951   
952#ifdef MAME_DEBUG
953   if (mouse_enabled)
954   {
955      mame_printf_warning("Debug Build: Disabling input grab in window mode ...\n");
956      mouse_enabled = 0;
957   }
958#endif
947959
948960   // add the axes
949961   input_device_item_add(devinfo->device, "X", &devinfo->mouse.lX, ITEM_ID_XAXIS, generic_axis_get_state);
r3073r3074
12181230         }
12191231         break;
12201232#if (!SDL_VERSION_ATLEAST(1,3,0))
1233      case SDL_APPMOUSEFOCUS:
1234         app_has_mouse_focus = event.active.gain;
1235         if (!event.active.gain)
1236         {
1237            sdl_window_info *window = GET_WINDOW(&event.motion);
1238            ui_input_push_mouse_leave_event(machine, window->target);
1239         }
1240         break;
12211241      case SDL_QUIT:
12221242         mame_schedule_exit(machine);
12231243         break;
r3073r3074
12521272         case  SDL_WINDOWEVENT_LEAVE:
12531273         {
12541274            ui_input_push_mouse_leave_event(machine, window->target);
1275            app_has_mouse_focus = 0;
12551276            break;
12561277           
12571278         }
12581279         case SDL_WINDOWEVENT_RESIZED:
12591280            if (event.window.data1 != window->width || event.window.data2 != window->height)
12601281               sdlwindow_resize(window, event.window.data1, event.window.data2);
1261            /* fall through break; */
1282            focus_window = window;
1283            break;
1284         case SDL_WINDOWEVENT_ENTER:
1285            app_has_mouse_focus = 1;
1286            /* fall through */
12621287         case SDL_WINDOWEVENT_FOCUS_GAINED:
1263         case SDL_WINDOWEVENT_ENTER:
12641288         case SDL_WINDOWEVENT_EXPOSED:
12651289         case SDL_WINDOWEVENT_MAXIMIZED: 
12661290         case SDL_WINDOWEVENT_RESTORED:
r3073r3074
13061330   if (!mouse_enabled && !lightgun_enabled)
13071331      return FALSE;
13081332   
1333   if (!app_has_mouse_focus)
1334      return FALSE;
1335   
13091336   // otherwise, yes
13101337   return TRUE;
13111338}
src/osd/sdl/debugwin.c
r3073r3074
99//
1010//============================================================
1111
12#if !defined(SDLMAME_WIN32) && !defined(SDLMAME_NO_X11) && !defined(SDLMAME_SOLARIS)
12#if !defined(SDLMAME_WIN32) && !defined(SDLMAME_NO_X11) && !defined(SDLMAME_SOLARIS) && !defined(SDLMAME_OS2)
1313
1414#include <gdk/gdkkeysyms.h>
1515#include <gtk/gtk.h>
r3073r3074
879879
880880#else
881881
882#include "driver.h"
883
882884// win32 stubs for linking
883void osd_wait_for_debugger(void)
885void osd_wait_for_debugger(running_machine *machine, int firststop)
884886{
885887}
886888
src/osd/sdl/video.c
r3073r3074
473473
474474   // guess the aspect ratio assuming square pixels
475475   monitor->aspect = (float)(info.rcMonitor.right - info.rcMonitor.left) / (float)(info.rcMonitor.bottom - info.rcMonitor.top);
476
476   
477   // SDL will crash if monitors are queried here
478   // This will be done in window.c (Ughh, ugly)
479   
480   monitor->modes = NULL;
481   
477482   // save the primary monitor handle
478483   if (info.dwFlags & MONITORINFOF_PRIMARY)
479484      primary_monitor = monitor;
r3073r3074
502507
503508   #ifdef SDLMAME_WIN32
504509   EnumDisplayMonitors(NULL, NULL, monitor_enum_callback, (LPARAM)&tailptr);
505   monitor->modes = SDL_ListModes(NULL, SDL_FULLSCREEN | SDL_DOUBLEBUF);
506510   #elif (SDL_VERSION_ATLEAST(1,3,0))
507511   {
508512      int i, temp;
src/osd/sdl/window.c
r3073r3074
723723   // the possibility of losing control
724724   if (!options_get_bool(mame_options(), OPTION_DEBUG))
725725   {
726      if (!window->fullscreen && !sdlinput_should_hide_mouse(machine))
726      if ( window->fullscreen || sdlinput_should_hide_mouse(machine) )
727727      {
728         SDL_ShowCursor(SDL_ENABLE);
729         if (SDL_WM_GrabInput(SDL_GRAB_QUERY))
728         SDL_ShowCursor(SDL_DISABLE);
729         if (!SDL_WM_GrabInput(SDL_GRAB_QUERY))
730730         {
731            SDL_WM_GrabInput(SDL_GRAB_OFF);
731            SDL_WM_GrabInput(SDL_GRAB_ON);
732732         }
733733      }
734734      else
735735      {
736         SDL_ShowCursor(SDL_DISABLE);
737         if (!SDL_WM_GrabInput(SDL_GRAB_QUERY))
736         SDL_ShowCursor(SDL_ENABLE);
737         if (SDL_WM_GrabInput(SDL_GRAB_QUERY))
738738         {
739            SDL_WM_GrabInput(SDL_GRAB_ON);
739            SDL_WM_GrabInput(SDL_GRAB_OFF);
740740         }
741741      }
742742   }
r3073r3074
922922      minimum_height -= 4;
923923   }
924924
925#if defined(SDLMAME_WIN32) && !SDL_VERSION_ATLEAST(1,3,0)
926   /*
927    *  We need to do this here. If SDL_ListModes is
928    * called in init_monitors, the call will crash
929    * on win32
930    */
931   modes = SDL_ListModes(NULL, SDL_FULLSCREEN | SDL_DOUBLEBUF);
932#else
925933   modes = window->monitor->modes;
934#endif
926935   
927936   if (modes == (SDL_Rect **)0)
928937   {
src/osd/sdl/sdlsync.c
r3073r3074
3636#include <errno.h>
3737#include <sys/time.h>
3838#else
39#define INCL_DOS
40#include <os2.h>
41
3942#include <stdlib.h>
4043#define pthread_t       int
4144#define pthread_self    _gettid
r3073r3074
7073   INT8            padding[48];   // A bit more padding
7174#endif
7275};
76#else
77struct _osd_event {
78    HMTX                hmtx;
79    HEV                 hev;
80    volatile INT32      autoreset;
81    INT8                padding[52];    // Fill a 64-byte cache line
82};
7383#endif
7484
7585struct _osd_thread {
r3073r3074
314324}
315325#endif
316326
327#ifndef SDLMAME_OS2
317328//============================================================
318329//  osd_num_processors
319330//============================================================
320331
321#ifndef SDLMAME_OS2
322332int osd_num_processors(void)
323333{
324334   int processors = 1;
r3073r3074
614624   free(thread);
615625}
616626
627#else
628
629//============================================================
630//  osd_num_processors
631//============================================================
632
633int osd_num_processors(void)
634{
635    ULONG numprocs = 1;
636
637    DosQuerySysInfo(QSV_NUMPROCESSORS, QSV_NUMPROCESSORS, &numprocs, sizeof(numprocs));
638
639    return numprocs;
640}
641
642//============================================================
643//  osd_event_alloc
644//============================================================
645
646osd_event *osd_event_alloc(int manualreset, int initialstate)
647{
648    osd_event *ev;
649
650    ev = (osd_event *)calloc(1, sizeof(osd_event));
651
652    DosCreateMutexSem(NULL, &ev->hmtx, 0, FALSE);
653    DosCreateEventSem(NULL, &ev->hev, 0, initialstate);
654    ev->autoreset = !manualreset;
655
656    return ev;
657}
658
659//============================================================
660//  osd_event_free
661//============================================================
662
663void osd_event_free(osd_event *event)
664{
665    DosCloseMutexSem(event->hmtx);
666    DosCloseEventSem(event->hev);
667    free(event);
668}
669
670//============================================================
671//  osd_event_set
672//============================================================
673
674void osd_event_set(osd_event *event)
675{
676    DosPostEventSem(event->hev);
677}
678
679//============================================================
680//  osd_event_reset
681//============================================================
682
683void osd_event_reset(osd_event *event)
684{
685    ULONG ulCount;
686
687    DosResetEventSem(event->hev, &ulCount);
688}
689
690//============================================================
691//  osd_event_wait
692//============================================================
693
694int osd_event_wait(osd_event *event, osd_ticks_t timeout)
695{
696    ULONG rc;
697
698    if(event->autoreset)
699        DosRequestMutexSem(event->hmtx, -1);
700
701    rc = DosWaitEventSem(event->hev, timeout * 1000 / osd_ticks_per_second());
702
703    if(event->autoreset)
704    {
705        ULONG ulCount;
706
707        DosResetEventSem(event->hev, &ulCount);
708        DosReleaseMutexSem(event->hmtx);
709    }
710
711    return (rc == 0);
712}
713
714//============================================================
715//  osd_thread_create
716//============================================================
717
718osd_thread *osd_thread_create(osd_thread_callback callback, void *cbparam)
719{
720    osd_thread *thread;
721
722    thread = (osd_thread *)calloc(1, sizeof(osd_thread));
723    thread->thread = _beginthread(callback, NULL, 65535, cbparam);
724    if ( thread->thread == -1 )
725    {
726        free(thread);
727        return NULL;
728    }
729    return thread;
730}
731
732//============================================================
733//  osd_thread_adjust_priority
734//============================================================
735
736int osd_thread_adjust_priority(osd_thread *thread, int adjust)
737{
738    PTIB ptib;
739
740    DosGetInfoBlocks(&ptib, NULL);
741
742    if ( DosSetPriority(PRTYS_THREAD, PRTYC_NOCHANGE,
743                        ((BYTE)ptib->tib_ptib2->tib2_ulpri) + adjust, thread->thread ))
744        return FALSE;
745
746
747    return TRUE;
748}
749
750//============================================================
751//  osd_thread_cpu_affinity
752//============================================================
753
754int osd_thread_cpu_affinity(osd_thread *thread, UINT32 mask)
755{
756    return TRUE;
757}
758
759//============================================================
760//  osd_thread_wait_free
761//============================================================
762
763void osd_thread_wait_free(osd_thread *thread)
764{
765    TID tid = thread->thread;
766
767    DosWaitThread(&tid, 0);
768    free(thread);
769}
770
617771#endif  /* SDLMAME_OS2 */
618772#else   // SDLMAME_WIN32
619773#include "../windows/winsync.c"
src/osd/sdl/sdlsync.h
r3073r3074
1414
1515#ifndef SDLMAME_WIN32
1616
17#ifndef SDLMAME_OS2
18
19#if (defined SDLMAME_MACOSX) || (defined SDLMAME_FREEBSD) || (defined SDLMAME_SOLARIS)
17#if (defined SDLMAME_MACOSX) || (defined SDLMAME_FREEBSD) || (defined SDLMAME_SOLARIS) || (defined SDLMAME_OS2)
2018#define THREAD_COOPERATIVE      (0)
2119#else
2220#define THREAD_COOPERATIVE      (1)
r3073r3074
191189-----------------------------------------------------------------------------*/
192190int osd_num_processors(void);
193191
194#endif  /* SDLMAME_OS2 */
192#else
195193
194// standard windows headers
195#define WIN32_LEAN_AND_MEAN
196#include <windows.h>
197#include <process.h>
198
199/*-----------------------------------------------------------------------------
200    INLINE implementation of WIN events
201-----------------------------------------------------------------------------*/
202
203typedef void osd_event;
204
205INLINE osd_event *osd_event_alloc(int manualreset, int initialstate)
206{
207   return (void *) CreateEvent(NULL, manualreset, initialstate, NULL);
208}
209
210INLINE int osd_event_wait(osd_event *event, osd_ticks_t timeout)
211{
212   return WaitForSingleObject((HANDLE) event, timeout * 1000 / osd_ticks_per_second());
213}
214
215INLINE void osd_event_reset(osd_event *event)
216{
217   ResetEvent((HANDLE) event);
218}
219
220INLINE void osd_event_set(osd_event *event)
221{
222   SetEvent((HANDLE) event);
223}
224
225INLINE void osd_event_free(osd_event *event)
226{
227   CloseHandle((HANDLE) event);
228}
229
230
196231#endif   /* SDLMAME_WIN32 */
197232
198233#endif   /* __SDLSYNC__ */
src/osd/sdl/sdlwork.c
r3073r3074
1212// MinGW does not have pthreads, defer to Aaron's implementation on that platform
1313#if defined(SDLMAME_WIN32)
1414#include "../windows/winwork.c"
15#elif defined(SDLMAME_OS2)   // use separate OS/2 implementation
16#include "os2work.c"
1715#else
1816
1917#include "osdcore.h"
src/osd/sdl/sdlmain.c
r3073r3074
2222// OSD headers
2323#include "video.h"
2424#include "input.h"
25#include "output.h"
2526#include "osdsdl.h"
2627
2728// we override SDL's normal startup on Win32
r3073r3074
220221   { NULL }
221222};
222223
224#ifdef SDLMAME_WIN32
225
226/* mingw has no setenv */
227
228int setenv(const char *name, const char *value, int overwrite)
229{
230   char *buf;
231   int result;
232   
233   if (!overwrite)
234   {
235      if (getenv(name) != NULL)
236         return 0;
237   }
238   buf = malloc(strlen(name)+strlen(value)+2);
239   sprintf(buf, "%s=%s", name, value);
240   result = putenv(buf);
241   
242   /* will be referenced by environment
243    * Therefore it is not freed here
244    */
245   
246   return result;
247}
248
249#endif
250
223251//============================================================
224252//   main
225253//============================================================
r3073r3074
499527      fflush(stdout);
500528      exit(-1);
501529   }
502   if (osd_use_unsupported())
503      sdlled_init();
504530
505531   sdlinput_init(machine);
506532   
507533   sdlaudio_init(machine);
508534
535   sdloutput_init(machine);
536   
509537   if (options_get_bool(mame_options(), SDLOPTION_OSLOG))
510538      add_logerror_callback(machine, output_oslog);
511539
src/osd/sdl/osdsdl.h
r3073r3074
1212     * Need to submit the directfb driver to the SDL team
1313     * SDL1.3: sdlvideofps does not take -numscreens>1 into account.
1414
15   - For DEBUG=1 builds, disable input grapping while windowed
16   - Fixed WIN32 compile
17     Wrote setenv function since mingw does not provide one.
18     Implemented osd_event_* as inline functions for win32 build.
19     We should at some point merge sdlwork.c and winwork.c and push it
20     to the core, letting sdlsync.c provide the necessary details.
21   - Removed keybled.c and references
22   - Added output.c and output.h. These will look for a fifo or file
23     /tmp/sdlmame_out and write output notifiers to it.
24     Added a sample client ledutil.sh to src/osd/sdl which turns
25     leds on and off and provides a debug (log) facility.
26   - removed os2work.c
27   
1528   - replaced window->render_lock with event window->rendered_event
16     for multiple windows and "-mt", the old code would allow filling up
29     For multiple windows and "-mt", the old code would allow filling up
1730     the workqueue with 1000s of entries, since the lock would not block while
1831     another window is rendered. The osd_event establishes a barrier which
1932     is only freed if the last window blit operation has finished.
r3073r3074
274287
275288void sdlaudio_init(running_machine *machine);
276289
277//============================================================
278// keybled.c
279//============================================================
280
281void sdlled_init(void);
282
283
284290#endif
makefile.sdl
r3073r3074
530530
531531ifndef EXECUTABLE_DEFINED
532532
533$(VERSIONOBJ): $(DRVLIBS) $(LIBOSD) $(LIBEMU) $(LIBCPU) $(LIBSOUND) $(LIBUTIL) $(EXPAT) $(ZLIB) $(LIBOCORE) $(RESFILE)
534
535533$(EMULATOR): $(VERSIONOBJ) $(DRVLIBS) $(LIBOSD) $(LIBEMU) $(LIBCPU) $(LIBSOUND) $(LIBUTIL) $(EXPAT) $(ZLIB) $(LIBOCORE) $(RESFILE)
536534# always recompile the version string
537535   $(CC) $(CDEFS) $(CFLAGS) -c $(SRC)/version.c -o $(VERSIONOBJ)

Previous 15994 Revisions Next


© 1998-2018 The MESS Team