Fix libvfs.so build
- From: Pavel Machek <pavel ucw cz>
- To: mc gnome org
- Subject: Fix libvfs.so build
- Date: Sun, 13 May 2001 16:10:32 +0200
Hi!
Libvfs.so was killed somehow during automakification. Okay to commit
this?
Index: Make-mc.in
===================================================================
RCS file: /cvs/gnome/mc/vfs/Make-mc.in,v
retrieving revision 1.64
diff -u -u -r1.64 Make-mc.in
--- Make-mc.in 2001/04/19 23:20:09 1.64
+++ Make-mc.in 2001/05/13 14:08:07
@@ -191,6 +191,21 @@
@USE_SAMBA_FS_FALSE@ $(AR) cr $@ $(VFSOBJS)
$(RANLIB) $@
+#
+# Commands to build standalone version (.so)
+#
+
+VFSSOOBJS = tcputil.so ftpfs.so mcfs.so utilvfs.so local.so vfs.so tar.so names.so container.so extfs.so
util-alone.so util.sor utilunix.sor sfs.so fish.so direntry.so cpio.so
+
+%.sor: ../src/%.c
+ $(CC) -c -fpic $(CPPFLAGS) $(DEFS) $(CFLAGS) -DVFS_STANDALONE $< -o $@
+
+%.so: %.c
+ $(CC) -c -fpic $(CPPFLAGS) $(DEFS) $(CFLAGS) -DVFS_STANDALONE $< -o $@
+
+libvfs.so: $(VFSSOOBJS)
+ gcc $(VFSSOOBJS) -shared -o libvfs.so
+
samba/libsamba.a:
cd samba && $(MAKE) libsamba.a
Pavel
--
I'm pavel ucw cz "In my country we have almost anarchy and I don't care."
Panos Katsaloulis describing me w.r.t. patents at discuss linmodems org
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]