| 1 | NAME = make |
|---|
| 2 | VERSION = 3.82 |
|---|
| 3 | CATEGORIES = devel |
|---|
| 4 | GARTYPE = v2 |
|---|
| 5 | |
|---|
| 6 | DESCRIPTION = Controls generation of executables and other compile-related tasks |
|---|
| 7 | define BLURB |
|---|
| 8 | GNU Make examines the timestamps on a set of interdependent files, and, if |
|---|
| 9 | necessary, issues commands to bring them up-to-date. The user creates a |
|---|
| 10 | makefile describing the files, their relationships, and the commands to run. |
|---|
| 11 | Most often make is used to rebuild libraries and programs when their sources |
|---|
| 12 | are changed, but it can be used for any situation where one set of files needs |
|---|
| 13 | to be generated from another set. |
|---|
| 14 | endef |
|---|
| 15 | |
|---|
| 16 | MASTER_SITES = $(GNU_MIRROR) |
|---|
| 17 | DISTFILES = $(NAME)-$(VERSION).tar.bz2 |
|---|
| 18 | |
|---|
| 19 | VENDOR_URL = http://www.gnu.org/software/make/ |
|---|
| 20 | |
|---|
| 21 | PACKAGES = CSWgmake |
|---|
| 22 | SPKG_DESC_CSWgmake = GNU Make controls generation of executables and other compile-related tasks |
|---|
| 23 | RUNTIME_DEP_PKGS_CSWgmake += CSWlibintl8 |
|---|
| 24 | |
|---|
| 25 | CONFIGURE_ARGS = $(DIRPATHS) |
|---|
| 26 | CONFIGURE_ARGS += --program-prefix=g |
|---|
| 27 | |
|---|
| 28 | # These are hardcoded fallback pathes for include (see read.c): |
|---|
| 29 | # "/usr/gnu/include", "/usr/local/include", "/usr/include" |
|---|
| 30 | CHECKPKG_OVERRIDES_CSWgmake += file-with-bad-content|/usr/local|root/opt/csw/bin/gmake |
|---|
| 31 | |
|---|
| 32 | # These are just examples |
|---|
| 33 | CHECKPKG_OVERRIDES_CSWgmake += file-with-bad-content|/usr/local|root/opt/csw/share/info/make.info-1 |
|---|
| 34 | CHECKPKG_OVERRIDES_CSWgmake += file-with-bad-content|/usr/local|root/opt/csw/share/info/make.info-2 |
|---|
| 35 | |
|---|
| 36 | include gar/category.mk |
|---|
| 37 | |
|---|
| 38 | post-install-modulated: |
|---|
| 39 | ginstall -d $(DESTDIR)$(prefix)/gnu |
|---|
| 40 | $(foreach G,$(notdir $(wildcard $(DESTDIR)$(bindir)/*)),ln -s ../bin/$G $(DESTDIR)$(prefix)/gnu/$(patsubst g%,%,$G);) |
|---|
| 41 | @$(MAKECOOKIE) |
|---|
| 42 | |
|---|