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

Replace Imakefiles by Makefiles #19

Merged
merged 2 commits into from
Jun 6, 2020
Merged

Conversation

olebole
Copy link
Member

@olebole olebole commented Jun 5, 2020

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:

  • obm/libobm.a
  • xgterm/xgterm
  • ximtool/ximtool
  • ximtool/clients/ism_wcspix.e
  • xtapemon/xtapemon
  • obmsh/obmsh

@olebole olebole merged commit f92d196 into iraf-community:master Jun 6, 2020
@olebole olebole deleted the Makefiles branch June 7, 2020 09:15
@olebole olebole mentioned this pull request Jun 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant