mariuz / flamerobin

FlameRobin is a database administration tool for Firebird RDBMS. Our goal is to build a tool that is: lightweight (small footprint, fast execution) cross-platform (Linux, Windows, Mac OS X, FreeBSD) dependent only on other Open Source software
http://flamerobin.org
MIT License
211 stars 64 forks source link

problem with "configure" and the generated Makefile #299

Open hhfiddelke opened 1 year ago

hhfiddelke commented 1 year ago

i got an issue to compile Flamerobin under OpenSuse 15.

I downloaded the last snapshot fro Flamrerobin (flamerobin-0.9.6) and tried to compile it under OpenSuse by running "configure" and then "make -f Makefile".

make stops the first time while missing FRStyle.cpp with the message: **make: * No rule to make target 'gui/FRStyle.cpp', needed by 'flamerobin_FRStyle.o'. Stop.

This is caused by an error in Makefile because 'flamerobin_FRStyle.o' depends on "$(srcdir)/${SOURCEDIR}/gui/FRStyle.cpp $(FLAMEROBIN_ODEP)"

flamerobin_FRStyle.o: $(srcdir)/${SOURCEDIR}/gui/FRStyle.cpp $(FLAMEROBIN_ODEP)
        $(CXXC) -c -o $@ $(FLAMEROBIN_CXXFLAGS) $(srcdir)/${SOURCEDIR}/gui/FRStyle.cpp

but ${SOURCEDIR} isn't defined anywhere,

I was able to follow this through Makefile.in to flamerobin.bkl. There files are sometimes referenced as ${SOURCEDIR} (curly brackets) and more often as $(SOURCEDIR) (round brackets). It seems that all files referenced by the curly brackets SOURCEDIR are not replaced during conversion to the Makefiles by 'src'.