# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. # Makefile for libplaton library. # $Platon: $ PACKAGE = @PACKAGE@ VERSION = @VERSION@ # Directories {{{ top_builddir = .. srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ prefix = @prefix@ exec_prefix = @exec_prefix@ bindir = @bindir@ sbindir = @sbindir@ libexecdir = @libexecdir@ datadir = @datadir@ sysconfdir = @sysconfdir@ sharedstatedir = @sharedstatedir@ localstatedir = @localstatedir@ libdir = @libdir@ infodir = @infodir@ mandir = @mandir@ man3dir = $(mandir)/man3 includedir = @includedir@ includedir_platon = $(includedir)/platon oldincludedir = /usr/include DESTDIR = pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ # }}} Directories # top_builddir will be absolute path top_builddir := $(shell cd $(top_builddir) > /dev/null 3>&1 && pwd || :) # Targets {{{ #SUBDIRS = crypt getmails makelynx strconv SUBDIRS = SOURCES = OBJECTS = # SunOS 4 make does not allow multiple makefiles to be specified in one ­include directive. DEP_FILES = include_HEADERS = include_SYMLINK = noinst_HEADERS = SCRIPTS = # }}} Targets all: configure-scripts makefiles all-subdirs include $(top_builddir)/Rules.make HEADERS = $(include_HEADERS) $(noinst_HEADERS) $(CONFIG_HEADER) Makefile: Makefile.in $(top_builddir)/config.status @cd $(top_builddir) \ && CONFIG_FILES=utils/Makefile CONFIG_HEADERS= \ $(SHELL) ./config.status # Section: Install {{{ install: all installdirs install-exec install-data install-symlinks uninstall: uninstall-includeHEADERS uninstall-exec uninstall-symlinks uninstall-dirs installcheck: @echo; echo; \ echo "These files was installed to: "; \ echo " $(DESTDIR)$(libdir)"; \ echo " $(DESTDIR)$(includedir)"; \ echo " $(DESTDIR)$(includedir_platon)"; \ echo " $(DESTDIR)$(mandir)/man3"; \ dashes="---------------------------------------------------------------"; \ echo "$$dashes"; \ find \ $(DESTDIR)$(libdir) \ $(DESTDIR)$(includedir) \ $(DESTDIR)$(includedir_platon) \ $(DESTDIR)$(mandir)/man3 -print ;\ echo "$$dashes"; install-exec: install-lib uninstall-exec: uninstall-lib install-lib: $(install_LIB) @$(NORMAL_INSTALL) @$(mkinstalldirs) $(DESTDIR)$(libdir) @list='$(install_LIB)'; for p in $$list; do \ if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \ echo " Installing file $(DESTDIR)$(libdir)/$$p"; \ $(INSTALL_DATA) $$d$$p $(DESTDIR)$(libdir)/$$p; \ done uninstall-lib: @$(NORMAL_UNINSTALL) @list='$(install_LIB)'; for p in $$list; do \ echo " rm -f $(DESTDIR)$(libdir)/$$p"; \ rm -f $(DESTDIR)$(libdir)/$$p; \ done install-data: install-includeHEADERS install-strip: $(MAKE) AM_INSTALL_PROGRAM_FLAGS=-s install installdirs: @$(mkinstalldirs) \ $(DESTDIR)$(mandir)/man3 \ $(DESTDIR)$(includedir_platon) \ $(DESTDIR)$(libdir) install-includeHEADERS: $(include_HEADERS) @$(NORMAL_INSTALL) @$(mkinstalldirs) $(DESTDIR)$(includedir_platon) @list='$(include_HEADERS)'; for p in $$list; do \ if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \ echo " Installing file $(DESTDIR)$(includedir_platon)/$$p"; \ $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir_platon)/$$p; \ done uninstall-includeHEADERS: @$(NORMAL_UNINSTALL) @list='$(include_HEADERS)'; for p in $$list; do \ echo " rm -f $(DESTDIR)$(includedir)/$$p"; \ rm -f $(DESTDIR)$(includedir)/$$p; \ echo " rm -f $(DESTDIR)$(includedir_platon)/$$p"; \ rm -f $(DESTDIR)$(includedir_platon)/$$p; \ done install-symlinks: @$(NORMAL_INSTALL) @$(mkinstalldirs) $(DESTDIR)$(libdir) @$(mkinstalldirs) $(DESTDIR)$(includedir_platon) @list='$(include_HEADERS)'; for p in $$list; do \ echo " Creating symlink $(DESTDIR)$(includedir)/$$p"; \ here=`pwd`; \ cd $(DESTDIR)$(includedir) && ( \ $(LN_S) platon/$$p $$p; \ $(LN_S) platon/$(include_SYMLINK) $(include_SYMLINK); \ cd platon && $(LN_S) $$p $(include_SYMLINK); \ ); \ cd $$here; \ done; \ cd $(DESTDIR)$(libdir) && ( \ echo " Creating symlink $(DESTDIR)$(libdir)/$(LIBDYNAMIC)"; \ $(LN_S) $(LIBDYNAMICV) $(LIBDYNAMIC); \ ); uninstall-symlinks: @$(NORMAL_UNINSTALL) -@list='$(include_SYMLINK)'; for p in $$list; do \ echo " rm -f $(DESTDIR)$(includedir)/$$p"; \ rm -f $(DESTDIR)$(includedir)/$$p; \ echo " rm -f $(DESTDIR)$(includedir_platon)/$$p"; \ rm -f $(DESTDIR)$(includedir_platon)/$$p; \ done; \ cd $(DESTDIR)$(libdir) && ( \ echo " rm -f $(DESTDIR)$(libdir)/$(LIBDYNAMIC)"; \ rm -f $(LIBDYNAMIC); \ ); uninstall-dirs: @$(NORMAL_UNINSTALL) -rmdir --ignore-fail-on-non-empty $(DESTDIR)$(includedir_platon) # }}} Section: Install # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: # vim600: fdm=marker fdc=3