]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - tack/Makefile.in
ncurses 5.2
[ncurses.git] / tack / Makefile.in
index 0004447f186160c5b8c72db9cfabc94f67cd312c..b2237cca0aecae8c97574a629263e2d01fcbeea6 100644 (file)
@@ -1,4 +1,4 @@
-# $Id: Makefile.in,v 1.19 2000/07/08 01:56:35 tom Exp $
+# $Id: Makefile.in,v 1.24 2000/10/14 22:19:37 tom Exp $
 # Makefile for tack
 #
 # The variable 'srcdir' refers to the source-distribution, and can be set with
@@ -18,7 +18,7 @@ CF_MFLAGS     = @cf_cv_makeflags@
 x              = @PROG_EXT@
 
 MODEL          = ../@DFT_OBJ_SUBDIR@
-INSTALL_PREFIX = @INSTALL_PREFIX@
+DESTDIR                = @DESTDIR@
 srcdir         = @srcdir@
 prefix         = @prefix@
 exec_prefix    = @exec_prefix@
@@ -28,7 +28,7 @@ mandir                = @mandir@/man1
 includedir     = @includedir@
 datadir                = @datadir@
 
-ticdir         = $(datadir)/terminfo
+LIBTOOL                = @LIBTOOL@
 
 INSTALL                = @INSTALL@
 INSTALL_PROGRAM        = @INSTALL_PROGRAM@
@@ -46,6 +46,7 @@ CPPFLAGS      = -DHAVE_CONFIG_H -I../tack -I$(srcdir) @CPPFLAGS@
 
 CCFLAGS                = $(CPPFLAGS) $(CFLAGS)
 
+CFLAGS_LIBTOOL = $(CCFLAGS)
 CFLAGS_NORMAL  = $(CCFLAGS)
 CFLAGS_DEBUG   = $(CCFLAGS) @CC_G_OPT@ -DTRACE
 CFLAGS_PROFILE = $(CCFLAGS) -pg
@@ -54,10 +55,11 @@ CFLAGS_SHARED       = $(CCFLAGS) @CC_SHARED_OPTS@
 CFLAGS_DEFAULT = $(CFLAGS_@DFT_UPR_MODEL@)
 
 LD             = @LD@
-LINK           = @LINK_PROGS@ $(CC)
+LINK           = @LINK_PROGS@ $(LIBTOOL) $(CC)
 LDFLAGS                = @EXTRA_LDFLAGS@ \
                @PROG_ARGS@ @LDFLAGS@ @LD_MODEL@ @LIBS@ @EXTRA_LIBS@
 
+LDFLAGS_LIBTOOL        = $(LDFLAGS)
 LDFLAGS_NORMAL = $(LDFLAGS)
 LDFLAGS_DEBUG  = $(LDFLAGS) @CC_G_OPT@
 LDFLAGS_PROFILE        = $(LDFLAGS) -pg
@@ -88,17 +90,17 @@ install.libs \
 uninstall.libs:
 
 install.tack: $(PROGS) \
-       $(INSTALL_PREFIX)$(bindir) \
-       $(INSTALL_PREFIX)$(mandir)
-       $(INSTALL_PROGRAM) tack$x $(INSTALL_PREFIX)$(bindir)/tack$x
-       $(INSTALL_DATA) $(srcdir)/tack.1 $(INSTALL_PREFIX)$(mandir)/tack.1
+       $(DESTDIR)$(bindir) \
+       $(DESTDIR)$(mandir)
+       $(LIBTOOL) $(INSTALL_PROGRAM) tack$x $(DESTDIR)$(bindir)/tack$x
+       $(INSTALL_DATA) $(srcdir)/tack.1 $(DESTDIR)$(mandir)/tack.1
 
 uninstall.tack:
-       -@rm -f $(INSTALL_PREFIX)$(bindir)/tack$x
-       -@rm -f $(INSTALL_PREFIX)$(mandir)/tack.1
+       -@$(LIBTOOL) rm -f $(DESTDIR)$(bindir)/tack$x
+       -@rm -f $(DESTDIR)$(mandir)/tack.1
 
-$(INSTALL_PREFIX)$(bindir) \
-$(INSTALL_PREFIX)$(mandir) :
+$(DESTDIR)$(bindir) \
+$(DESTDIR)$(mandir) :
        $(srcdir)/../mkinstalldirs $@
 
 #
@@ -133,12 +135,13 @@ tack$x: $(DEPS_TACK) $(DEPS_CURSES)
 tags:
        ctags *.[ch]
 
-TAGS:
-       etags *.[ch]
+@MAKE_UPPER_TAGS@TAGS:
+@MAKE_UPPER_TAGS@      etags *.[ch]
 
 clean ::
        -rm -f tags TAGS do.tic *~
        -rm -f $(PROGS)
+       -rm -rf .libs
 
 distclean :: clean
        -rm -f Makefile