X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=misc%2FMakefile.in;h=15480ee77b7b9ca22977fe4948a7ee30bee0dea2;hp=a3a8b79ff4572eb3672c54639994c015bf6a9506;hb=96097feb6ca4e2c4c944f3ed789c89d964611655;hpb=8c7df70e2d1c656a44904fe2ffa7ec4eecfebe68 diff --git a/misc/Makefile.in b/misc/Makefile.in index a3a8b79f..15480ee7 100644 --- a/misc/Makefile.in +++ b/misc/Makefile.in @@ -1,6 +1,6 @@ -# $Id: Makefile.in,v 1.44 2008/12/13 18:48:47 tom Exp $ +# $Id: Makefile.in,v 1.48 2009/01/03 23:52:41 tom Exp $ ############################################################################## -# Copyright (c) 1998-2007,2008 Free Software Foundation, Inc. # +# Copyright (c) 1998-2008,2009 Free Software Foundation, Inc. # # # # Permission is hereby granted, free of charge, to any person obtaining a # # copy of this software and associated documentation files (the "Software"), # @@ -69,6 +69,8 @@ INSTALL = @INSTALL@ INSTALL_PROG = @INSTALL_SCRIPT@ INSTALL_DATA = @INSTALL_DATA@ +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ + ################################################################################ all : terminfo.tmp @@ -103,9 +105,16 @@ install.data : terminfo.tmp \ NCURSES_CONFIG = ncurses@DFT_ARG_SUFFIX@@cf_cv_abi_version@-config -install.libs : $(DESTDIR)$(bindir) ncurses-config +install.libs :: $(DESTDIR)$(bindir) ncurses-config $(INSTALL_PROG) ncurses-config $(DESTDIR)$(bindir)/$(NCURSES_CONFIG) +@MAKE_PC_FILES@install.libs :: pc-files +@MAKE_PC_FILES@ $(SHELL) -c 'for name in *.pc; do $(INSTALL_DATA) $$name $(PKG_CONFIG_LIBDIR)/$$name; done' + +@MAKE_PC_FILES@pc-files : +@MAKE_PC_FILES@ $(SHELL) ./gen-pkgconfig +@MAKE_PC_FILES@ touch $@ + terminfo.tmp : run_tic.sed $(source) echo '** adjusting tabset paths' sed -f run_tic.sed $(source) >terminfo.tmp @@ -130,6 +139,7 @@ uninstall.data : uninstall.libs : -rm -f $(DESTDIR)$(bindir)/$(NCURSES_CONFIG) +@MAKE_PC_FILES@ $(SHELL) 'for name in *.pc; do rm -f $(PKG_CONFIG_LIBDIR)/$$name; done' tags : @@ -138,11 +148,13 @@ tags : mostlyclean : -rm -f terminfo.tmp -rm -f run_tic.sed +@MAKE_PC_FILES@ -rm -f *.pc pc-files -rm -f core tags TAGS *~ *.bak *.ln *.atac trace clean :: mostlyclean distclean : clean +@MAKE_PC_FILES@ -rm -f gen-pkgconfig -rm -f Makefile run_tic.sh ncurses-config realclean : distclean