/usr/lib/grass70/include/Make/Module.make is in grass-dev 7.0.3-1build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | # common dependencies and rules for building module
PACKAGE = "grassmods"
HTMLSRC = $(BIN)/$(PGM)$(EXE)
include $(MODULE_TOPDIR)/include/Make/Vars.make
include $(MODULE_TOPDIR)/include/Make/Rules.make
include $(MODULE_TOPDIR)/include/Make/Html.make
include $(MODULE_TOPDIR)/include/Make/Compile.make
cmd: $(BIN)/$(PGM)$(EXE) html
$(BIN)/$(PGM)$(EXE): $(ARCH_OBJS) $(DEPENDENCIES)
$(call linker)
install:
$(INSTALL) $(ARCH_DISTDIR)/bin/$(PGM)$(EXE) $(INST_DIR)/bin/
$(INSTALL_DATA) $(HTMLDIR)/$(PGM).html $(INST_DIR)/docs/html/
$(eval IMG := $(wildcard $(HTMLDIR)/*.png) $(wildcard $(HTMLDIR)/*.jpg))
if [ -n "$(IMG)" ] ; then \
$(INSTALL_DATA) $(IMG) $(INST_DIR)/docs/html/ ; \
fi
$(INSTALL_DATA) $(ARCH_DISTDIR)/docs/man/man1/$(PGM).1 $(INST_DIR)/docs/man/man1/
if [ -d "$(ETC)/$(PGM)" ] ; then \
cp -rL $(ETC)/$(PGM) $(INST_DIR)/etc/ ; \
fi
.PHONY: cmd
|