2006-09-22 08:16:58 +04:00
#!gmake
#
prefix = @prefix@
datarootdir = @datarootdir@
exec_prefix = @exec_prefix@
includedir = @includedir@
libdir = @libdir@
mandir = @mandir@
VPATH = @srcdir@:@libreplacedir@
srcdir = @srcdir@
builddir = @builddir@
2008-09-19 23:15:21 +04:00
sharedbuilddir = @sharedbuilddir@
2006-09-22 08:16:58 +04:00
XSLTPROC = @XSLTPROC@
INSTALLCMD = @INSTALL@
CC = @CC@
2007-05-08 15:12:11 +04:00
CFLAGS = @CFLAGS@ -DHAVE_CONFIG_H= -I. -I@srcdir@
2006-09-22 08:16:58 +04:00
EXTRA_TARGETS = @DOC_TARGET@
2007-11-06 21:24:12 +03:00
PICFLAG = @PICFLAG@
2009-08-20 15:43:42 +04:00
TALLOC_VERSION = @TALLOC_VERSION@
TALLOC_VERSION_MAJOR = @TALLOC_VERSION_MAJOR@
TALLOC_VERSION_MINOR = @TALLOC_VERSION_MINOR@
TALLOC_VERSION_RELEASE = @TALLOC_VERSION_RELEASE@
2007-11-06 21:24:12 +03:00
SHLIBEXT = @SHLIBEXT@
2008-09-14 21:18:12 +04:00
SHLD = @SHLD@
2007-11-06 21:24:12 +03:00
SHLD_FLAGS = @SHLD_FLAGS@
2008-02-12 00:52:42 +03:00
tallocdir = @tallocdir@
2006-09-22 08:16:58 +04:00
2008-02-12 00:52:42 +03:00
LIBOBJ = $( TALLOC_OBJ) @LIBREPLACEOBJ@
2006-09-22 08:16:58 +04:00
2009-06-07 22:20:36 +04:00
SONAMEFLAG = @SONAMEFLAG@
VERSIONSCRIPT = @VERSIONSCRIPT@
EXPORTSFILE = @EXPORTSFILE@
2008-02-12 00:52:42 +03:00
all :: showflags $( EXTRA_TARGETS )
2006-09-22 08:16:58 +04:00
2008-02-12 01:51:59 +03:00
i n c l u d e $( tallocdir ) / r u l e s . m k
i n c l u d e $( tallocdir ) / t a l l o c . m k
2006-09-22 08:16:58 +04:00
2009-08-21 11:25:57 +04:00
@ T A L L O C _ C O M P A T 1 _ M K @
2008-09-14 21:18:12 +04:00
$(TALLOC_SOLIB) : $( LIBOBJ )
2009-06-07 22:20:36 +04:00
$( SHLD) $( SHLD_FLAGS) -o $@ $( LIBOBJ) $( VERSIONSCRIPT) $( EXPORTSFILE) $( SONAMEFLAG) $( TALLOC_SONAME)
2007-11-06 21:24:12 +03:00
2008-09-19 23:15:21 +04:00
shared-build : all
${ INSTALLCMD } -d $( sharedbuilddir) /lib
${ INSTALLCMD } -m 644 libtalloc.a $( sharedbuilddir) /lib
${ INSTALLCMD } -m 755 $( TALLOC_SOLIB) $( sharedbuilddir) /lib
ln -sf $( TALLOC_SOLIB) $( sharedbuilddir) /lib/$( TALLOC_SONAME)
ln -sf $( TALLOC_SOLIB) $( sharedbuilddir) /lib/libtalloc.so
${ INSTALLCMD } -d $( sharedbuilddir) /include
${ INSTALLCMD } -m 644 $( srcdir) /talloc.h $( sharedbuilddir) /include
2008-02-12 00:05:52 +03:00
check : test
2008-02-12 00:52:42 +03:00
installcheck :: test install
2006-09-22 08:16:58 +04:00
2008-02-12 00:05:52 +03:00
distclean :: clean
2006-09-22 08:16:58 +04:00
rm -f Makefile
rm -f config.log config.status config.h config.cache
2008-02-12 00:05:52 +03:00
realdistclean :: distclean
2006-09-22 08:16:58 +04:00
rm -f configure config.h.in