Annotation of pkgsrc/Makefile, Revision 1.85
1.85 ! rillig 1: # $NetBSD: Makefile,v 1.84 2008/06/23 20:34:20 kristerw Exp $
1.79 rillig 2: #
3: # This is the top-level Makefile of pkgsrc. It contains a list of the
4: # categories of packages, as well as some targets that operate on the
5: # whole pkgsrc system.
6: #
7: # User-settable variables:
8: #
9: # SPECIFIC_PKGS
10: # (See mk/defaults/mk.conf)
11: #
12: # SITE_SPECIFIC_PKGS
13: # HOST_SPECIFIC_PKGS
14: # GROUP_SPECIFIC_PKGS
15: # USER_SPECIFIC_PKGS
16: # The specific packages that are to be built.
17: #
18: # XXX: Why are there four distinct variables? The same could be
19: # achieved using just SPECIFIC_PKGS as the list of packages and
20: # leaving the remaining details to the user.
21: #
22: # See also:
23: # mk/misc/toplevel.mk
1.1 agc 24: #
25:
1.80 rillig 26: # Note: The tools definitions must come before bsd.prefs.mk is included.
27:
28: # tools used by this Makefile
29: USE_TOOLS+= [ awk cat cmp echo env expr false fgrep grep mv rm sed \
30: sort wc
31:
32: # additional tools used by bsd.pkg.subdir.mk
33: USE_TOOLS+= basename touch
34:
35: # additional tools used by bsd.bulk-pkg.mk
36: USE_TOOLS+= egrep find ls sh tee true tsort
37:
38: PKGSRCTOP= yes
39:
1.22 hubertf 40: .include "mk/bsd.prefs.mk"
1.19 agc 41:
1.79 rillig 42: .if defined(SPECIFIC_PKGS)
1.19 agc 43: SUBDIR+= ${SITE_SPECIFIC_PKGS}
44: SUBDIR+= ${HOST_SPECIFIC_PKGS}
45: SUBDIR+= ${GROUP_SPECIFIC_PKGS}
46: SUBDIR+= ${USER_SPECIFIC_PKGS}
47: .else
1.83 wiz 48: # Packages in the x11 category tend to require a lot more parse time
1.82 joerg 49: # than the rest of the packages. Reorder it to the beginning to avoid
50: # stalling parallel scans near the end of a run.
51: SUBDIR+= x11
1.75 rillig 52: SUBDIR+= archivers
53: SUBDIR+= audio
54: SUBDIR+= benchmarks
55: SUBDIR+= biology
56: SUBDIR+= cad
57: SUBDIR+= chat
58: SUBDIR+= comms
59: SUBDIR+= converters
60: SUBDIR+= cross
61: SUBDIR+= databases
62: SUBDIR+= devel
63: SUBDIR+= editors
64: SUBDIR+= emulators
1.81 agc 65: SUBDIR+= filesystems
1.75 rillig 66: SUBDIR+= finance
67: SUBDIR+= fonts
68: SUBDIR+= games
69: SUBDIR+= geography
70: SUBDIR+= graphics
71: SUBDIR+= ham
72: SUBDIR+= inputmethod
73: SUBDIR+= lang
74: SUBDIR+= mail
75: SUBDIR+= math
76: SUBDIR+= mbone
77: SUBDIR+= meta-pkgs
78: SUBDIR+= misc
79: SUBDIR+= multimedia
80: SUBDIR+= net
81: SUBDIR+= news
82: SUBDIR+= parallel
83: SUBDIR+= pkgtools
84: SUBDIR+= print
1.76 rillig 85: #SUBDIR+= regress # regression tests must be started manually
1.75 rillig 86: SUBDIR+= security
87: SUBDIR+= shells
88: SUBDIR+= sysutils
89: SUBDIR+= textproc
90: SUBDIR+= time
91: SUBDIR+= wm
92: SUBDIR+= www
1.53 cjep 93: .endif
94:
95: SUBDIR+= ${USER_ADDITIONAL_PKGS}
1.64 wiz 96:
1.85 ! rillig 97: .include "mk/misc/toplevel.mk"
CVSweb <webmaster@jp.NetBSD.org>