diff --git a/vfs/ChangeLog b/vfs/ChangeLog index 49d0f9078..7cf0eb5f6 100644 --- a/vfs/ChangeLog +++ b/vfs/ChangeLog @@ -1,3 +1,7 @@ +2001-05-14 Pavel Machek + + * Make-mc.in: add possibility to build libvfs.so + 2001-04-19 Pavel Roskin * extfs/rpm (mcrpmfs_list): Use cpio for the listing since the diff --git a/vfs/Make-mc.in b/vfs/Make-mc.in index 9dc4b0f9f..9266eb636 100644 --- a/vfs/Make-mc.in +++ b/vfs/Make-mc.in @@ -191,6 +191,21 @@ mcserv: mcserv.o tcputil.o mad.o @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