Annotation of projects/ogl-sample/main/GNUmakefile, Revision 1.1.1.1
1.1 ljp 1: #!gmake
2: #
3: # $Header: //depot/main/GNUmakefile#14 $
4:
5: # Allow interesting user-specific rules at top level
6: -include Makefile.local
7:
8: ALLTARGS = headers headers_install libs libs_install install apps \
9: clean clobber
10:
11: SUBDIRS = \
12: glx \
13: gfx \
14: $(NULL)
15:
16: OS = $(shell uname)
17: ifeq ($(subst 64,,$(OS)), IRIX)
18: SUBDIRS += doc
19: else
20: SUBDIRS += doc/man doc/release
21: endif
22:
23: default $(ALLTARGS): $(_FORCE)
24: @for d in $(SUBDIRS); do \
25: (cd $$d; ${MAKE} $${RULE:=$@}); \
26: done
27:
28: distsi: $(_FORCE)
29: @for d in $(SUBDIRS) tools; do \
30: (cd $$d; ${MAKE} $${RULE:=$@}); \
31: done
32:
33: -include Distfile.int
34:
35: distoss: $(_FORCE)
36: perl tools/gfxinstall/gfxinstall.pl \
37: $(INSTALLFLAGS_OSS) -F $(DIST)/$(DISTDIR_OSS) $(DISTFILES_OSS)
38: @for d in $(SUBDIRS) tools; do \
39: (cd $$d; ${MAKE} $${RULE:=$@}); \
40: done
41:
42: tools_install:
43: cd tools; ${MAKE} install
44:
45: World: tools_install headers_install libs_install default
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>