Annotation of pkgsrc/Makefile, Revision 1.86
1.86 ! wiz 1: # $NetBSD: Makefile,v 1.85 2009/05/16 07:21:05 rillig 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: PKGSRCTOP= yes
36:
1.22 hubertf 37: .include "mk/bsd.prefs.mk"
1.19 agc 38:
1.79 rillig 39: .if defined(SPECIFIC_PKGS)
1.19 agc 40: SUBDIR+= ${SITE_SPECIFIC_PKGS}
41: SUBDIR+= ${HOST_SPECIFIC_PKGS}
42: SUBDIR+= ${GROUP_SPECIFIC_PKGS}
43: SUBDIR+= ${USER_SPECIFIC_PKGS}
44: .else
1.83 wiz 45: # Packages in the x11 category tend to require a lot more parse time
1.82 joerg 46: # than the rest of the packages. Reorder it to the beginning to avoid
47: # stalling parallel scans near the end of a run.
48: SUBDIR+= x11
1.75 rillig 49: SUBDIR+= archivers
50: SUBDIR+= audio
51: SUBDIR+= benchmarks
52: SUBDIR+= biology
53: SUBDIR+= cad
54: SUBDIR+= chat
55: SUBDIR+= comms
56: SUBDIR+= converters
57: SUBDIR+= cross
58: SUBDIR+= databases
59: SUBDIR+= devel
60: SUBDIR+= editors
61: SUBDIR+= emulators
1.81 agc 62: SUBDIR+= filesystems
1.75 rillig 63: SUBDIR+= finance
64: SUBDIR+= fonts
65: SUBDIR+= games
66: SUBDIR+= geography
67: SUBDIR+= graphics
68: SUBDIR+= ham
69: SUBDIR+= inputmethod
70: SUBDIR+= lang
71: SUBDIR+= mail
72: SUBDIR+= math
73: SUBDIR+= mbone
74: SUBDIR+= meta-pkgs
75: SUBDIR+= misc
76: SUBDIR+= multimedia
77: SUBDIR+= net
78: SUBDIR+= news
79: SUBDIR+= parallel
80: SUBDIR+= pkgtools
81: SUBDIR+= print
1.76 rillig 82: #SUBDIR+= regress # regression tests must be started manually
1.75 rillig 83: SUBDIR+= security
84: SUBDIR+= shells
85: SUBDIR+= sysutils
86: SUBDIR+= textproc
87: SUBDIR+= time
88: SUBDIR+= wm
89: SUBDIR+= www
1.53 cjep 90: .endif
91:
92: SUBDIR+= ${USER_ADDITIONAL_PKGS}
1.64 wiz 93:
1.85 rillig 94: .include "mk/misc/toplevel.mk"
CVSweb <webmaster@jp.NetBSD.org>