File: Makefile.targets

package info (click to toggle)
kamailio 4.2.0-2+deb8u3
  • links: PTS, VCS
  • area: main
  • in suites: jessie
  • size: 56,276 kB
  • sloc: ansic: 552,836; xml: 166,484; sh: 8,659; makefile: 7,676; sql: 6,235; perl: 3,487; yacc: 3,428; python: 1,457; cpp: 1,219; php: 1,047; java: 449; pascal: 194; cs: 40; awk: 27
file content (47 lines) | stat: -rw-r--r-- 1,849 bytes parent folder | download | duplicates (2)
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

#
# $Id$
#
#
# Makefile targets that should be treated specially, 
# e.g.:  non obj/executable affecting targets => don't build dependencies for
#  them or don't try any action that would be useful only for generating
#  actual code
#
# History:
# --------
#  2008-06-26  initial version (andrei) 
#

ifeq (,$(strip $(modules_dirs)))
include $(COREPATH)/Makefile.dirs
endif

clean_targets:=	clean proper distclean realclean maintainer-clean local-clean \
				clean-all proper-all distclean-all realclean-all \
				clean_cfg clean-cfg clean_modules_cfg clean-modules-cfg \
				clean-modules proper-modules realclean-modules \
				distclean-modules maintainer-clean-modules \
				clean-utils proper-utils realclean-utils distclean-utils \
				maintaner-clean-utils \
				clean-libs proper-libs realclean-libs distclean-libs \
				maintainer-clean-libs \
				clean-tmp clean_doxygen clean-extra-names
doc_targets:=	README man install-doc install-man install-ser-man \
		install-every-module-doc install-every-module-man \
		$(foreach m,$(modules_dirs),$(m)-doc $(m)-readme $(m)-man) \
		$(foreach m,$(modules_dirs),install-$(m)-doc install-$(m)-man)

# auxiliary: maintance, debugging, etc. (don't affect code/objects)
aux_targets:=	TAGS tar dist cfg-defs cfg config config.mak print-modules \
		dbg dbinstall librpath.lst makecfg.lst modules.lst modules-cfg \
		modules-list modules-lst mk-install_dirs autover.h deb
# other targets that don't produce code in the current directory ("external")
ext_targets:=	every-module modules-all $(modules_dirs) libs utils \
		install-cfg install-utils  install-modules-all install-every-module\
		$(foreach m,$(modules_dirs),install-$(m)) \
		install-share

# all the targets that don't require code dependecies in the current dir.
nodep_targets:=	$(clean_targets) $(doc_targets) $(aux_targets) $(ext_targets)