head 1.12; access; symbols MM_1_4_2:1.11 MM_1_4_1:1.11 MM_1_4_0:1.10 MM_1_3_1:1.9 MM_1_3_0:1.8 MM_1_2_2:1.8 MM_1_2_1:1.6 MM_1_2_0:1.6 MM_1_1_3:1.3 MM_1_1_2:1.3 MM_1_1_1:1.3 MM_1_1_0:1.3 MM_1_0_12:1.2 MM_1_0_11:1.2 MM_1_0_10:1.2 MM_1_0_9:1.2 MM_1_0_8:1.2 MM_1_0_7:1.2 MM_1_0_6:1.2 MM_1_0_5:1.2 MM_1_0_4:1.2 MM_1_0_3:1.2 MM_1_0_1:1.2 MM_1_0_0:1.2 MM_1_0b6:1.1 MM_1_0b5:1.1 MM_1_0b4:1.1; locks; strict; comment @# @; 1.12 date 2007.01.01.18.26.34; author rse; state Exp; branches; next 1.11; commitid xbmVq17WhC8zJP0s; 1.11 date 2006.08.10.19.00.33; author rse; state Exp; branches; next 1.10; commitid zS8gipIRuG1bykIr; 1.10 date 2005.09.02.20.00.46; author rse; state Exp; branches; next 1.9; 1.9 date 2004.09.12.18.35.01; author rse; state Exp; branches; next 1.8; 1.8 date 2002.12.19.09.25.23; author rse; state Exp; branches; next 1.7; 1.7 date 2002.12.19.09.14.58; author rse; state Exp; branches; next 1.6; 1.6 date 2002.07.26.13.04.40; author rse; state Exp; branches; next 1.5; 1.5 date 2002.07.26.09.59.34; author rse; state Exp; branches; next 1.4; 1.4 date 2001.01.29.20.27.22; author rse; state Exp; branches; next 1.3; 1.3 date 2000.01.09.20.19.40; author rse; state Exp; branches; next 1.2; 1.2 date 99.03.28.11.45.32; author rse; state Exp; branches; next 1.1; 1.1 date 99.03.15.15.18.39; author rse; state Exp; branches; next ; desc @@ 1.12 log @Updated all copyright messages for year 2007 @ text @## ==================================================================== ## Copyright (c) 1999-2007 Ralf S. Engelschall ## Copyright (c) 1999-2007 The OSSP Project ## ## Redistribution and use in source and binary forms, with or without ## modification, are permitted provided that the following conditions ## are met: ## ## 1. Redistributions of source code must retain the above copyright ## notice, this list of conditions and the following disclaimer. ## ## 2. Redistributions in binary form must reproduce the above copyright ## notice, this list of conditions and the following disclaimer in ## the documentation and/or other materials provided with the ## distribution. ## ## 3. All advertising materials mentioning features or use of this ## software must display the following acknowledgment: ## "This product includes software developed by ## Ralf S. Engelschall ." ## ## 4. Redistributions of any form whatsoever must retain the following ## acknowledgment: ## "This product includes software developed by ## Ralf S. Engelschall ." ## ## THIS SOFTWARE IS PROVIDED BY RALF S. ENGELSCHALL ``AS IS'' AND ANY ## EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE ## IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR ## PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL RALF S. ENGELSCHALL OR ## ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, ## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT ## NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; ## LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) ## HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, ## STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ## ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED ## OF THE POSSIBILITY OF SUCH DAMAGE. ## ==================================================================== ## ## mm-config.pod -- Manpage ## =pod =head1 NAME B - OSSP mm library configuration/build utility =head1 VERSION OSSP mm MM_VERSION_STR =head1 SYNOPSIS B [B<--help>] [B<--version>] [B<--cflags>] [B<--ldflags>] [B<--libs>] =head1 DESCRIPTION The B program is a little helper utility for easy configuring and building applications based on the mm(3) library. It can be used to query the C compiler and linker flags which are required to correctly compile and link the application against the mm(3) library. =head1 OPTIONS B accepts the following options: =over 4 =item B<--help> Prints the short usage information. =item B<--version> Prints the version number and date of the installed mm(3) library. =item B<--cflags> Prints the C compiler flags which are needed to compile the mm(3)-based application. The output is usually added to the C variable of the applications C. =item B<--ldflags> Prints the linker flags (C<-L>) which are needed to link the application with the mm(3) library. The output is usually added to the C variable of the applications C. =item B<--libs> Prints the library flags (C<-l>) which are needed to link the application with the mm(3) library. The output is usually added to the C variable of the applications C. =back =head1 EXAMPLE CC=cc CFLAGS=-O `mm-config --cflags` LDFLAGS=`mm-config --ldflags` LIBS=-lm `mm-config --libs` all: foo foo: foo.o $(CC) $(LDFLAGS) -o foo foo.o $(LIBS) foo.o: foo.c $(CC) $(CFLAGS) -c foo.c =head1 SEE ALSO mm(3). =head1 AUTHOR Ralf S. Engelschall rse@@engelschall.com www.engelschall.com =cut @ 1.11 log @bump copyright for year 2006 @ text @d2 2 a3 2 ## Copyright (c) 1999-2006 Ralf S. Engelschall ## Copyright (c) 1999-2006 The OSSP Project @ 1.10 log @adjust copyright year @ text @d2 2 a3 2 ## Copyright (c) 1999-2005 Ralf S. Engelschall ## Copyright (c) 1999-2005 The OSSP Project @ 1.9 log @adjust year in copyright messages @ text @d2 2 a3 2 ## Copyright (c) 1999-2004 Ralf S. Engelschall ## Copyright (c) 1999-2004 The OSSP Project @ 1.8 log @Updated all copyright messages with forthcoming year 2003, added OSSP project as secondary copyright holder, added standard OSSP ASCII-art logo to documents, etc. @ text @d2 2 a3 2 ## Copyright (c) 1999-2003 Ralf S. Engelschall ## Copyright (c) 1999-2003 The OSSP Project @ 1.7 log @Stripped trailing whitespaces from all files in source tree. @ text @d2 2 a3 1 ## Copyright (c) 1999-2002 Ralf S. Engelschall. All rights reserved. @ 1.6 log @major source tree overhauling @ text @d9 1 a9 1 ## notice, this list of conditions and the following disclaimer. d56 1 a56 1 B d68 1 a68 1 the application against the mm(3) library. d110 1 a110 1 @ 1.5 log @bump copyright year @ text @d48 1 a48 1 B - MM library configuration/build utility d52 1 a52 1 MM MM_VERSION_STR @ 1.4 log @*** empty log message *** @ text @d2 1 a2 1 ## Copyright (c) 1999-2001 Ralf S. Engelschall. All rights reserved. @ 1.3 log @*** empty log message *** @ text @d2 1 a2 1 ## Copyright (c) 1999-2000 Ralf S. Engelschall. All rights reserved. @ 1.2 log @*** empty log message *** @ text @d2 1 a2 1 ## Copyright (c) 1999 Ralf S. Engelschall. All rights reserved. @ 1.1 log @*** empty log message *** @ text @d57 1 a61 1 [B<--help>] d65 4 a68 4 The B program is a little helper utility for easy configuring/building applications based on the mm(3) library. It can be used to query the C compiler and linker flags which are required to correctly compile and link the application against the mm(3) library. d75 4 @