equal
deleted
inserted
replaced
105 # VERBOSE: show full compiler invocations instead of brief progress messages |
105 # VERBOSE: show full compiler invocations instead of brief progress messages |
106 # |
106 # |
107 # Special for crosscompiling there are some commands available: |
107 # Special for crosscompiling there are some commands available: |
108 # |
108 # |
109 # FAT_BINARY: builds a universal binary for OSX. Make sure you got both PPC and x86 libs |
109 # FAT_BINARY: builds a universal binary for OSX. Make sure you got both PPC and x86 libs |
110 # JAGUAR: Make the binary suited for MacOS X 10.2 (codenamed jaguar). It will not include network support |
|
111 # |
110 # |
112 # ENDIAN_FORCE: forces the endian-check to give a certain result. Can be BE, LE or PREPROCESSOR. |
111 # ENDIAN_FORCE: forces the endian-check to give a certain result. Can be BE, LE or PREPROCESSOR. |
113 # PREPROCESSOR is always used on all OSX targets and will make the preprocessor pick the right endian. |
112 # PREPROCESSOR is always used on all OSX targets and will make the preprocessor pick the right endian. |
114 # this means that you don't have to think about endianess when compiling for OSX. |
113 # this means that you don't have to think about endianess when compiling for OSX. |
115 # Very useful for universal binaries and crosscompilers. Not sure if it works on non OSX targets |
114 # Very useful for universal binaries and crosscompilers. Not sure if it works on non OSX targets |
512 ifdef UNIVERSAL_x86_PART |
511 ifdef UNIVERSAL_x86_PART |
513 ifdef WITH_SDL |
512 ifdef WITH_SDL |
514 # ensure that changing libpathnames will not overwrite anything in the binary |
513 # ensure that changing libpathnames will not overwrite anything in the binary |
515 LDFLAGS += -headerpad_max_install_names |
514 LDFLAGS += -headerpad_max_install_names |
516 endif |
515 endif |
517 endif |
|
518 ifdef JAGUAR |
|
519 # ensure that changing libpathnames will not overwrite anything in the binary |
|
520 LDFLAGS += -headerpad_max_install_names |
|
521 CFLAGS += -DJAGUAR_CROSSCOMPILE |
|
522 endif |
516 endif |
523 |
517 |
524 ifndef DEDICATED |
518 ifndef DEDICATED |
525 LIBS += -framework QuickTime |
519 LIBS += -framework QuickTime |
526 endif |
520 endif |
752 C_SOURCES += unix.c |
746 C_SOURCES += unix.c |
753 C_SOURCES += music/extmidi.c |
747 C_SOURCES += music/extmidi.c |
754 endif |
748 endif |
755 |
749 |
756 ifdef OSX |
750 ifdef OSX |
757 ifndef JAGUAR |
|
758 OBJC_SOURCES += os/macosx/macos.m |
751 OBJC_SOURCES += os/macosx/macos.m |
759 endif |
|
760 ifndef DEDICATED |
752 ifndef DEDICATED |
761 C_SOURCES += music/qtmidi.c |
753 C_SOURCES += music/qtmidi.c |
762 endif |
754 endif |
763 endif |
755 endif |
764 |
756 |