Browse Source

* Makefile.am (mad.c, mad.h): Create symlinks to counterparts in
`mc-src'.

Doesn't compile, yet.

Raja R Harinath 26 years ago
parent
commit
5da83a791d
2 changed files with 12 additions and 6 deletions
  1. 5 0
      vfs/ChangeLog
  2. 7 6
      vfs/Makefile.am

+ 5 - 0
vfs/ChangeLog

@@ -1,3 +1,8 @@
+1998-08-20  Raja R Harinath  <harinath@cs.umn.edu>
+
+	* Makefile.am (mad.c, mad.h): Create symlinks to counterparts in
+	`mc-src'. 
+
 Wed Aug 12 19:04:48 1998  Pavel Roskin <pavel.roskin@ecsoft.co.uk>
 
 	* extfs/patchfs: %k replaced with more portable %H in the format

+ 7 - 6
vfs/Makefile.am

@@ -9,15 +9,16 @@
 
 lib_LTLIBRARIES = libvfs.la
 
-if FALSE
-# FIXME: to fool make dist.
-# In `mc' mad.c and mad.h are symlinks to topdir/src/mad.[ch]
 BUILT_SOURCES = mad.c mad.h
-mad_ch = mad.c mad.h
-endif
+
+mad.c: mc-src/mad.c
+	$(LN_S) $< $@
+
+mad.h: mc-src/mad.h
+	$(LN_S) $< $@
 
 libvfs_la_SOURCES = callback.h container.c container.h extfs.c extfs.h \
-ftpfs.c ftpfs.h libvfs.c local.c $(mad_ch) mcfs.c mcfs.h mcserv.c \
+ftpfs.c ftpfs.h libvfs.c local.c mad.c mad.h mcfs.c mcfs.h mcserv.c \
 names.c names.h shared.c tar.c tar.h tcputil.c tcputil.h undelfs.c \
 undelfs.h util-alone.c util-alone.h utilvfs.c vfs.c vfs.h