Lines Matching +full:- +full:- +full:libdir
1 # $Id: mk-1st.awk,v 1.125 2023/04/22 15:49:59 tom Exp $
3 # Copyright 2018-2021,2023 Thomas E. Dickey #
4 # Copyright 1998-2016,2017 Free Software Foundation, Inc. #
42 # prefix (e.g., "lib", for Unix-style libraries)
45 # driver ("yes" or "no", depends on --enable-term-driver)
48 # SymLink ("ln -s", etc)
56 # make_phony ("yes" if the make-program accepts ".PHONY" directive.
59 # host (cross-compile host, if any)
60 # libtool_version (libtool "-version-info" or "-version-number")
63 # CLIXs nawk does not like underscores in command-line variable names.
64 # Mixed-case variable names are ok.
65 # HP-UX requires shared libraries to have executable permissions.
71 return ( subset ~ /^(ticlib\+)?termlib((\+[^+ ]+)*\+[a-z_]+_tinfo)?$/ );
93 result = sprintf("%s%s$(ABI_VERSION)%s", "msys-", a_name, suffix);
108 result = sprintf("%s%s$(ABI_VERSION)%s", "msys-", a_name, suffix);
137 if ( SymLink !~ /.*-f.*/ ) {
138 printf "rm -f %s; ", dst
145 printf "\t-rm -f %s/%s\n", directory, dst
203 # termlib may be named explicitly via "--with-termlib=XXX", which overrides
231 printf "\t@mkdir -p %s\n", directory
259 program = "$(INSTALL) -m 755";
274 check = substr(value, 1 + length(value) - length(USE_LIB_SUFFIX));
276 value = substr(value, 1, length(value) - length(USE_LIB_SUFFIX));
291 print "# generated by mk-1st.awk"
305 printf "# generated by mk-1st.awk (subset=%s)\n", subset
406 dst_dirs = "$(DESTDIR)$(bindir) $(DESTDIR)$(libdir)";
409 install_dll("$(libdir)",imp_name);
413 lib_dir = "$(DESTDIR)$(libdir)";
433 printf "\tcd $(DESTDIR)$(libdir) && ("
439 printf "\tcd $(DESTDIR)$(libdir) && ("
445 printf "\t- test -z \"$(DESTDIR)\" && %s\n", ldconfig
454 printf "\t-@rm -f $(DESTDIR)$(bindir)/%s\n", end_name
456 printf "\t@echo uninstalling $(DESTDIR)$(libdir)/%s\n", imp_name
457 printf "\t-@rm -f $(DESTDIR)$(libdir)/%s\n", imp_name
460 printf "\t@echo uninstalling $(DESTDIR)$(libdir)/%s\n", end_name
461 removelinks("$(DESTDIR)$(libdir)")
465 printf "\t-@rm -f $(DESTDIR)$(libdir)/%s\n", ovr_name
472 printf "\t-@rm -f so_locations\n"
495 printf "\t\t-o %s $(%s_OBJS:$o=.lo) \\\n", lib_name, OBJS;
496 printf "\t\t-rpath $(libdir) \\\n";
506 printf "\t\t$(DESTDIR)$(libdir) \\\n";
517 printf "\t@echo installing ../lib/%s as $(DESTDIR)$(libdir)/%s\n", lib_name, lib_name
518 printf "\tcd ../lib; $(LIBTOOL_INSTALL) $(INSTALL) %s $(DESTDIR)$(libdir)\n", lib_name
523 printf "\t@echo uninstalling $(DESTDIR)$(libdir)/%s\n", lib_name
524 printf "\t-@$(LIBTOOL_UNINSTALL) rm -f $(DESTDIR)$(libdir)/%s\n", lib_name
540 printf "\t$(LD) $(LD_OPTS) $? -o $(@:.a=$o)\n"
545 printf "install.%s :: $(DESTDIR)$(libdir) ../lib/%s\n", name, lib_name
546 printf "\t@echo installing ../lib/%s as $(DESTDIR)$(libdir)/%s\n", lib_name, lib_name
547 printf "\t$(INSTALL_DATA) ../lib/%s $(DESTDIR)$(libdir)/%s\n", lib_name, lib_name
551 printf "\t-@rm -f $(DESTDIR)$(libdir)/libcurses.a\n"
552 printf "\t(cd $(DESTDIR)$(libdir) && "
558 printf "\t$(RANLIB) $(DESTDIR)$(libdir)/%s\n", lib_name
562 printf "\t@echo installing ../lib/lib%s$o as $(DESTDIR)$(libdir)/lib%s$o\n", name, name
563 printf "\t$(INSTALL_DATA) ../lib/lib%s$o $(DESTDIR)$(libdir)/lib%s$o\n", name, name
569 printf "\t@echo uninstalling $(DESTDIR)$(libdir)/%s\n", lib_name
570 printf "\t-@rm -f $(DESTDIR)$(libdir)/%s\n", lib_name
574 printf "\t-@rm -f $(DESTDIR)$(libdir)/libcurses.a\n"
578 printf "\t@echo uninstalling $(DESTDIR)$(libdir)/lib%s$o\n", name
579 printf "\t-@rm -f $(DESTDIR)$(libdir)/lib%s$o\n", name
587 printf "\t-rm -f $(%s_OBJS)\n", OBJS
589 printf "\t-$(LIBTOOL_CLEAN) rm -f $(%s_OBJS:$o=.lo)\n", OBJS
596 printf "\t-rm -f $(%s_OBJS)\n", OBJS
598 printf "\t-$(LIBTOOL_CLEAN) rm -f $(%s_OBJS:$o=.lo)\n", OBJS
602 printf "\t-rm -f $(%s_OBJS)\n", OBJS
604 printf "\t-$(LIBTOOL_CLEAN) rm -f $(%s_OBJS:$o=.lo)\n", OBJS