Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Original build files #13

Closed
ZanderBrown opened this issue Apr 9, 2018 · 7 comments
Closed

Original build files #13

ZanderBrown opened this issue Apr 9, 2018 · 7 comments

Comments

@ZanderBrown
Copy link

On Wine 3.4 the status bar doesn't seem to be rendered
screenshot from 2018-04-09 15-27-35

Any chance we could have the original Makefiles as well as the VS solution?

I'm unable to build from a .sln and #9 will be challenging without Makefiles as well

@badsectoracula
Copy link

Shouldn't this be filed against Wine? After all it is supposed to be bug-for-bug compatible, this is an example where it isn't the case and the developers can check the source code of WinFile to see why. I think it is better to file this against the Wine developers so that they can make their implementation behave like Windows does than alter WinFile to make it work better with Wine.

@ZanderBrown
Copy link
Author

Sure, point still remains about Makefiles though

@craigwi
Copy link
Contributor

craigwi commented Apr 9, 2018

Regarding the makefiles, the project originally used a Microsoft internal build system. The primary file in the project used to describe building WinFile.exe was called 'sources'. That file contained the same information now in the vcxproj. The original 'sources' file is attached (renamed to .txt for upload).

sources.txt

@craigwi craigwi closed this as completed Apr 9, 2018
@sskras
Copy link

sskras commented Apr 9, 2018

It would be nice to have the issue renamed then:)

@ZanderBrown ZanderBrown changed the title Statusbar is missing on wine Original build files Apr 9, 2018
@ZanderBrown
Copy link
Author

Without knowing this internal build system it looks like Autotools style macros for generating a Makefile

Might get vc++ out and make them 'real'

@ghost
Copy link

ghost commented Apr 9, 2018

The internal build system is known as Razzle. Razzle uses a makefile.def Nmakefile in \public\oak\ which is included from the source level makefile (in this case .\makefile), that includes .\sources (which to clairify, sources is simply a Nmakefile with no targets, and sources is included from makefile.def), which then compiles/links source code from variables in .\sources into a executable using the rules inside of makefile.def.

You can actually see bits of razzle in the Windows DDKs (which, really are just razzle without developer profile and source control support, as well as not shipping with library and operating system source code), especially older ones like NT4-Srv03.

Nonethenless you should be able to use a DDK with a modified (or not if DDKs expose privapi) sources file and a makefile that includes makefile.def (protip, you can just use includemakefiles from the DDK samples since all they do is include makefile.def)

@ZanderBrown
Copy link
Author

Roughly what I thought was happening

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants