# $Id: Makefile.in,v 1.17 1997/04/05 23:38:51 tom Exp $ ################################################################################ # Copyright 1996,1997 by Thomas E. Dickey # # All Rights Reserved. # # # # Permission to use, copy, modify, and distribute this software and its # # documentation for any purpose and without fee is hereby granted, provided # # that the above copyright notice appear in all copies and that both that # # copyright notice and this permission notice appear in supporting # # documentation, and that the name of the above listed copyright holder(s) not # # be used in advertising or publicity pertaining to distribution of the # # software without specific, written prior permission. THE ABOVE LISTED # # COPYRIGHT HOLDER(S) DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, # # INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT # # SHALL THE ABOVE LISTED COPYRIGHT HOLDER(S) BE LIABLE FOR ANY SPECIAL, # # INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM # # LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE # # OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR # # PERFORMANCE OF THIS SOFTWARE. # ################################################################################ # Makefile for ncurses source code. # # This makes/installs ncurses include-files # # The variable 'srcdir' refers to the source-distribution, and can be set with # the configure script by "--srcdir=DIR". # turn off _all_ suffix rules; we'll generate our own .SUFFIXES: SHELL = /bin/sh THIS = Makefile INSTALL_PREFIX = @INSTALL_PREFIX@ srcdir = @srcdir@ prefix = @prefix@ exec_prefix = @exec_prefix@ includedir = @includedir@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ AWK = @AWK@ VERSION = @nc_cv_rel_version@ # These files are generated by the configure script CONFIG_SRC = \ MKterm.h.awk \ curses.h \ termcap.h \ unctrl.h # These files are generated by this makefile AUTO_SRC = \ hashsize.h \ parametrized.h \ term.h ################################################################################ all \ install :: $(AUTO_SRC) term.h: $(srcdir)/Caps MKterm.h.awk $(AWK) -f MKterm.h.awk $(srcdir)/Caps > $@ sh $(srcdir)/edit_cfg.sh ../include/ncurses_cfg.h $@ hashsize.h: $(srcdir)/Caps $(srcdir)/MKhashsize.sh sh $(srcdir)/MKhashsize.sh $(srcdir)/Caps >$@ parametrized.h: $(srcdir)/Caps $(srcdir)/MKparametrized.sh sh $(srcdir)/MKparametrized.sh $(srcdir)/Caps >$@ tags: ctags *.[ch] TAGS: etags *.[ch] mostlyclean :: -rm -f tags TAGS *~ clean :: mostlyclean -rm -f $(AUTO_SRC) distclean :: clean -rm -f Makefile $(CONFIG_SRC) realclean :: distclean ############################################################################### # The remainder of this file is automatically generated during configuration ###############################################################################