src/osd/sdl/sdlmain.c
| r13300 | r13301 | |
| 24 | 24 | #endif |
| 25 | 25 | |
| 26 | 26 | // standard includes |
| 27 | | #ifdef MESS |
| 28 | | #include <unistd.h> |
| 29 | | #endif |
| 27 | |
| 30 | 28 | #ifdef SDLMAME_OS2 |
| 31 | 29 | #define INCL_DOS |
| 32 | 30 | #include <os2.h> |
| r13300 | r13301 | |
| 64 | 62 | #if defined(SDLMAME_WIN32) || defined(SDLMAME_MACOSX) || defined(SDLMAME_OS2) |
| 65 | 63 | #define INI_PATH ".;ini" |
| 66 | 64 | #else |
| 67 | | #ifdef MESS |
| 68 | | #define INI_PATH "$HOME/.mess;.;ini" |
| 69 | | #else |
| 70 | | #define INI_PATH "$HOME/.mame;.;ini" |
| 71 | | #endif // MESS |
| 65 | #define INI_PATH "$HOME/.APP_NAME;.;ini" |
| 72 | 66 | #endif // MACOSX |
| 73 | 67 | #endif // INI_PATH |
| 74 | 68 | |
| r13300 | r13301 | |
| 196 | 190 | { NULL, NULL, OPTION_HEADER, "SDL KEYBOARD MAPPING" }, |
| 197 | 191 | { SDLOPTION_KEYMAP, "0", OPTION_BOOLEAN, "enable keymap" }, |
| 198 | 192 | { SDLOPTION_KEYMAP_FILE, "keymap.dat", OPTION_STRING, "keymap filename" }, |
| 199 | | #ifdef MESS |
| 200 | 193 | #ifdef SDLMAME_MACOSX |
| 201 | | { SDLOPTION_UIMODEKEY, "DELETE", OPTION_STRING, "Key to toggle MESS keyboard mode" }, |
| 194 | { SDLOPTION_UIMODEKEY, "DELETE", OPTION_STRING, "Key to toggle keyboard mode" }, |
| 202 | 195 | #else |
| 203 | | { SDLOPTION_UIMODEKEY, "SCRLOCK", OPTION_STRING, "Key to toggle MESS keyboard mode" }, |
| 196 | { SDLOPTION_UIMODEKEY, "SCRLOCK", OPTION_STRING, "Key to toggle keyboard mode" }, |
| 204 | 197 | #endif // SDLMAME_MACOSX |
| 205 | | #endif // MESS |
| 206 | 198 | |
| 207 | 199 | // joystick mapping |
| 208 | 200 | { NULL, NULL, OPTION_HEADER, "SDL JOYSTICK MAPPING" }, |
| r13300 | r13301 | |
| 275 | 267 | |
| 276 | 268 | sdl_options::sdl_options() |
| 277 | 269 | { |
| 270 | astring ini_path(INI_PATH); |
| 278 | 271 | add_entries(s_option_entries); |
| 272 | ini_path.replace(0, "APP_NAME", emulator_info::get_appname_lower()); |
| 273 | set_default_value(SDLOPTION_INIPATH, ini_path.cstr()); |
| 279 | 274 | } |
| 280 | 275 | |
| 281 | 276 | |
src/mess/tools/tools.mak
| r13300 | r13301 | |
| 13 | 13 | # tools object directory |
| 14 | 14 | MESS_TOOLS = $(MESSOBJ)/tools |
| 15 | 15 | |
| 16 | | |
| 17 | | ifdef BUILD_IMGTOOL |
| 18 | 16 | include $(MESSSRC)/tools/imgtool/imgtool.mak |
| 19 | 17 | TOOLS += $(IMGTOOL) |
| 20 | | endif |
| 21 | 18 | |
| 22 | | ifdef BUILD_CASTOOL |
| 23 | 19 | include $(MESSSRC)/tools/castool/castool.mak |
| 24 | 20 | TOOLS += $(CASTOOL) |
| 25 | | endif |
| 26 | 21 | |
| 27 | 22 | include $(MESSSRC)/tools/floptool/floptool.mak |
| 28 | 23 | TOOLS += $(FLOPTOOL) |
| r13300 | r13301 | |
| 30 | 25 | # include OS-specific MESS stuff |
| 31 | 26 | # the following expression is true if OSD is windows or winui |
| 32 | 27 | ifeq ($(OSD),$(filter $(OSD),windows winui)) |
| 33 | | |
| 34 | | ifdef BUILD_WIMGTOOL |
| 35 | 28 | include $(MESSSRC)/tools/imgtool/windows/wimgtool.mak |
| 36 | 29 | TOOLS += $(WIMGTOOL) |
| 37 | | endif |
| 38 | 30 | endif |
| | No newline at end of file |
src/mess/mess.mak
| r13300 | r13301 | |
| 7 | 7 | ########################################################################### |
| 8 | 8 | |
| 9 | 9 | |
| 10 | | |
| 11 | | ########################################################################### |
| 12 | | ################# BEGIN USER-CONFIGURABLE OPTIONS ##################### |
| 13 | | ########################################################################### |
| 14 | | |
| 15 | | # uncomment next line to build imgtool |
| 16 | | BUILD_IMGTOOL = 1 |
| 17 | | |
| 18 | | # uncomment next line to build castool |
| 19 | | BUILD_CASTOOL = 1 |
| 20 | | |
| 21 | | # uncomment next line to build wimgtool |
| 22 | | BUILD_WIMGTOOL = 1 |
| 23 | | |
| 24 | | # uncomment next line to build messtest |
| 25 | | BUILD_MESSTEST = 1 |
| 26 | | |
| 27 | | # uncomment next line to build dat2html |
| 28 | | BUILD_DAT2HTML = 1 |
| 29 | | |
| 30 | | |
| 31 | | ########################################################################### |
| 32 | | ################## END USER-CONFIGURABLE OPTIONS ###################### |
| 33 | | ########################################################################### |
| 34 | | |
| 35 | | |
| 36 | | |
| 37 | 10 | # include MESS core defines |
| 38 | 11 | include $(SRC)/mess/messcore.mak |
| 39 | 12 | |
| r13300 | r13301 | |
| 421 | 394 | $(MESSOBJ)/zpa.a \ |
| 422 | 395 | $(MESSOBJ)/zvt.a \ |
| 423 | 396 | $(MESSOBJ)/shared.a \ |
| 424 | | |
| 425 | | ifeq ($(TARGET),mess) |
| 426 | | DRVLIBS += \ |
| 427 | 397 | $(MESSOBJ)/mame.a |
| 428 | | endif |
| 429 | 398 | |
| 430 | 399 | #------------------------------------------------- |
| 431 | 400 | # the following files are MAME components and |