X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=panel%2FMakefile.in;h=c3592526d54830a243e09919824e47fffbd01d23;hp=645e21084be606e2fbce8e4a9bf4ec28deeb024d;hb=46722468f47c2b77b3987729b4bcf2321cccfd01;hpb=661078ddbde3ce0f3b06e95642fbb9b5fef7dca1 diff --git a/panel/Makefile.in b/panel/Makefile.in index 645e2108..c3592526 100644 --- a/panel/Makefile.in +++ b/panel/Makefile.in @@ -1,6 +1,6 @@ -# $Id: Makefile.in,v 1.26 1998/02/11 12:14:02 tom Exp $ +# $Id: Makefile.in,v 1.41 2002/01/20 00:41:18 tom Exp $ ############################################################################## -# Copyright (c) 1998 Free Software Foundation, Inc. # +# Copyright (c) 1998,1999,2000,2001,2002 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"), # @@ -46,18 +46,20 @@ SHELL = /bin/sh THIS = Makefile MODEL = @DFT_LWR_MODEL@ -INSTALL_PREFIX = @INSTALL_PREFIX@ +DESTDIR = @DESTDIR@ srcdir = @srcdir@ prefix = @prefix@ exec_prefix = @exec_prefix@ +bindir = @bindir@ libdir = @libdir@ includedir = @includedir@ datadir = @datadir@ -ticdir = $(datadir)/terminfo +LIBTOOL = @LIBTOOL@ INSTALL = @INSTALL@ INSTALL_LIB = @INSTALL@ @INSTALL_LIB@ +INSTALL_PROG = @INSTALL_PROG@ INSTALL_DATA = @INSTALL_DATA@ AR = @AR@ @@ -67,13 +69,15 @@ LD = @LD@ LN_S = @LN_S@ CC = @CC@ +CPP = @CPP@ CFLAGS = @CFLAGS@ -CPPFLAGS = @CPPFLAGS@ \ - -DHAVE_CONFIG_H -DTERMINFO=\"$(ticdir)\" +CPPFLAGS = @CPPFLAGS@ -I@top_srcdir@/ncurses \ + -DHAVE_CONFIG_H CCFLAGS = $(CPPFLAGS) $(CFLAGS) +CFLAGS_LIBTOOL = $(CCFLAGS) CFLAGS_NORMAL = $(CCFLAGS) CFLAGS_DEBUG = $(CCFLAGS) @CC_G_OPT@ -DTRACE CFLAGS_PROFILE = $(CCFLAGS) -pg @@ -81,16 +85,23 @@ CFLAGS_SHARED = $(CCFLAGS) @CC_SHARED_OPTS@ CFLAGS_DEFAULT = $(CFLAGS_@DFT_UPR_MODEL@) -LINK = $(CC) +LINK = $(LIBTOOL) $(CC) LDFLAGS = @LDFLAGS@ @LD_MODEL@ @LIBS@ -SHLIB_LIST = -lncurses @SHLIB_LIST@ +SHLIB_DIRS = -L../lib +SHLIB_LIST = $(SHLIB_DIRS) -lncurses@LIB_SUFFIX@ @SHLIB_LIST@ + MK_SHARED_LIB = @MK_SHARED_LIB@ + +NCURSES_MAJOR = @NCURSES_MAJOR@ +NCURSES_MINOR = @NCURSES_MINOR@ REL_VERSION = @cf_cv_rel_version@ ABI_VERSION = @cf_cv_abi_version@ RANLIB = @RANLIB@ +IMPORT_LIB = @IMPORT_LIB@ +SHARED_LIB = @SHARED_LIB@ LIBRARIES = @LIBS_TO_MAKE@ LINT = @LINT@ @@ -98,15 +109,18 @@ LINT_OPTS = @LINT_OPTS@ LINT_LIBS = -lpanel -lncurses @LIBS@ AUTO_SRC = \ - ../include/panel.h + ../include/panel.h ################################################################################ -all install :: $(AUTO_SRC) $(LIBRARIES) +all \ +libs \ +install :: $(AUTO_SRC) $(LIBRARIES) sources: $(AUTO_SRC) -$(INSTALL_PREFIX)$(libdir) : - $(srcdir)/../mkinstalldirs $@ +$(DESTDIR)$(bindir) \ +$(DESTDIR)$(libdir) : + sh $(srcdir)/../mkinstalldirs $@ # make a copy to simplify include-paths while still keeping panel's include # file in this directory. @@ -121,13 +135,13 @@ PANEL_PRIV_H = \ tags: ctags *.[ch] -TAGS: - etags *.[ch] +@MAKE_UPPER_TAGS@TAGS: +@MAKE_UPPER_TAGS@ etags *.[ch] mostlyclean :: - -rm -f core tags TAGS *~ *.ln *.atac trace + -rm -f core tags TAGS *~ *.bak *.i *.ln *.atac trace -clean :: +clean :: mostlyclean -rm -f $(AUTO_SRC) distclean :: clean