|
Lines 1-31
Link Here
|
| 1 |
--- Makefile.orig Mon Feb 28 21:43:00 2005 |
1 |
--- Makefile.orig Wed Jun 15 22:22:35 2005 |
| 2 |
+++ Makefile Sun Mar 20 22:16:32 2005 |
2 |
+++ Makefile Thu Nov 3 07:05:13 2005 |
| 3 |
@@ -8,9 +8,9 @@ |
3 |
@@ -8,9 +8,8 @@ |
| 4 |
# Licensed under the GNU Public License. |
4 |
# Licensed under the GNU Public License. |
| 5 |
# |
5 |
# |
| 6 |
|
6 |
|
| 7 |
-CC = gcc |
7 |
-CC = gcc |
| 8 |
-CFLAGS = -W -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual \ |
8 |
-CFLAGS = -W -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual \ |
| 9 |
- -Wcast-align -Wwrite-strings -Wmissing-prototypes |
9 |
- -Wcast-align -Wwrite-strings -Wmissing-prototypes -Winline |
| 10 |
+CFLAGS += -W -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual \ |
10 |
+CFLAGS+= -W -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual \ |
| 11 |
+ -Wcast-align -Wwrite-strings -Wmissing-prototypes ${CPPFLAGS} \ |
11 |
+ -Wcast-align -Wwrite-strings -Wmissing-prototypes -Winline |
| 12 |
+ -DHAVE_DECL_GETOPT |
|
|
| 13 |
#CFLAGS += -DBIGENDIAN |
12 |
#CFLAGS += -DBIGENDIAN |
| 14 |
#CFLAGS += -DALIGNMENT_WORKAROUND |
13 |
#CFLAGS += -DALIGNMENT_WORKAROUND |
| 15 |
|
14 |
|
| 16 |
@@ -19,12 +19,11 @@ |
15 |
@@ -19,14 +18,14 @@ |
| 17 |
#CFLAGS += -g |
16 |
#CFLAGS += -g |
| 18 |
|
17 |
|
| 19 |
# Pass linker flags here |
18 |
# Pass linker flags here |
| 20 |
-LDFLAGS = |
19 |
-LDFLAGS = |
| 21 |
+LDFLAGS += |
20 |
+LDFLAGS+= |
| 22 |
|
21 |
|
| 23 |
DESTDIR = |
22 |
DESTDIR = |
| 24 |
-prefix = /usr/local |
23 |
-prefix = /usr/local |
| 25 |
-sbindir = $(prefix)/sbin |
24 |
+prefix = $(PREFIX) |
| 26 |
-mandir = $(prefix)/man |
25 |
sbindir = $(prefix)/sbin |
| 27 |
+sbindir = $(PREFIX)/sbin |
26 |
-mandir = $(prefix)/share/man |
| 28 |
+mandir = $(PREFIX)/man |
27 |
+mandir = $(MANPREFIX)/man |
| 29 |
man8dir = $(mandir)/man8 |
28 |
man8dir = $(mandir)/man8 |
|
|
29 |
-docdir = $(prefix)/share/doc/dmidecode |
| 30 |
+docdir = $(DOCSDIR) |
| 30 |
|
31 |
|
| 31 |
all : dmidecode biosdecode ownership vpddecode |
32 |
INSTALL := install |
|
|
33 |
INSTALL_DATA := $(INSTALL) -m 644 |