I'm working on a relatively big project that is using automake build system.
Now the problem is that I need to link the project with a library from another project (this works fine), but I also need to include a header from the other project source tree (api.h
).
INCLUDES = -I@REMOTE_PROJECT_DIR@
in Makefile.am doesn't work, because there are .h files with coliding names in the remote source directory. How can I add just the api.h
?
I used a symlink into the include directory in the project, but now I need to push the sources into a public repo and everyone working with it has the other project in a different directory, so I need to use the configure param.