Imake was a build system introduced for the X11 window system and traditionally used there to build both servers and client applications. However, since 2004 (!), it is deprecated, replaced by autotools in X.org and basically abandoned. While it is still delivered with some Linux distributions, MacOS (XQuartz) does not include it since 2009.
To keep x11iraf compilable in the future, this PR replaces Imake by plain Makefiles. The build structure here is not that difficult, and can easily extended to MacOS and other systems.
This patch also allows a simple customization of the build (by packagers, or for debugging) by setting CFLAGS and LDFLAGS in advance, simplifying future maintenance.
Note that there is no install target, the resulting binaries are kept in their original place:
Imake was a build system introduced for the X11 window system and traditionally used there to build both servers and client applications. However, since 2004 (!), it is deprecated, replaced by autotools in X.org and basically abandoned. While it is still delivered with some Linux distributions, MacOS (XQuartz) does not include it since 2009.
To keep x11iraf compilable in the future, this PR replaces Imake by plain Makefiles. The build structure here is not that difficult, and can easily extended to MacOS and other systems.
This patch also allows a simple customization of the build (by packagers, or for debugging) by setting
CFLAGS
andLDFLAGS
in advance, simplifying future maintenance.Note that there is no
install
target, the resulting binaries are kept in their original place:obm/libobm.a
xgterm/xgterm
ximtool/ximtool
ximtool/clients/ism_wcspix.e
xtapemon/xtapemon
obmsh/obmsh