.\" -*- mode: troff; coding: utf-8 -*- .\" Automatically generated by Pod::Man 5.01 (Pod::Simple 3.43) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>. .ie n \{\ . ds C` . ds C' 'br\} .el\{\ . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "UUID-CONFIG 1" .TH UUID-CONFIG 1 "OSSP uuid 1.6.2" 04-Jul-2008 "Universally Unique Identifier" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH NAME uuid\-config \- OSSP uuid API build utility .SH VERSION .IX Header "VERSION" OSSP uuid 1.6.2 (04-Jul-2008) .SH SYNOPSIS .IX Header "SYNOPSIS" \&\fBuuid-config\fR [\fB\-\-help\fR] [\fB\-\-version\fR] [\fB\-\-all\fR] [\fB\-\-prefix\fR] [\fB\-\-exec\-prefix\fR] [\fB\-\-bindir\fR] [\fB\-\-libdir\fR] [\fB\-\-includedir\fR] [\fB\-\-mandir\fR] [\fB\-\-datadir\fR] [\fB\-\-acdir\fR] [\fB\-\-cflags\fR] [\fB\-\-ldflags\fR] [\fB\-\-libs\fR] .SH DESCRIPTION .IX Header "DESCRIPTION" The \fBuuid-config\fR program is a little helper utility for easy configuring and building applications based on the \fBuuid\fR\|(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 \fBuuid\fR\|(3) library. .SH OPTIONS .IX Header "OPTIONS" \&\fBuuid-config\fR accepts the following options: .IP \fB\-\-help\fR 2 .IX Item "--help" Prints the short usage information. .IP \fB\-\-version\fR 2 .IX Item "--version" Prints the version number and date of the installed \fBuuid\fR\|(3) library. .IP \fB\-\-all\fR 2 .IX Item "--all" Forces the output of all flags, that is, including extra flags which are not \&\fBOSSP uuid\fR specific. .IP \fB\-\-prefix\fR 2 .IX Item "--prefix" Prints the installation prefix of architecture independent files .IP \fB\-\-exec\-prefix\fR 2 .IX Item "--exec-prefix" Prints the installation prefix of architecture dependent files. .IP \fB\-\-bindir\fR 2 .IX Item "--bindir" Prints the installation directory of binaries. .IP \fB\-\-libdir\fR 2 .IX Item "--libdir" Prints the installation directory of libraries. .IP \fB\-\-includedir\fR 2 .IX Item "--includedir" Prints the installation directory of include headers. .IP \fB\-\-mandir\fR 2 .IX Item "--mandir" Prints the installation directory of manual pages. .IP \fB\-\-datadir\fR 2 .IX Item "--datadir" Prints the installation directory of shared data. .IP \fB\-\-acdir\fR 2 .IX Item "--acdir" Prints the installation directory of \fBautoconf\fR data. .IP \fB\-\-cflags\fR 2 .IX Item "--cflags" Prints the C compiler flags which are needed to compile the \fBuuid\fR\|(3)\-based application. The output is usually added to the \f(CW\*(C`CFLAGS\*(C'\fR uuidiable of the applications \f(CW\*(C`Makefile\*(C'\fR. .IP \fB\-\-ldflags\fR 2 .IX Item "--ldflags" Prints the linker flags (\f(CW\*(C`\-L\*(C'\fR) which are needed to link the application with the \fBuuid\fR\|(3) library. The output is usually added to the \f(CW\*(C`LDFLAGS\*(C'\fR uuidiable of the applications \f(CW\*(C`Makefile\*(C'\fR. .IP \fB\-\-libs\fR 2 .IX Item "--libs" Prints the library flags (\f(CW\*(C`\-l\*(C'\fR) which are needed to link the application with the C \fBuuid\fR\|(3) library. The output is usually added to the \f(CW\*(C`LIBS\*(C'\fR uuidiable of the applications \f(CW\*(C`Makefile\*(C'\fR. .SH EXAMPLE .IX Header "EXAMPLE" .Vb 4 \& CC = cc \& CFLAGS = \-O \`uuid\-config \-\-cflags\` \& LDFLAGS = \`uuid\-config \-\-ldflags\` \& LIBS = \-lm \`uuid\-config \-\-libs\` \& \& all: foo \& foo: foo.o \& $(CC) $(LDFLAGS) \-o foo foo.o $(LIBS) \& foo.o: foo.c \& $(CC) $(CFLAGS) \-c foo.c .Ve .SH "SEE ALSO" .IX Header "SEE ALSO" \&\fBuuid\fR\|(3), \fBuuid\fR\|(1), \fBOSSP::uuid\fR\|(3).