Re: [Vala] Why valac is always called even if conditional automake clause is false?

2016-01-16 Thread Daniel Espinosa
Well your conditionals seem to be Ok. You may try to put all code in same directory or keep in subdirs, using conditionals avoiding build them, as a libraries to specific platform if they are implementation of your interfaces, install per platform and use in your code, witch I think is using, not

Re: [Vala] Why valac is always called even if conditional automake clause is false?

2016-01-16 Thread mar...@saepia.net
Here are definitons of my conditionals: https://gist.github.com/mspanc/2e1432ff23f7dfb7bb20 These C files are not C files generated by vala, it's a different code. The whole thing is that I want to avoid having them in the same file and using conditionals because that makes code really big & unre

Re: [Vala] Why valac is always called even if conditional automake clause is false?

2016-01-16 Thread Daniel Espinosa
May be if you post your configure.ac conditionals could help. General comments: * you are including some subdir sources, I not sure, but may you should rename your source files to include them in same directory. * you include some C files that will be generated by Vala, may you need to avoid th

[Vala] Why valac is always called even if conditional automake clause is false?

2016-01-15 Thread mar...@saepia.net
Hello, I have the following makefile that is responsible for conditional compilation of one subdir of my project depending on the platform used: https://gist.github.com/mspanc/5b31758b966fa6eab959 I am using automake's AM_CONDITIONAL to pass information about operating system to further scripts.