File: [Platon] / libplaton / Makefile.in (download)
Revision 1.5, Mon Jan 21 19:34:55 2002 UTC (22 years, 3 months ago) by jombik9
Changes since 1.4: +2 -2
lines
Make file updates (make clean doesn't work properly).
Copyrights updates.
Improvements.
|
# Makefile.in generated automatically by automake 1.4 from Makefile.am;
# modified !
# (by rajo)
#
# Author: rajo <host8@kepler.fmph.uniba.sk>
#
# Copyright (c) rajo
#
# $Id: Makefile.in,v 1.5 2002/01/21 19:34:55 jombik9 Exp $
PACKAGE = libplaton
VERSION = 1.0
# Directories {{{
srcdir = @srcdir@
top_srcdir = @top_srcdir@
VPATH = @srcdir@
prefix = @prefix@
exec_prefix = @exec_prefix@
bindir = @bindir@
sbindir = @sbindir@
libexecdir = @libexecdir@
sysconfdir = @sysconfdir@
sharedstatedir = @sharedstatedir@
localstatedir = @localstatedir@
libdir = @libdir@
infodir = @infodir@
mandir = @mandir@
includedir = @includedir@
oldincludedir = /usr/include
datadir = $(prefix)/@DATADIRNAME@
DESTDIR =
top_builddir = .
# }}} Directories
# Flags {{{
LIBS = @LIBS@
DEFS = @DEFS@
CPPFLAGS = @CPPFLAGS@
LDFLAGS = @LDFLAGS@
CFLAGS = @CFLAGS@ @DEBUG@
libplaton_LDADD = $(LDADD)
libplaton_DEPENDENCIES =
libplaton_LDFLAGS =
# }}} Flags
# Enviroment {{{
GZIP_ENV = --best
# }}} Enviroment
# Programs {{{
CC = @CC@
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
CCLD = $(CC)
LINK = $(CCLD) $(CFLAGS) $(LDFLAGS) -o $@
SHELL = @SHELL@
LN_S = @LN_S@
STRIP = @STRIP@
TAR = tar
NROFF = nroff
MAKE = make
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
transform = @program_transform_name@
AR = ar
RANLIB = ranlib
LD = ld
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
# }}} Programs
# Target names, objects {{{
libplaton_DIRS = @libplaton_DIRS@
libplaton_SOURCES = @libplaton_SOURCES@
libplaton_HEADERS = @libplaton_HEADERS@
libplaton_OBJECTS = @libplaton_OBJECTS@
libplaton_SOURCES_html = @libplaton_SOURCES_html@
libplaton_HEADERS_html = @libplaton_HEADERS_html@
libplaton_OBJECTS_html = @libplaton_OBJECTS_html@
libplaton_SOURCES_str = @libplaton_SOURCES_str@
libplaton_HEADERS_str = @libplaton_HEADERS_str@
libplaton_OBJECTS_str = @libplaton_OBJECTS_str@
libplaton_SOURCES_telnet = @libplaton_SOURCES_telnet@
libplaton_HEADERS_telnet = @libplaton_HEADERS_telnet@
libplaton_OBJECTS_telnet = @libplaton_OBJECTS_telnet@
libplaton_SOURCES_utils = @libplaton_SOURCES_utils@
libplaton_HEADERS_utils = @libplaton_HEADERS_utils@
libplaton_OBJECTS_utils = @libplaton_OBJECTS_utils@
libplaton_LIB = libplaton
libplaton_html_LIB = libplaton_html
libplaton_str_LIB = libplaton_str
libplaton_telnet_LIB = libplaton_telnet
libplaton_utils_LIB = libplaton_utils
SOURCES = $(libplaton_SOURCES)
HEADERS = $(libplaton_HEADERS)
OBJECTS = $(libplaton_OBJECTS)
libplaton_STATIC_LIB = $(libplaton_LIB).a
libplaton_DYNAMIC_LIB = $(libplaton_LIB).so
libplaton_DYNAMICV_LIB = $(libplaton_LIB)-$(VERSION).so
EXTRA_DIST = BUGS CREDITS ChangeLog TODO
DIST_COMMON = README AUTHORS COPYING INSTALL \
configure install-sh mkinstalldirs \
Makefile.in html/Makefile str/Makefile \
telnet/Makefile utils/Makefile
DISTFILES = $(libplaton_DIRS) $(SOURCES) $(HEADERS) \
$(DIST_COMMON) $(TEXINFOS) $(EXTRA_DIST)
# }}} Target names, objects
all: all-subdirs static dynamic
all-subdirs:
for i in $(libplaton_DIRS) ; do \
back=`pwd`; \
cd $(srcdir)/$$i && $(MAKE) && cd $$back ; \
done
static: $(libplaton_STATIC_LIB)
dynamic: $(libplaton_DYNAMIC_LIB)
$(libplaton_STATIC_LIB): $(OBJECTS)
cd $(srcdir) && $(AR) r $@ $(OBJECTS)
$(libplaton_DYNAMIC_LIB): $(OBJECTS)
cd $(srcdir) && $(LD) $(LDFLAGS) -shared -o $@ $(OBJECTS)
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
cd $(top_builddir) \
&& CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
config.status: $(srcdir)/configure
$(SHELL) ./config.status --recheck
.s.o:
$(COMPILE) -c $<
.S.o:
$(COMPILE) -c $<
clean: clean-subdirs
rm -f $(libplaton_STATIC_LIB) $(libplaton_DYNAMIC_LIB) $(libplaton_DYNAMICV_LIB) core
clean-subdirs:
for i in $(libplaton_DIRS) ; do \
back=`pwd`; \
cd $(srcdir)/$$i && $(MAKE) clean && cd $$back ; \
done
# ID & tags {{{
ID: $(HEADERS) $(SOURCES) $(LISP)
list='$(SOURCES) $(HEADERS)'; \
unique=`for i in $$list; do echo $$i; done | \
awk ' { files[$$0] = 1; } \
END { for (i in files) print i; }'`; \
here=`pwd` && cd $(srcdir) \
&& mkid -f$$here/ID $$unique $(LISP)
tags:
ctags -o TAGS $(HEADERS) $(SOURCES)
clean-tags:
-rm -f TAGS ID
distclean-tags:
-rm -f TAGS ID
maintainer-clean-tags:
# }}} ID & tags
# Distribution {{{
distdir = $(PACKAGE)-$(VERSION)
top_distdir = $(distdir)
# This target untars the dist file and tries a VPATH configuration. Then
# it guarantees that the distribution is self-contained by making another
# tarfile.
distcheck: dist
-rm -rf $(distdir)
GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz
mkdir $(distdir)/=build
mkdir $(distdir)/=inst
dc_install_base=`cd $(distdir)/=inst && pwd`; \
cd $(distdir)/=build \
&& ../configure --srcdir=.. --prefix=$$dc_install_base \
&& $(MAKE) $(AM_MAKEFLAGS) \
# && $(MAKE) $(AM_MAKEFLAGS) check \
# && $(MAKE) $(AM_MAKEFLAGS) install \
# && $(MAKE) $(AM_MAKEFLAGS) installcheck \
&& $(MAKE) $(AM_MAKEFLAGS) dist
-rm -rf $(distdir)
@banner="$(distdir).tar.gz is ready for distribution"; \
dashes=`echo "$$banner" | sed s/./=/g`; \
echo "$$dashes"; \
echo "$$banner"; \
echo "$$dashes"
dist: distdir
-chmod -R a+r $(distdir)
GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
-rm -rf $(distdir)
dist-all: distdir
-chmod -R a+r $(distdir)
GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
-rm -rf $(distdir)
distdir: $(DISTFILES)
-rm -rf $(distdir)
mkdir $(distdir)
-chmod 777 $(distdir)
here=`cd $(top_builddir) && pwd`; \
top_distdir=`cd $(distdir) && pwd`; \
distdir=`cd $(distdir) && pwd`;
@for file in $(DISTFILES); do \
d=$(srcdir); \
if test -d $$d/$$file; then \
$(mkinstalldirs) $(distdir)/$$file; \
else \
test -f $(distdir)/$$file \
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
|| cp -p $$d/$$file $(distdir)/$$file || :; \
fi; \
done
# }}} Distribution
# Libs: {{{
$(libplaton_LIB):
LIBOBJS=`find $(libplaton_DIRS) -name \*.o -print`; \
cd $(srcdir) && $(AR) $@ $$LIBOBJS
$(RANLIB) $@
# }}} Libs:
# 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:
# vim:set ts=4:
# vim600:fdm=marker fdl=0 fdc=3:
Platon Group <platon@platon.org> http://platon.org/
|