32
33 # Bootstrap problem -- we have to build cw before we can use it
34 i386_CC= $(SPRO_VROOT)/bin/cc
35 sparc_CC= $(SPRO_VROOT)/bin/cc
36 $(__GNUC)i386_CC= $(GNUC_ROOT)/bin/gcc
37 $(__GNUC)sparc_CC= $(GNUC_ROOT)/bin/gcc
38
39 CFLAGS += $(CCVERBOSE)
40
41 # Override CFLAGS. This is needed only for bootstrap of cw.
42 $(__GNUC)CFLAGS= -O -D__sun -Wall -Wno-unknown-pragmas -Werror \
43 -std=gnu99 -nodefaultlibs
44 $(__SUNC)CFLAGS= -xspace -Xa -xildoff -errtags=yes -errwarn=%all \
45 -xc99=%all -W0,-xglobalstatic -v
46
47
48 $(__GNUC)LDLIBS += -lc
49 $(__GNUC)LDFLAGS= $(MAPFILE.NES:%=-Wl,-M%)
50
51 $(ROOTONBLDMAN1ONBLDFILES) := FILEMODE= 644
52
53 # Assume we don't have the install.bin available yet
54 INS.file= $(RM) $@; $(CP) $< $(@D); $(CHMOD) $(FILEMODE) $@
55
56 .KEEP_STATE:
57
58 all: $(PROG) $(MAN1ONBLDFILES)
59
60 install: all .WAIT $(ROOTONBLDMACHPROG) $(ROOTONBLDMAN1ONBLDFILES)
61
62 lint: lint_PROG
63
64 clean:
65
66 #
67 # Not run by default: bootstrap...
68 check:
69 $(ROOTONBLDBINMACH)/mandoc -Tlint -Wwarning $(MAN1ONBLDFILES)
70
71 include ../Makefile.targ
|
32
33 # Bootstrap problem -- we have to build cw before we can use it
34 i386_CC= $(SPRO_VROOT)/bin/cc
35 sparc_CC= $(SPRO_VROOT)/bin/cc
36 $(__GNUC)i386_CC= $(GNUC_ROOT)/bin/gcc
37 $(__GNUC)sparc_CC= $(GNUC_ROOT)/bin/gcc
38
39 CFLAGS += $(CCVERBOSE)
40
41 # Override CFLAGS. This is needed only for bootstrap of cw.
42 $(__GNUC)CFLAGS= -O -D__sun -Wall -Wno-unknown-pragmas -Werror \
43 -std=gnu99 -nodefaultlibs
44 $(__SUNC)CFLAGS= -xspace -Xa -xildoff -errtags=yes -errwarn=%all \
45 -xc99=%all -W0,-xglobalstatic -v
46
47
48 $(__GNUC)LDLIBS += -lc
49 $(__GNUC)LDFLAGS= $(MAPFILE.NES:%=-Wl,-M%)
50
51 $(ROOTONBLDMAN1ONBLDFILES) := FILEMODE= 644
52 CSTD= $(CSTD_GNU99)
53
54 # Assume we don't have the install.bin available yet
55 INS.file= $(RM) $@; $(CP) $< $(@D); $(CHMOD) $(FILEMODE) $@
56
57 .KEEP_STATE:
58
59 all: $(PROG) $(MAN1ONBLDFILES)
60
61 install: all .WAIT $(ROOTONBLDMACHPROG) $(ROOTONBLDMAN1ONBLDFILES)
62
63 lint: lint_PROG
64
65 clean:
66
67 #
68 # Not run by default: bootstrap...
69 check:
70 $(ROOTONBLDBINMACH)/mandoc -Tlint -Wwarning $(MAN1ONBLDFILES)
71
72 include ../Makefile.targ
|