Lines 1-11
Link Here
|
1 |
--- Makefile.in.orig Wed Oct 23 19:45:50 2002 |
1 |
--- Makefile.in.orig Wed Oct 23 19:45:50 2002 |
2 |
+++ Makefile.in Tue Nov 12 21:56:31 2002 |
2 |
+++ Makefile.in Mon Mar 12 18:00:56 2007 |
3 |
@@ -57,7 +57,9 @@ |
3 |
@@ -58,6 +58,8 @@ |
4 |
SCRIPT_INSTALL_DIR = $(INSTALL_ROOT)$(TK_LIBRARY) |
|
|
5 |
|
4 |
|
6 |
# Directory in which to install the include file tk.h: |
5 |
# Directory in which to install the include file tk.h: |
7 |
-INCLUDE_INSTALL_DIR = $(INSTALL_ROOT)$(includedir) |
6 |
INCLUDE_INSTALL_DIR = $(INSTALL_ROOT)$(includedir) |
8 |
+INCLUDE_INSTALL_DIR = $(INSTALL_ROOT)$(includedir) |
|
|
9 |
+GENERIC_INCLUDE_INSTALL_DIR = $(INCLUDE_INSTALL_DIR)/generic |
7 |
+GENERIC_INCLUDE_INSTALL_DIR = $(INCLUDE_INSTALL_DIR)/generic |
10 |
+UNIX_INCLUDE_INSTALL_DIR = $(INCLUDE_INSTALL_DIR)/unix |
8 |
+UNIX_INCLUDE_INSTALL_DIR = $(INCLUDE_INSTALL_DIR)/unix |
11 |
|
9 |
|
Lines 53-59
Link Here
|
53 |
${STUB_LIB_FILE}: ${STUB_LIB_OBJS} |
51 |
${STUB_LIB_FILE}: ${STUB_LIB_OBJS} |
54 |
rm -f ${STUB_LIB_FILE} |
52 |
rm -f ${STUB_LIB_FILE} |
55 |
@MAKE_STUB_LIB@ |
53 |
@MAKE_STUB_LIB@ |
56 |
@@ -460,7 +470,7 @@ |
54 |
@@ -454,13 +464,13 @@ |
|
|
55 |
gdb ./wish --command=gdb.run |
56 |
rm gdb.run |
57 |
|
58 |
-install: all install-binaries install-libraries install-demos install-doc |
59 |
+install: all install-binaries install-libraries install-demos |
60 |
|
61 |
# Note: before running ranlib below, must cd to target directory because |
57 |
# some ranlibs write to current directory, and this might not always be |
62 |
# some ranlibs write to current directory, and this might not always be |
58 |
# possible (e.g. if installing as root). |
63 |
# possible (e.g. if installing as root). |
59 |
|
64 |
|
Lines 97-104
Link Here
|
97 |
- @for i in $(GENERIC_DIR)/tk.h $(GENERIC_DIR)/tkPlatDecls.h \ |
102 |
- @for i in $(GENERIC_DIR)/tk.h $(GENERIC_DIR)/tkPlatDecls.h \ |
98 |
- $(GENERIC_DIR)/tkDecls.h ; \ |
103 |
- $(GENERIC_DIR)/tkDecls.h ; \ |
99 |
+ @for i in $(GENERIC_DIR)/*.h ; \ |
104 |
+ @for i in $(GENERIC_DIR)/*.h ; \ |
100 |
do \ |
105 |
+ do \ |
101 |
- $(INSTALL_DATA) $$i $(INCLUDE_INSTALL_DIR); \ |
|
|
102 |
+ $(INSTALL_DATA) $$i $(GENERIC_INCLUDE_INSTALL_DIR); \ |
106 |
+ $(INSTALL_DATA) $$i $(GENERIC_INCLUDE_INSTALL_DIR); \ |
103 |
+ done; |
107 |
+ done; |
104 |
+ @for i in $(UNIX_DIR)/*.h ; \ |
108 |
+ @for i in $(UNIX_DIR)/*.h ; \ |
Lines 106-112
Link Here
|
106 |
+ $(INSTALL_DATA) $$i $(UNIX_INCLUDE_INSTALL_DIR); \ |
110 |
+ $(INSTALL_DATA) $$i $(UNIX_INCLUDE_INSTALL_DIR); \ |
107 |
+ done; |
111 |
+ done; |
108 |
+ @for i in $(INSTALL_HDRS) ; \ |
112 |
+ @for i in $(INSTALL_HDRS) ; \ |
109 |
+ do \ |
113 |
do \ |
|
|
114 |
- $(INSTALL_DATA) $$i $(INCLUDE_INSTALL_DIR); \ |
110 |
+ j=`basename $$i` ; \ |
115 |
+ j=`basename $$i` ; \ |
111 |
+ ln -sf $(GENERIC_INCLUDE_INSTALL_DIR)/$$j $(INCLUDE_INSTALL_DIR)/$$j ; \ |
116 |
+ ln -sf $(GENERIC_INCLUDE_INSTALL_DIR)/$$j $(INCLUDE_INSTALL_DIR)/$$j ; \ |
112 |
done; |
117 |
done; |