2011-02-28 12:02:46 +01:00
|
|
|
$NetBSD: patch-ab,v 1.16 2011/02/28 11:02:46 adam Exp $
|
2004-03-08 14:26:03 +01:00
|
|
|
|
2011-02-28 12:02:46 +01:00
|
|
|
--- mk-1st.awk.orig 2010-08-07 20:42:30.000000000 +0000
|
2004-03-08 14:26:03 +01:00
|
|
|
+++ mk-1st.awk
|
2011-02-28 12:02:46 +01:00
|
|
|
@@ -396,11 +396,11 @@ END {
|
2004-03-08 14:26:03 +01:00
|
|
|
end_name = lib_name;
|
|
|
|
printf "../lib/%s : $(%s_OBJS)\n", lib_name, OBJS
|
2011-02-28 12:02:46 +01:00
|
|
|
if ( is_ticlib() ) {
|
|
|
|
- printf "\tcd ../lib && $(LIBTOOL_LINK) $(%s) -o %s $(%s_OBJS:$o=.lo) -rpath $(DESTDIR)$(libdir) %s $(NCURSES_MAJOR):$(NCURSES_MINOR) $(LT_UNDEF) $(TICS_LIST)\n", compile, lib_name, OBJS, libtool_version
|
|
|
|
+ printf "\tcd ../lib && $(LIBTOOL_LINK) $(%s) -o %s $(%s_OBJS:.o=.lo) -rpath $(DESTDIR)$(libdir) %s $(NCURSES_MAJOR):$(NCURSES_MINOR) $(LT_UNDEF) $(TICS_LIST)\n", compile, lib_name, OBJS, libtool_version
|
|
|
|
} else if ( is_termlib() ) {
|
|
|
|
- printf "\tcd ../lib && $(LIBTOOL_LINK) $(%s) -o %s $(%s_OBJS:$o=.lo) -rpath $(DESTDIR)$(libdir) %s $(NCURSES_MAJOR):$(NCURSES_MINOR) $(LT_UNDEF) $(TINFO_LIST)\n", compile, lib_name, OBJS, libtool_version
|
|
|
|
+ printf "\tcd ../lib && $(LIBTOOL_LINK) $(%s) -o %s $(%s_OBJS:.o=.lo) -rpath $(DESTDIR)$(libdir) %s $(NCURSES_MAJOR):$(NCURSES_MINOR) $(LT_UNDEF) $(TINFO_LIST)\n", compile, lib_name, OBJS, libtool_version
|
|
|
|
} else {
|
|
|
|
- printf "\tcd ../lib && $(LIBTOOL_LINK) $(%s) -o %s $(%s_OBJS:$o=.lo) -rpath $(DESTDIR)$(libdir) %s $(NCURSES_MAJOR):$(NCURSES_MINOR) $(LT_UNDEF) $(SHLIB_LIST)\n", compile, lib_name, OBJS, libtool_version
|
|
|
|
+ printf "\tcd ../lib && $(LIBTOOL_LINK) $(%s) -o %s $(%s_OBJS:.o=.lo) -rpath $(DESTDIR)$(libdir) %s $(NCURSES_MAJOR):$(NCURSES_MINOR) $(LT_UNDEF) $(SHLIB_LIST)\n", compile, lib_name, OBJS, libtool_version
|
|
|
|
}
|
2004-03-08 14:26:03 +01:00
|
|
|
print ""
|
|
|
|
print "install \\"
|
2011-02-28 12:02:46 +01:00
|
|
|
@@ -469,7 +469,7 @@ END {
|
2004-03-08 14:26:03 +01:00
|
|
|
print "mostlyclean::"
|
|
|
|
printf "\t-rm -f $(%s_OBJS)\n", OBJS
|
|
|
|
if ( MODEL == "LIBTOOL" ) {
|
|
|
|
- printf "\t-$(LIBTOOL_CLEAN) rm -f $(%s_OBJS:$o=.lo)\n", OBJS
|
|
|
|
+ printf "\t-$(LIBTOOL_CLEAN) rm -f $(%s_OBJS:.o=.lo)\n", OBJS
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else if ( found == 2 )
|
2011-02-28 12:02:46 +01:00
|
|
|
@@ -478,13 +478,13 @@ END {
|
2004-03-08 14:26:03 +01:00
|
|
|
print "mostlyclean::"
|
|
|
|
printf "\t-rm -f $(%s_OBJS)\n", OBJS
|
|
|
|
if ( MODEL == "LIBTOOL" ) {
|
|
|
|
- printf "\t-$(LIBTOOL_CLEAN) rm -f $(%s_OBJS:$o=.lo)\n", OBJS
|
|
|
|
+ printf "\t-$(LIBTOOL_CLEAN) rm -f $(%s_OBJS:.o=.lo)\n", OBJS
|
|
|
|
}
|
|
|
|
print ""
|
|
|
|
print "clean ::"
|
|
|
|
printf "\t-rm -f $(%s_OBJS)\n", OBJS
|
|
|
|
if ( MODEL == "LIBTOOL" ) {
|
|
|
|
- printf "\t-$(LIBTOOL_CLEAN) rm -f $(%s_OBJS:$o=.lo)\n", OBJS
|
|
|
|
+ printf "\t-$(LIBTOOL_CLEAN) rm -f $(%s_OBJS:.o=.lo)\n", OBJS
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|