| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Makefile.inc,v 1.54 2011/08/23 10:26:07 christos Exp $ | | 1 | # $NetBSD: Makefile.inc,v 1.55 2011/08/25 16:47:16 christos Exp $ |
2 | # | | 2 | # |
3 | # Makefile for sysinst | | 3 | # Makefile for sysinst |
4 | | | 4 | |
5 | .if empty(DBG:M-g) | | 5 | .if empty(DBG:M-g) |
6 | COPTS += -Os | | 6 | COPTS += -Os |
7 | .endif | | 7 | .endif |
8 | | | 8 | |
9 | PROG= sysinst | | 9 | PROG= sysinst |
10 | NOMAN= # defined | | 10 | NOMAN= # defined |
11 | | | 11 | |
12 | WARNS= 4 | | 12 | WARNS= 4 |
13 | | | 13 | |
14 | SRCS+= menu_defs.c msg_defs.c main.c install.c upgrade.c \ | | 14 | SRCS+= menu_defs.c msg_defs.c main.c install.c upgrade.c \ |
| @@ -46,26 +46,27 @@ CPPFLAGS+= -I. -I${.CURDIR}/../.. -I${.C | | | @@ -46,26 +46,27 @@ CPPFLAGS+= -I. -I${.CURDIR}/../.. -I${.C |
46 | CPPFLAGS+=-DINET6 | | 46 | CPPFLAGS+=-DINET6 |
47 | .endif | | 47 | .endif |
48 | | | 48 | |
49 | .if defined(HAVE_GCC) || defined(HAVE_PCC) | | 49 | .if defined(HAVE_GCC) || defined(HAVE_PCC) |
50 | COPTS.label.c+= -Wno-pointer-sign | | 50 | COPTS.label.c+= -Wno-pointer-sign |
51 | .endif | | 51 | .endif |
52 | COPTS.main.c += -Wno-format-nonliteral | | 52 | COPTS.main.c += -Wno-format-nonliteral |
53 | COPTS.disks.c += -Wno-format-nonliteral | | 53 | COPTS.disks.c += -Wno-format-nonliteral |
54 | COPTS.util.c += -Wno-format-nonliteral | | 54 | COPTS.util.c += -Wno-format-nonliteral |
55 | COPTS.label.c += -Wno-format-nonliteral | | 55 | COPTS.label.c += -Wno-format-nonliteral |
56 | COPTS.target.c += -Wno-format-nonliteral | | 56 | COPTS.target.c += -Wno-format-nonliteral |
57 | COPTS.mbr.c += -Wno-format-nonliteral | | 57 | COPTS.mbr.c += -Wno-format-nonliteral |
58 | COPTS.bsddisklabel.c += -Wno-format-nonliteral | | 58 | COPTS.bsddisklabel.c += -Wno-format-nonliteral |
| | | 59 | COPTS.md.c += -Wno-format-nonliteral |
59 | | | 60 | |
60 | # Host to ftp from. Default: | | 61 | # Host to ftp from. Default: |
61 | # "ftp.NetBSD.org" | | 62 | # "ftp.NetBSD.org" |
62 | # | | 63 | # |
63 | .if defined(SYSINST_FTP_HOST) | | 64 | .if defined(SYSINST_FTP_HOST) |
64 | CPPFLAGS+= -DSYSINST_FTP_HOST=\"${SYSINST_FTP_HOST}\" | | 65 | CPPFLAGS+= -DSYSINST_FTP_HOST=\"${SYSINST_FTP_HOST}\" |
65 | .endif | | 66 | .endif |
66 | | | 67 | |
67 | # Top-level ftp directory. Default: | | 68 | # Top-level ftp directory. Default: |
68 | # "pub/NetBSD/NetBSD-" + VER + "/" + MACH | | 69 | # "pub/NetBSD/NetBSD-" + VER + "/" + MACH |
69 | # | | 70 | # |
70 | .if defined(SYSINST_FTP_DIR) | | 71 | .if defined(SYSINST_FTP_DIR) |
71 | CPPFLAGS+= -DSYSINST_FTP_DIR=\"${SYSINST_FTP_DIR}\" | | 72 | CPPFLAGS+= -DSYSINST_FTP_DIR=\"${SYSINST_FTP_DIR}\" |