The LinkFileList hack, introduced in Rev 1.7.

Pointed-out by:	AIDA Shinra <aida-s@jcom.home.ne.jp>
This commit is contained in:
Masafumi Max NAKANE 2002-11-14 00:00:55 +00:00
parent 3e0fe146f9
commit c62e5cfc9f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=70074
3 changed files with 0 additions and 48 deletions

View File

@ -49,19 +49,3 @@
RK_DEFINES = $(pointerIntegerDef)
RKC_DEFINES = $(wcharDefinition)
UILIB_DEFINES = $(wcharDefinition) $(pointerIntegerDef) \
@@ -461,6 +463,15 @@
set +x; else (set -x; $(MKDIRHIER) $(DESTDIR)$$i;$(CHOWN) owner $(DESTDIR)$$i;$(CHGRP) group $(DESTDIR)$$i); fi; \ @@\
done
#endif /* MakeDirectories */
+
+#ifdef LinkFileList
+#undef LinkFileList
+#endif
+#define LinkFileList(step,list,dir,sub) @@\
+step:: list @@\
+ @MakeFlagsToShellFlags(i,set +e); \ @@\
+ echo " cd" dir; cd dir && \ @@\
+ for i in list; do (set -x; $(LN) -f sub/$$i .); done
/* libname-def.cppを作るのが面倒なのでXのSharedLibraryTargetを上書き */
#ifdef CYGWIN_DLL

View File

@ -49,19 +49,3 @@
RK_DEFINES = $(pointerIntegerDef)
RKC_DEFINES = $(wcharDefinition)
UILIB_DEFINES = $(wcharDefinition) $(pointerIntegerDef) \
@@ -461,6 +463,15 @@
set +x; else (set -x; $(MKDIRHIER) $(DESTDIR)$$i;$(CHOWN) owner $(DESTDIR)$$i;$(CHGRP) group $(DESTDIR)$$i); fi; \ @@\
done
#endif /* MakeDirectories */
+
+#ifdef LinkFileList
+#undef LinkFileList
+#endif
+#define LinkFileList(step,list,dir,sub) @@\
+step:: list @@\
+ @MakeFlagsToShellFlags(i,set +e); \ @@\
+ echo " cd" dir; cd dir && \ @@\
+ for i in list; do (set -x; $(LN) -f sub/$$i .); done
/* libname-def.cppを作るのが面倒なのでXのSharedLibraryTargetを上書き */
#ifdef CYGWIN_DLL

View File

@ -49,19 +49,3 @@
RK_DEFINES = $(pointerIntegerDef)
RKC_DEFINES = $(wcharDefinition)
UILIB_DEFINES = $(wcharDefinition) $(pointerIntegerDef) \
@@ -461,6 +463,15 @@
set +x; else (set -x; $(MKDIRHIER) $(DESTDIR)$$i;$(CHOWN) owner $(DESTDIR)$$i;$(CHGRP) group $(DESTDIR)$$i); fi; \ @@\
done
#endif /* MakeDirectories */
+
+#ifdef LinkFileList
+#undef LinkFileList
+#endif
+#define LinkFileList(step,list,dir,sub) @@\
+step:: list @@\
+ @MakeFlagsToShellFlags(i,set +e); \ @@\
+ echo " cd" dir; cd dir && \ @@\
+ for i in list; do (set -x; $(LN) -f sub/$$i .); done
/* libname-def.cppを作るのが面倒なのでXのSharedLibraryTargetを上書き */
#ifdef CYGWIN_DLL