VOGONS

Common searches


First post, by MiniMax

User metadata
Rank Moderator
Rank
Moderator

Without this change, dosbox-0.70 can not be built outside the source directory.

--- dosbox-0.70/src/Makefile.am         Mon Mar 27 19:17:59 2006
+++ mingwPORT/src/Makefile.am Thu Mar 8 21:11:11 2007
@@ -14,5 +14,5 @@

EXTRA_DIST = dosbox.rc dosbox.ico
dosbox_ico.o: dosbox.rc dosbox.ico
- $(WINDRES) dosbox.rc dosbox_ico.o
+ $(WINDRES) --include-dir="$(srcdir)" "$(srcdir)/dosbox.rc" dosbox_ico.o

DOSBox 60 seconds guide | How to ask questions
_________________
Lenovo M58p | Core 2 Quad Q8400 @ 2.66 GHz | Radeon R7 240 | LG HL-DT-ST DVDRAM GH40N | Fedora 32

Reply 1 of 2, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

where is the include-dir needed for (just wondering).
When writing that line at the time. I was just happy to get the icon compiling, so it's likely I forgot to add support for different directories.
(and how do you buid dosbox like that ?)

Water flows down the stream
How to ask questions the smart way!

Reply 2 of 2, by MiniMax

User metadata
Rank Moderator
Rank
Moderator
Qbix wrote:

where is the include-dir needed for (just wondering).

Inside dosbox.rc there is a reference to just 'dosbox.ico'. Without the --include-dir, windres don't know where to look for the ico-file.

Qbix wrote:

(and how do you buid dosbox like that ?)

$ cd some/random/dir
$ $HOME/src/dosbox-0.70/configure

configure then creates the Makefile in that random dir:

-rw-r--r--    1 MiniMax Administ    16932 Mar  9 10:51 Makefile
-rw-r--r-- 1 MiniMax Administ 6800 Mar 9 10:51 config.h
-rw-r--r-- 1 MiniMax Administ 60058 Mar 9 10:51 config.log
-rwxr-xr-x 1 MiniMax Administ 39636 Mar 9 10:51 config.status
drwxr-xr-x 2 MiniMax Administ 0 Mar 9 10:51 docs
drwxr-xr-x 2 MiniMax Administ 0 Mar 9 10:51 include
drwxr-xr-x 14 MiniMax Administ 0 Mar 9 10:51 src
-rw-r--r-- 1 MiniMax Administ 23 Mar 9 10:51 stamp-h1
drwxr-xr-x 2 MiniMax Administ 0 Mar 9 10:51 visualc_net

and you can do a local make:

$ make

DOSBox 60 seconds guide | How to ask questions
_________________
Lenovo M58p | Core 2 Quad Q8400 @ 2.66 GHz | Radeon R7 240 | LG HL-DT-ST DVDRAM GH40N | Fedora 32