File: RULES_COMMON

package info (click to toggle)
epics-base 7.0.8.1%2Bdfsg1-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 22,512 kB
  • sloc: cpp: 130,870; ansic: 115,274; perl: 10,647; makefile: 3,476; yacc: 1,307; python: 594; lex: 236; sh: 108; csh: 36
file content (48 lines) | stat: -rw-r--r-- 1,213 bytes parent folder | download
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#*************************************************************************
# Copyright (c) 2018 UChicago Argonne LLC, as Operator of Argonne
#     National Laboratory.
# EPICS BASE is distributed subject to a Software License Agreement found
# in the file LICENSE that is included with this distribution.
#*************************************************************************

# These rules show the set of Makefiles, config files and
# rules files loaded by GNUmake.

show-makefiles::
	@echo
	@echo Makefiles read:
define SHOW_MAKEFILE_template
show-makefiles::
	@echo "    $(1)"
endef
$(foreach file,$(MAKEFILE_LIST), \
    $(eval $(call SHOW_MAKEFILE_template,$(file))))

.PHONY: show-makefiles


# These rules support printing a Makefile variable values.
# Many variables are only set inside an O.<arch> build directory.
#   make PRINT.T_A

PRINT_Var = $(@:PRINT.%=%)
PRINT.%:
	@+echo $(PRINT_Var) = '$($(PRINT_Var))'

.PHONY: PRINT PRINT.%


# Clean rules for recursively deleting editor backup files
# and dependency (.d) files from CWD and below.

cvsclean:
	$(PERL) $(CVSCLEAN)
depclean:
	$(PERL) $(DEPCLEAN)

.PHONY: cvsclean depclean


#  User specific rules
#
-include $(HOME)/configure/RULES_USER