blob: dae58c0f84c865f45d912568927d7fe7f566144a (
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
|
$NetBSD: patch-aa,v 1.2 1999/10/22 10:15:48 fredb Exp $
--- Makefile.in.orig Mon Aug 31 13:40:14 1998
+++ Makefile.in Fri Oct 22 05:00:50 1999
@@ -37,12 +37,13 @@
MANEXT = 1
INSTALL = @INSTALL@
-BININSTALL = @INSTALL_PROGRAM@ -m 755
+BININSTALL = @INSTALL_PROGRAM@
LIBINSTALL = @INSTALL_DATA@
+SCRIPTINSTALL= @INSTALL_SCRIPT@
HARDLINK = ln -f
CC = @CC@
-INCLUDES = @CPPFLAGS@ -Ilibhfs @TCL_INCLUDES@ @TK_INCLUDES@
+INCLUDES = @CPPFLAGS@ @TCL_INCLUDES@ @TK_INCLUDES@
DEFINES = @DEFS@
LIBOBJS = @LIBOBJS@
LIBS = @LIBS@
@@ -51,7 +52,7 @@
TKLIBS = @TK_LIB_SPEC@ @TCL_LIB_SPEC@ @TK_LIBS@
COPTS = @CFLAGS@
-LDOPTS = @LDFLAGS@ -Llibhfs
+LDOPTS = @LDFLAGS@
### END OF USER CUSTOMIZATION #################################################
@@ -67,11 +68,11 @@
TCLTARGETS = hfssh hfs
TKTARGETS = xhfs
-LIBHFS = libhfs/libhfs.a
-INCHFS = libhfs/hfs.h
+LIBHFS =
+INCHFS =
-LIBRSRC = librsrc/librsrc.a
-INCRSRC = librsrc/rsrc.h
+LIBRSRC =
+INCRSRC =
HFSUTIL = hfsutil
HFSCK = hfsck/hfsck
@@ -125,15 +126,14 @@
done
install_tcl :: all_tcl
- for file in $(TCLTARGETS); do \
- $(BININSTALL) $$file "$(BINDEST)/."; \
- done
+ $(BININSTALL) hfssh "$(BINDEST)/."
+ $(SCRIPTINSTALL) hfs "$(BINDEST)/."
- if [ -f "$(BINDEST)/hfs" ]; then \
- sed -e '1d' "$(BINDEST)/hfs" > "$(BINDEST)/hfs.new"; \
- $(BININSTALL) "$(BINDEST)/hfs.new" "$(BINDEST)/hfs"; \
- rm -f "$(BINDEST)/hfs.new"; \
- fi
+# if [ -f "$(BINDEST)/hfs" ]; then \
+# sed -e '1d' "$(BINDEST)/hfs" > "$(BINDEST)/hfs.new"; \
+# $(BININSTALL) "$(BINDEST)/hfs.new" "$(BINDEST)/hfs"; \
+# rm -f "$(BINDEST)/hfs.new"; \
+# fi
for file in $(TCLDOCS); do \
$(LIBINSTALL) doc/man/$$file \
@@ -239,8 +239,7 @@
-lhfs $(LIBS) $(TCLLIBS) $(LIBOBJS) -o $@
hfs: hfs.tcl hfssh
- ( echo "#!./hfssh"; \
- echo "#! /bin/sh"; \
+ ( echo "#! /bin/sh"; \
echo "# Start hfssh ... \\"; \
echo 'exec hfssh "$$0" "$$@"'; \
echo; \
|