# $Id: Makefile.am,v 1.17 2003/05/28 18:30:55 aa5779 Exp $ # Copyright (C) 2001, 2002, 2003 by Artem V. Andreev # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # # AUTOMAKE_OPTIONS = gnu srcdir=@srcdir@ VPATH=@srcdir@ DOCSTRIP=@DOCSTRIP@ if PROFILE if OBJC lib_LTLIBRARIES = libutilso_p.la libutilso_p_la_SOURCES = lists.c util.c dstring.c fnmatch.c libutilso_p_la_LDFLAGS = -version-info 1:0:1 else lib_LTLIBRARIES = libutils_p.la libutils_p_la_SOURCES = lists.c util.c dstring.c fnmatch.c libutils_p_la_LDFLAGS = -version-info 1:0:1 endif else if OBJC lib_LTLIBRARIES = libutilso.la libutilso_la_SOURCES = lists.c util.c dstring.c fnmatch.c libutilso_la_LDFLAGS = -version-info 1:0:1 else lib_LTLIBRARIES = libutils.la libutils_la_SOURCES = lists.c util.c dstring.c fnmatch.c libutils_la_LDFLAGS = -version-info 1:0:1 endif dist_man_MANS = libutils.3 include_HEADERS = lists.h util.h dstring.h gfnmatch.h endif lists.o : lists.c lists.h util.h dstring.o : dstring.c dstring.h util.h util.o : util.c util.h EXTRA_DIST = overview.doc bootstrap.sh fake_docstrip.sh libutils.3 : overview.doc util.c util.h dstring.c dstring.h.in lists.c lists.h $(DOCSTRIP) --directory=$(srcdir) --mode=dev overview.doc libutils.3 snapshot: dist mv $(PACKAGE)-$(VERSION).tar.gz $(PACKAGE)-`date +%Y%m%d`.tar.gz install-data-local: $(INSTALL_DATA) $(srcdir)/acinclude.m4 @aclocaldir@/libutils.m4