31 lines
860 B
Text
31 lines
860 B
Text
$NetBSD: patch-aa,v 1.1.1.1 1999/10/17 04:28:19 fredb Exp $
|
|
|
|
--- libhfs/Makefile.in.orig Mon Nov 2 16:08:51 1998
|
|
+++ libhfs/Makefile.in Fri Oct 15 12:23:01 1999
|
|
@@ -60,7 +60,7 @@
|
|
|
|
TARGETS = $(HFSTARGET)
|
|
|
|
-HFSTARGET = libhfs.a
|
|
+HFSTARGET = libhfs.la
|
|
HFSOBJS = os.o data.o block.o low.o medium.o file.o btree.o node.o \
|
|
record.o volume.o hfs.o version.o $(LIBOBJS)
|
|
|
|
@@ -113,12 +113,15 @@
|
|
###############################################################################
|
|
|
|
$(HFSTARGET): $(HFSOBJS)
|
|
- $(AR) $@ $(HFSOBJS)
|
|
- $(RANLIB) $@
|
|
+ $(LIBTOOL) --mode=link $(CC) -o $(HFSTARGET) $(HFSOBJS:.o=.lo) \
|
|
+ -rpath $(LIBDEST) -version-info 1:0
|
|
|
|
os.c: os/$(OS).c
|
|
rm -f $@
|
|
$(SOFTLINK) os/$(OS).c $@
|
|
+
|
|
+.c.o:
|
|
+ $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) -c $(.IMPSRC)
|
|
|
|
### DEPENDENCIES FOLLOW #######################################################
|
|
|