version 1.2, 2001/10/14 01:43:29 |
version 1.12, 2002/12/07 15:36:30 |
|
|
# Makefile.in generated automatically by automake 1.4 from Makefile.am; modified ! |
# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc. |
# (by rajo) |
# 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. |
|
|
# |
# Main Makefile for libplaton library. |
# Author: rajo <host8@kepler.fmph.uniba.sk> |
# $Platon$ |
# |
|
# Copyright (c) rajo |
|
# |
|
|
|
# $Id$ |
PACKAGE = @PACKAGE@ |
|
VERSION = @VERSION@ |
|
|
# Directories {{{ |
# Directories {{{ |
srcdir = @srcdir@ |
top_builddir = . |
top_srcdir = @top_srcdir@ |
srcdir = @srcdir@ |
VPATH = @srcdir@ |
top_srcdir = @top_srcdir@ |
prefix = @prefix@ |
VPATH = @srcdir@ |
exec_prefix = @exec_prefix@ |
prefix = @prefix@ |
|
exec_prefix = @exec_prefix@ |
bindir = @bindir@ |
|
sbindir = @sbindir@ |
bindir = @bindir@ |
libexecdir = @libexecdir@ |
sbindir = @sbindir@ |
sysconfdir = @sysconfdir@ |
libexecdir = @libexecdir@ |
sharedstatedir = @sharedstatedir@ |
datadir = @datadir@ |
localstatedir = @localstatedir@ |
sysconfdir = @sysconfdir@ |
libdir = @libdir@ |
sharedstatedir = @sharedstatedir@ |
infodir = @infodir@ |
localstatedir = @localstatedir@ |
mandir = @mandir@ |
libdir = @libdir@ |
includedir = @includedir@ |
infodir = @infodir@ |
oldincludedir = /usr/include |
mandir = @mandir@ |
|
man3dir = $(mandir)/man3 |
DESTDIR = |
includedir = @includedir@ |
|
includedir_platon = $(includedir)/platon |
pkgdatadir = $(datadir)/@PACKAGE@ |
oldincludedir = /usr/include |
pkglibdir = $(libdir)/@PACKAGE@ |
|
pkgincludedir = $(includedir)/@PACKAGE@ |
DESTDIR = |
|
|
|
pkgdatadir = $(datadir)/@PACKAGE@ |
|
pkglibdir = $(libdir)/@PACKAGE@ |
|
pkgincludedir = $(includedir)/@PACKAGE@ |
|
|
top_builddir = . |
|
# }}} Directories |
# }}} Directories |
|
|
NORMAL_INSTALL = : |
# top_builddir will be absolute path |
PRE_INSTALL = : |
top_builddir := $(shell cd $(top_builddir) > /dev/null 3>&1 && pwd || :) |
POST_INSTALL = : |
|
NORMAL_UNINSTALL = : |
# Targets {{{ |
PRE_UNINSTALL = : |
|
POST_UNINSTALL = : |
SUBDIRS = platon utils |
|
|
# Programs {{{ |
include_HEADERS = |
SHELL = @SHELL@ |
noinst_HEADERS = platon/cfgfile.h \ |
CC = @CC@ |
platon/cmdline.h \ |
LN_S = @LN_S@ |
platon/shared.h \ |
STRIP = @STRIP@ |
platon/str/dynfgets.h \ |
TAR = gtar |
platon/str/strctype.h \ |
NROFF = nroff |
platon/str/strdyn.h \ |
INSTALL = @INSTALL@ |
platon/str/strplus.h |
INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS) |
|
INSTALL_DATA = @INSTALL_DATA@ |
noinst_SCRIPTS = |
INSTALL_SCRIPT = @INSTALL_SCRIPT@ |
SCRIPTS = $(noinst_SCRIPTS) |
transform = @program_transform_name@ |
|
|
DISTFILES = AUTHORS COPYING README INSTALL TODO \ |
#AR = ar clq |
Makefile.in configure.in \ |
AR = ar cr |
config.h.in \ |
RANLIB = ranlib |
config.guess config.sub configure \ |
# }}} Programs |
install-sh mkinstalldirs rebuild \ |
|
platon/ \ |
PACKAGE = libplaton |
$(include_HEADERS) $(noinst_HEADERS) \ |
VERSION = 1.0 |
doc/ |
|
|
bin_PROGRAMS = libplaton |
# }}} Targets |
libplaton_SOURCES = $(srcdir)/libplaton.c $(srcdir)/http.c $(srcdir)/strings.c |
|
man_MANS = libplaton.1 |
all: configure-scripts makefiles $(MANS) all-subdirs |
|
|
EXTRA_DIST = $(man_MANS) AUTHORS BUGS COPYING CREDITS ChangeLog INSTALL NEWS README SITES TODO *.h |
include $(top_builddir)/Rules.make |
|
|
datadir = $(prefix)/@DATADIRNAME@ |
HEADERS = $(include_HEADERS) $(noinst_HEADERS) $(CONFIG_HEADER) |
LIBS = @LIBS@ |
|
DEFS = @DEFS@ |
$(top_builddir)/Makefile: $(top_srcdir)/Makefile.in $(top_builddir)/config.status |
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs |
@cd $(top_builddir) \ |
PROGRAMS = $(bin_PROGRAMS) |
&& CONFIG_FILES=Makefile CONFIG_HEADERS= \ |
|
$(SHELL) ./config.status |
CPPFLAGS = @CPPFLAGS@ |
|
LDFLAGS = @LDFLAGS@ |
# Section: Install {{{ |
libplaton_OBJECTS = |
install: all install-subdirs |
libplaton_LDADD = $(LDADD) |
|
libplaton_DEPENDENCIES = |
uninstall: uninstall-subdirs |
libplaton_LDFLAGS = |
|
LIBPLATON = libplaton.a |
installcheck: |
CFLAGS = @CFLAGS@ @DEBUG@ |
|
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) |
install-exec: |
CCLD = $(CC) |
|
LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ |
uninstall-exec: |
man1dir = $(mandir)/man1 |
|
MANS = $(man_MANS) |
|
|
install-lib: |
DIST_COMMON = README AUTHORS COPYING ChangeLog INSTALL \ |
|
Makefile.in NEWS TODO configure install-sh missing mkinstalldirs |
uninstall-lib: |
|
|
|
|
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) |
install-data: |
|
|
GZIP_ENV = --best |
|
SOURCES = $(libplaton_SOURCES) |
|
OBJECTS = $(libplaton_OBJECTS) |
|
|
|
all: $(LIBPLATON) all-redirect |
|
.SUFFIXES: |
|
.SUFFIXES: .S .c .o .s |
|
|
|
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 |
|
|
|
mostlyclean-hdr: |
|
|
|
clean-hdr: |
|
|
|
maintainer-clean-hdr: |
|
|
|
mostlyclean-binPROGRAMS: |
|
|
|
clean-binPROGRAMS: |
|
-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS) |
|
|
|
distclean-binPROGRAMS: |
|
|
|
maintainer-clean-binPROGRAMS: |
|
|
|
install-binPROGRAMS: $(bin_PROGRAMS) |
|
@$(NORMAL_INSTALL) |
|
$(mkinstalldirs) $(DESTDIR)$(bindir) |
|
@list='$(bin_PROGRAMS)'; for p in $$list; do \ |
|
if test -f $$p; then \ |
|
echo " $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \ |
|
$(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \ |
|
else :; fi; \ |
|
done |
|
|
|
uninstall-binPROGRAMS: |
|
@$(NORMAL_UNINSTALL) |
|
list='$(bin_PROGRAMS)'; for p in $$list; do \ |
|
rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \ |
|
done |
|
|
|
.s.o: |
|
$(COMPILE) -c $< |
|
|
|
.S.o: |
|
$(COMPILE) -c $< |
|
|
|
mostlyclean-compile: |
|
-rm -f *.o core *.core |
|
|
|
clean-compile: |
|
-rm -rf objects/ |
|
|
|
distclean-compile: |
|
-rm -f *.tab.c |
|
|
|
maintainer-clean-compile: |
|
|
|
libplaton: $(libplaton_OBJECTS) $(libplaton_DEPENDENCIES) |
|
@rm -f libplaton |
|
$(LINK) $(libplaton_LDFLAGS) $(libplaton_OBJECTS) $(libplaton_LDADD) $(LIBS) |
|
|
|
# Install manuals {{{ |
|
install-man1: |
|
$(mkinstalldirs) $(DESTDIR)$(man1dir) |
|
@list='$(man1_MANS)'; \ |
|
l2='$(man_MANS)'; for i in $$l2; do \ |
|
case "$$i" in \ |
|
*.1*) list="$$list $$i" ;; \ |
|
esac; \ |
|
done; \ |
|
for i in $$list; do \ |
|
if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ |
|
else file=$$i; fi; \ |
|
ext=`echo $$i | sed -e 's/^.*\\.//'`; \ |
|
inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ |
|
inst=`echo $$inst | sed '$(transform)'`.$$ext; \ |
|
echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \ |
|
$(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \ |
|
done |
|
|
|
uninstall-man1: |
|
@list='$(man1_MANS)'; \ |
|
l2='$(man_MANS)'; for i in $$l2; do \ |
|
case "$$i" in \ |
|
*.1*) list="$$list $$i" ;; \ |
|
esac; \ |
|
done; \ |
|
for i in $$list; do \ |
|
ext=`echo $$i | sed -e 's/^.*\\.//'`; \ |
|
inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ |
|
inst=`echo $$inst | sed '$(transform)'`.$$ext; \ |
|
echo " rm -f $(DESTDIR)$(man1dir)/$$inst"; \ |
|
rm -f $(DESTDIR)$(man1dir)/$$inst; \ |
|
done |
|
install-man: $(MANS) |
|
@$(NORMAL_INSTALL) |
|
$(MAKE) $(AM_MAKEFLAGS) install-man1 |
|
uninstall-man: |
|
@$(NORMAL_UNINSTALL) |
|
$(MAKE) $(AM_MAKEFLAGS) uninstall-man1 |
|
# }}} Manuals |
|
|
|
# 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) |
|
#TAGS: $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) $(LISP) |
|
# tags=; \ |
|
here=`pwd`; \ |
|
list='$(SOURCES) $(HEADERS)'; \ |
|
unique=`for i in $$list; do echo $$i; done | \ |
|
awk ' { files[$$0] = 1; } \ |
|
END { for (i in files) print i; }'`; \ |
|
test -z "$(ETAGS_ARGS)config.h.in$$unique$(LISP)$$tags" \ |
|
|| (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags config.h.in $$unique $(LISP) -o $$here/TAGS) |
|
|
|
mostlyclean-tags: |
|
-rm -f TAGS ID |
|
|
|
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) dvi \ |
|
&& $(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 \ |
|
cp -pr $$d/$$file $(distdir)/$$file; \ |
|
else \ |
|
test -f $(distdir)/$$file \ |
|
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \ |
|
|| cp -p $$d/$$file $(distdir)/$$file || :; \ |
|
fi; \ |
|
done |
|
# }}} Distribution |
|
|
|
mostlyclean-depend: |
|
|
|
clean-depend: |
|
|
|
distclean-depend: |
|
-rm -f Makefile.dep |
|
|
|
maintainer-clean-depend: |
|
|
|
install-exec-am: install-binPROGRAMS |
|
install-exec: install-exec-am |
|
|
|
install-data-am: install-man |
|
install-data: install-data-am |
|
|
|
install-am: all-am |
|
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am |
|
install: install-am |
|
uninstall-am: uninstall-binPROGRAMS uninstall-man |
|
uninstall: uninstall-am |
|
all-am: Makefile $(PROGRAMS) $(MANS) |
|
all-redirect: all-am |
|
install-strip: |
install-strip: |
$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install |
|
|
|
installdirs: |
installdirs: |
$(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man1 |
|
|
|
# Clean {{{ |
|
mostlyclean-generic: |
|
|
|
clean-generic: |
install-man: $(MANS) |
|
|
|
uninstall-man: |
|
|
|
|
|
# }}} Section: Install |
|
|
distclean-generic: |
# vim600: fdm=marker fdc=3 |
-rm -f Makefile $(CONFIG_CLEAN_FILES) |
|
-rm -f config.cache config.log |
|
|
|
maintainer-clean-generic: |
|
mostlyclean-am: mostlyclean-hdr mostlyclean-binPROGRAMS \ |
|
mostlyclean-compile mostlyclean-tags mostlyclean-depend \ |
|
mostlyclean-generic |
|
|
|
mostlyclean: mostlyclean-am |
|
|
|
clean-am: clean-hdr clean-binPROGRAMS clean-compile clean-tags \ |
|
clean-depend clean-generic mostlyclean-am |
|
|
|
clean: clean-am |
|
|
|
distclean-am: distclean-hdr distclean-binPROGRAMS distclean-compile \ |
|
distclean-tags distclean-depend distclean-generic \ |
|
clean-am |
|
|
|
distclean: distclean-am |
|
-rm -f config.status |
|
|
|
maintainer-clean-am: maintainer-clean-hdr maintainer-clean-binPROGRAMS \ |
|
maintainer-clean-compile maintainer-clean-tags \ |
|
maintainer-clean-depend maintainer-clean-generic \ |
|
distclean-am |
|
@echo "This command is intended for maintainers to use;" |
|
@echo "it deletes files that may require special tools to rebuild." |
|
|
|
maintainer-clean: maintainer-clean-am |
|
-rm -f config.status |
|
# }}} Clean |
|
|
|
# Libs: {{{ |
|
HTML_LIB = libplaton_html |
|
STR_LIB = libplaton_str |
|
TELNET_LIB = libplaton_telnet |
|
UTILS_LIB = libplaton_utils |
|
|
|
BUILD_LIBS = @BUILD_LIBS@ |
|
|
|
$(LIBPLATON): |
|
LIBOBJS=`find $(BUILD_LIBS) -name \*.o -print`; \ |
|
$(AR) $@ $$LIBOBJS |
|
$(RANLIB) $@ |
|
|
|
# }}} Libs: |
|
|
|
.PHONY: mostlyclean-hdr distclean-hdr clean-hdr maintainer-clean-hdr \ |
|
mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \ |
|
maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \ |
|
mostlyclean-compile distclean-compile clean-compile \ |
|
maintainer-clean-compile install-man1 uninstall-man1 install-man \ |
|
uninstall-man tags mostlyclean-tags distclean-tags clean-tags \ |
|
maintainer-clean-tags distdir mostlyclean-depend distclean-depend \ |
|
clean-depend maintainer-clean-depend info-am info dvi-am dvi check \ |
|
check-am installcheck-am installcheck all-recursive-am install-exec-am \ |
|
install-exec install-data-am install-data install-am install \ |
|
uninstall-am uninstall all-redirect all-am all installdirs \ |
|
mostlyclean-generic distclean-generic clean-generic \ |
|
maintainer-clean-generic clean mostlyclean distclean maintainer-clean |
|
|
|
|
|
# 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: |
|