mirror of https://github.com/OpenTTD/OpenTTD
(svn r25780) -Change: [DOS] Put cwsdpmi and exe2coff files in subdirectories.
- Since these are different components, distributed under a different license, mixing them in the same directory is confusing.release/1.4
parent
0e7bfdfbd4
commit
e25844cdf2
|
@ -90,9 +90,9 @@ endif
|
||||||
ifeq ($(TTD), openttd.exe)
|
ifeq ($(TTD), openttd.exe)
|
||||||
$(Q)unix2dos "$(BUNDLE_DIR)/docs/"* "$(BUNDLE_DIR)/readme.txt" "$(BUNDLE_DIR)/COPYING" "$(BUNDLE_DIR)/changelog.txt" "$(BUNDLE_DIR)/known-bugs.txt"
|
$(Q)unix2dos "$(BUNDLE_DIR)/docs/"* "$(BUNDLE_DIR)/readme.txt" "$(BUNDLE_DIR)/COPYING" "$(BUNDLE_DIR)/changelog.txt" "$(BUNDLE_DIR)/known-bugs.txt"
|
||||||
ifeq ($(OS), DOS)
|
ifeq ($(OS), DOS)
|
||||||
$(Q)cp "$(ROOT_DIR)/os/dos/cwsdpmi.txt" "$(BUNDLE_DIR)/docs/"
|
$(Q)cp "$(ROOT_DIR)/os/dos/cwsdpmi/cwsdpmi.txt" "$(BUNDLE_DIR)/docs/"
|
||||||
ifndef STRIP
|
ifndef STRIP
|
||||||
$(Q)cp "$(ROOT_DIR)/os/dos/cwsdpmi.exe" "$(TTD_DIR)/"
|
$(Q)cp "$(ROOT_DIR)/os/dos/cwsdpmi/cwsdpmi.exe" "$(TTD_DIR)/"
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
|
@ -3,9 +3,9 @@
|
||||||
# $Id$
|
# $Id$
|
||||||
|
|
||||||
cd `dirname $0`
|
cd `dirname $0`
|
||||||
cc -o exe2coff exe2coff.c || exit
|
cc -o exe2coff/exe2coff exe2coff/exe2coff.c || exit
|
||||||
cp $1 binary.exe || exit
|
cp $1 binary.exe || exit
|
||||||
./exe2coff binary.exe || exit
|
./exe2coff/exe2coff binary.exe || exit
|
||||||
cat cwsdstub.exe binary > binary.exe || exit
|
cat cwsdpmi/cwsdstub.exe binary > binary.exe || exit
|
||||||
mv binary.exe $1
|
mv binary.exe $1
|
||||||
rm binary exe2coff
|
rm binary exe2coff/exe2coff
|
||||||
|
|
|
@ -476,9 +476,9 @@ DOS:
|
||||||
website. Compilation is straight forward: use make, but do a './configure'
|
website. Compilation is straight forward: use make, but do a './configure'
|
||||||
before the first build. The build binary will need cwsdpmi.exe to be in
|
before the first build. The build binary will need cwsdpmi.exe to be in
|
||||||
the same directory as the openttd executable. cwsdpmi.exe can be found in
|
the same directory as the openttd executable. cwsdpmi.exe can be found in
|
||||||
the os/dos subdirectory. If you compile with stripping turned on a binary
|
the os/dos/cwsdpmi subdirectory. If you compile with stripping turned on a
|
||||||
will be generated that does not need cwsdpmi.exe by adding the cswdstub.exe
|
binary will be generated that does not need cwsdpmi.exe by adding the
|
||||||
to the created OpenTTD binary.
|
cswdstub.exe to the created OpenTTD binary.
|
||||||
|
|
||||||
7.1) Required/optional libraries
|
7.1) Required/optional libraries
|
||||||
---- ---------------------------
|
---- ---------------------------
|
||||||
|
|
Loading…
Reference in New Issue