Changeset - r2503:eebe5d422da5
[Not reviewed]
master
1 1 0
bjarni - 19 years ago 2005-10-10 15:22:47
bjarni@openttd.org
(svn r3029) -Change: [OSX] removed the buggy java midi player, which was rendered obsolite by r3022
2 files changed with 1 insertions and 61 deletions:
0 comments (0 inline, 0 general)
Makefile
Show inline comments
 
@@ -473,53 +473,50 @@ endif
 
else
 
LIBS += $(shell $(LIBPNG-CONFIG)  --L_opts $(PNGCONFIG_FLAGS))
 
endif
 
endif
 

	
 
# enables/disables assert()
 
ifdef DISABLE_ASSERTS
 
CFLAGS += -DNDEBUG
 
endif
 

	
 
# automatically disables asserts for release
 
ifdef RELEASE
 
ifndef ENABLE_ASSERTS
 
CFLAGS += -DNDEBUG
 
endif
 
endif
 

	
 
ifdef TRANSLATOR
 
STRGEN_FLAGS=-t
 
else
 
STRGEN_FLAGS=
 
endif
 

	
 

	
 
# MIDI setup
 
# OSX path setup
 
ifdef OSX
 
ifndef MIDI
 
MIDI:=$(OSXAPP)/Contents/MacOS/track_starter
 
endif
 
ifndef SECOND_DATA_PATH
 
SECOND_DATA_PATH:="$(OSXAPP)/Contents/Data/"
 
endif
 
ifndef CUSTOM_LANG_DIR
 
ifndef DEDICATED
 
CUSTOM_LANG_DIR:="$(OSXAPP)/Contents/Lang/"
 
endif
 
endif
 
endif
 

	
 
ifdef MIDI
 
CDEFS += -DEXTERNAL_PLAYER=\"$(MIDI)\"
 
ifdef MIDI_ARG
 
CDEFS += -DMIDI_ARG=\"$(MIDI_ARG)\"
 
endif
 
endif
 

	
 
ifdef WITH_NETWORK
 
CDEFS += -DENABLE_NETWORK
 
ifdef QNX
 
LIBS += -lsocket
 
endif
 
endif
 

	
 
@@ -783,50 +780,48 @@ endian_host.h: $(ENDIAN_CHECK)
 

	
 
endian_target.h: $(ENDIAN_CHECK)
 
	@echo '===> Testing endianness for target'
 
	$(Q)./$(ENDIAN_CHECK) $(ENDIAN_FORCE) > $@
 

	
 
$(ENDIAN_CHECK): endian_check.c
 
	@echo '===> Compiling and Linking $@'
 
	$(Q)$(CC_HOST) $(CFLAGS_HOST) $(CDEFS) $< -o $@
 

	
 

	
 
$(TTD): $(OBJS) $(MAKE_CONFIG)
 
	@echo '===> Linking $@'
 
	$(Q)$(CC) $(LDFLAGS) $(TTDLDFLAGS) $(OBJS) $(LIBS) -o $@
 

	
 
$(OSX): $(TTD)
 
	$(Q)rm -fr "$(OSXAPP)"
 
	$(Q)mkdir -p "$(OSXAPP)"/Contents/MacOS
 
	$(Q)mkdir -p "$(OSXAPP)"/Contents/Resources
 
	$(Q)mkdir -p "$(OSXAPP)"/Contents/Data
 
	$(Q)mkdir -p "$(OSXAPP)"/Contents/Lang
 
	$(Q)echo "APPL????" > "$(OSXAPP)"/Contents/PkgInfo
 
	$(Q)cp os/macosx/openttd.icns "$(OSXAPP)"/Contents/Resources/openttd.icns
 
	$(Q)os/macosx/plistgen.sh "$(OSXAPP)" "$(REV)"
 
	$(Q)cp os/macosx/track_starter "$(OSXAPP)"/Contents/MacOS
 
	$(Q)ls os/macosx | grep -q "\.class" || \
 
	       javac os/macosx/OpenTTDMidi.java
 
	$(Q)cp os/macosx/OpenTTDMidi.class "$(OSXAPP)"/Contents/MacOS
 
	$(Q)cp data/* "$(OSXAPP)"/Contents/Data/
 
	$(Q)cp lang/*.lng "$(OSXAPP)"/Contents/Lang/
 
	$(Q)cp $(TTD) "$(OSXAPP)"/Contents/MacOS/$(TTD)
 

	
 
$(endwarnings): $(64_bit_warnings)
 

	
 
$(64_bit_warnings):
 
	$(warning 64 bit CPUs will get some 64 bit specific bugs!)
 
	$(warning If you see any bugs, include in your bug report that you use a 64 bit CPU)
 

	
 
$(STRGEN): strgen/strgen.c endian_host.h
 
	@echo '===> Compiling and Linking $@'
 
	$(Q)$(CC_HOST) $(CFLAGS_HOST) $(CDEFS) $< -o $@
 

	
 
table/strings.h: lang/english.txt $(STRGEN)
 
	@echo '===> Generating $@'
 
	$(Q)$(STRGEN)
 

	
 
lang/%.lng: lang/%.txt $(STRGEN) lang/english.txt
 
	@echo '===> Compiling language $(*F)'
 
	$(Q)$(STRGEN) $(STRGEN_FLAGS) $< $(LANG_ERRORS) || rm -f $@
 

	
 
winres.o: openttd.rc
os/macosx/OpenTTDMidi.java
Show inline comments
 
deleted file
0 comments (0 inline, 0 general)