|
Lines 1-6
Link Here
|
| 1 |
--- Makefile.orig Sun Jul 18 15:00:26 2004 |
1 |
--- Makefile.orig 2007-12-31 21:20:33.000000000 -0200 |
| 2 |
+++ Makefile Fri Jul 30 16:34:23 2004 |
2 |
+++ Makefile 2009-10-21 22:24:56.000000000 -0200 |
| 3 |
@@ -43,12 +43,24 @@ |
3 |
@@ -45,12 +45,24 @@ |
| 4 |
include Makefile.bsd |
4 |
include Makefile.bsd |
| 5 |
else |
5 |
else |
| 6 |
|
6 |
|
|
Lines 22-49
Link Here
|
| 22 |
exec_prefix = ${prefix} |
22 |
exec_prefix = ${prefix} |
| 23 |
bindir = $(ROOT)${exec_prefix}/bin |
23 |
bindir = $(ROOT)${exec_prefix}/bin |
| 24 |
mandir = $(ROOT)${prefix}/man/man1 |
24 |
mandir = $(ROOT)${prefix}/man/man1 |
| 25 |
-resdir = $(ROOT)/usr/X11R6/lib/X11 |
25 |
-resdir = $(ROOT)/etc/X11 |
| 26 |
+resdir = $(ROOT)$(LOCALBASE)/lib/X11 |
26 |
+resdir = $(ROOT)$(LOCALBASE)/lib/X11 |
| 27 |
|
27 |
|
| 28 |
# if you have perl set the path here, else just leave it alone |
28 |
# if you have perl and/or flex set their path here, else just leave them alone |
| 29 |
PERL = /usr/bin/perl |
29 |
PERL = /usr/bin/perl |
| 30 |
@@ -104,10 +116,10 @@ |
30 |
@@ -110,6 +122,8 @@ |
| 31 |
# The database directory can be either in the user's $HOME (or relative to any |
|
|
| 32 |
# other env variable) or at a global place like /var/spool (world-writable) |
| 33 |
# -> uncomment 2 lines below to put the databases in the user's home |
31 |
# -> uncomment 2 lines below to put the databases in the user's home |
| 34 |
-#USER_DBDIR = .nxtvdb |
32 |
#USER_DBDIR = .nxtvdb |
| 35 |
-#DEFS += -DEPG_DB_ENV=\"HOME\" -DEPG_DB_DIR=\"$(USER_DBDIR)\" |
33 |
#DEFS += -DEPG_DB_ENV=\"HOME\" -DEPG_DB_DIR=\"$(USER_DBDIR)\" |
| 36 |
+USER_DBDIR = .nxtvdb |
34 |
+USER_DBDIR = .nxtvdb |
| 37 |
+DEFS += -DEPG_DB_ENV=\"HOME\" -DEPG_DB_DIR=\"$(USER_DBDIR)\" |
35 |
+DEFS += -DEPG_DB_ENV=\"HOME\" -DEPG_DB_DIR=\"$(USER_DBDIR)\" |
| 38 |
ifndef USER_DBDIR |
36 |
ifndef USER_DBDIR |
| 39 |
-SYS_DBDIR = /usr/tmp/nxtvdb |
37 |
SYS_DBDIR = /var/tmp/nxtvdb |
| 40 |
+SYS_DBDIR = /var/tmp/nxtvdb |
|
|
| 41 |
DEFS += -DEPG_DB_DIR=\"$(SYS_DBDIR)\" |
38 |
DEFS += -DEPG_DB_DIR=\"$(SYS_DBDIR)\" |
| 42 |
INST_DB_DIR = $(ROOT)$(SYS_DBDIR) |
39 |
@@ -127,7 +141,7 @@ |
| 43 |
INST_DB_PERM = 0777 |
40 |
LDFLAGS += -lm |
| 44 |
@@ -121,7 +133,7 @@ |
41 |
#LDFLAGS += -pg |
| 45 |
CFLAGS += $(WARN) $(INCS) $(DEFS) |
|
|
| 46 |
#LDLIBS += -pg |
| 47 |
|
42 |
|
| 48 |
-BUILD_DIR = build-$(shell uname -m | sed -e 's/i.86/i386/' -e 's/ppc/powerpc/') |
43 |
-BUILD_DIR = build-$(shell uname -m | sed -e 's/i.86/i386/' -e 's/ppc/powerpc/') |
| 49 |
+BUILD_DIR ?= build-$(shell uname -m | sed -e 's/i.86/i386/' -e 's/ppc/powerpc/') |
44 |
+BUILD_DIR ?= build-$(shell uname -m | sed -e 's/i.86/i386/' -e 's/ppc/powerpc/') |