blob: a19ba01ca70eb15a9e6ecaa192b6a48fd9de663e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
--- unix/Makefile.in
+++ unix/Makefile.in
@@ -26,25 +26,25 @@
exec_prefix = @exec_prefix@
# Directory in which to install the program scotty:
-BIN_INSTALL_DIR = $(exec_prefix)/bin
+BIN_INSTALL_DIR = $(DESTDIR)$(exec_prefix)/bin
# Directory in which to install dynamic loadable modules:
-LIB_INSTALL_DIR = $(exec_prefix)/lib
+LIB_INSTALL_DIR = $(DESTDIR)@bindir@
# Directory in which dynamic loadable modules are installed:
-LIB_RUNTIME_DIR = $(exec_prefix)/lib
+LIB_RUNTIME_DIR = $(DESTDIR)@libdir@
# Directory in which to install library files belonging to the extension.
-TNM_INSTALL_DIR = $(prefix)/lib/tnm$(TNM_VERSION)
+TNM_INSTALL_DIR = $(LIB_RUNTIME_DIR)/tnm$(TNM_VERSION)
# Directory in which to install library files belonging to the extension.
-TCL_INSTALL_DIR = $(prefix)/lib/tcl$(TCL_VERSION)
+TCL_INSTALL_DIR = $(LIB_RUNTIME_DIR)/tcl$(TCL_VERSION)
# Directory in which to install the library of tkined scripts.
-TKI_INSTALL_DIR = $(prefix)/lib/tkined$(TKI_VERSION)
+TKI_INSTALL_DIR = $(LIB_RUNTIME_DIR)/tkined$(TKI_VERSION)
# Top-level directory for manual entries:
-MAN_INSTALL_DIR = $(prefix)/man
+MAN_INSTALL_DIR = $(DESTDIR)@mandir@
# Directory in which to install the manual entries:
MAN1_INSTALL_DIR = $(MAN_INSTALL_DIR)/man1
@@ -57,7 +57,7 @@
# To change the compiler switches, for example to change from -O
# to -g, change the following line:
-CFLAGS = -O
+CFLAGS = @CFLAGS@
# NTPING should contain the full path to the installed ntping binary.
NTPING = $(BIN_INSTALL_DIR)/ntping
@@ -924,7 +924,8 @@
ether.x: $(TNM_GENERIC_DIR)/ether.x
cp $(TNM_GENERIC_DIR)/ether.x .
-ether_xdr.c ether_clnt.c ether.h: ether.x
+ether_xdr.c ether_clnt.c: ether.h
+ether.h: ether.x
$(RPCGEN) ether.x
ether_xdr.o: ether_xdr.c
|