#!gmake
#
prefix = @prefix@
datarootdir = @datarootdir@
exec_prefix = @exec_prefix@
includedir = @includedir@
libdir = @libdir@
mandir = @mandir@
VPATH = @srcdir@:@libreplacedir@
srcdir = @srcdir@
builddir = @builddir@
XSLTPROC = @XSLTPROC@
INSTALLCMD = @INSTALL@
CC = @CC@
CFLAGS = @CFLAGS@ -DHAVE_CONFIG_H= -I. -I@srcdir@
EXTRA_TARGETS = @DOC_TARGET@
PICFLAG = @PICFLAG@
PACKAGE_VERSION = @PACKAGE_VERSION@
SHLIBEXT = @SHLIBEXT@
SHLD_FLAGS = @SHLD_FLAGS@
tallocdir = @tallocdir@

LIBOBJ = $(TALLOC_OBJ) @LIBREPLACEOBJ@

all:: showflags $(EXTRA_TARGETS)

include $(tallocdir)/rules.mk
include $(tallocdir)/talloc.mk

$(SOLIB): $(LIBOBJ)
	$(CC) $(SHLD_FLAGS) -o $@ $(LIBOBJ) @SONAMEFLAG@$(SONAME)

check: test

installcheck:: test install

distclean:: clean
	rm -f Makefile
	rm -f config.log config.status config.h config.cache

realdistclean:: distclean
	rm -f configure config.h.in