1 include ..
/..
/..
/make-rules
/shared-macros.mk
3 X11_GATE_DIR
=$(WS_TOP
)/components
/x11
4 X11_GATE_COOKIE
=.x11.installed
5 X11_GATE_INSTALL_ACTION
=!install
9 ifeq ($(FULL_BUILD
), 1)
16 @for d in
$(COMPONENTS
); \
18 if
[ "$$d"X
!= "$(X11_GATE_INSTALL_ACTION)X" ]; \
19 then cd
$(X11_GATE_DIR
)/$$d && gmake
clobber && rm -f
$(X11_GATE_COOKIE
) && cd
-; \
25 for d in
$(COMPONENTS
); \
27 if
test -d
$(X11_GATE_DIR
)/$$d; \
29 echo
"Entering: $$d"; \
30 if
test ! -f
$(X11_GATE_DIR
)/$$d/$(X11_GATE_COOKIE
); \
32 cd
$(X11_GATE_DIR
)/$$d && gmake
clobber \
33 && gmake env-prep
&& gmake publish \
34 && touch
$(X11_GATE_COOKIE
); \
35 if
test -f
$(X11_GATE_COOKIE
); \
36 then echo
"SUCCESS: $$d"; cd
-; \
37 else echo
"FAILURE: $$d"; exit
1; fi
; \
40 elif
[ "$$d"X
= "$(X11_GATE_INSTALL_ACTION)X" ]; \
44 echo
"$(X11_GATE_INSTALL_ACTION) $$i packages" && pfexec pkg update
--no-backup-be
; \
48 echo
"Error: $$d does not exist"; \
54 @cat
$(X11_GATE_DIR
)/*/Makefile| grep
'REQUIRED_PACKAGES +=' | gsort
--uniq | gsed
'/x11/d'