#!gmake # CC = @CC@ prefix = @prefix@ exec_prefix = @exec_prefix@ datarootdir = @datarootdir@ includedir = @includedir@ libdir = @libdir@ libexecdir = @libexecdir@ bindir = @bindir@ sbindir = @sbindir@ mandir = @mandir@ VPATH = @srcdir@:@libreplacedir@ srcdir = @srcdir@ builddir = @builddir@ sharedbuilddir = @sharedbuilddir@ INSTALLCMD = @INSTALL@ EXTRA_OBJ=@EXTRA_OBJ@ SSSD_LIBEXEC_PATH = @SSSD_LIBEXEC_PATH@ PACKAGE_VERSION = @PACKAGE_VERSION@ srvdir = $(srcdir) TALLOC_LIBS = @TALLOC_LIBS@ TALLOC_CFLAGS = @TALLOC_CFLAGS@ TDB_LIBS = @TDB_LIBS@ TDB_CFLAGS = @TDB_CFLAGS@ EVENTS_LIBS = @EVENTS_LIBS@ EVENTS_CFLAGS = @EVENTS_CFLAGS@ POPT_LIBS = @POPT_LIBS@ POPT_CFLAGS = @POPT_CFLAGS@ LDB_LIBS = @LDB_LIBS@ LDB_CFLAGS = @LDB_CFLAGS@ DBUS_LIBS = @DBUS_LIBS@ DBUS_CFLAGS = @DBUS_CFLAGS@ LIBDL = @LIBDL@ SHLIBEXT = @SHLIBEXT@ LD_EXPORT_DYNAMIC = @LD_EXPORT_DYNAMIC@ SHLD = @SHLD@ SHLD_FLAGS = @SHLD_FLAGS@ LDFLAGS += @LDFLAGS@ LIBS = @LIBS@ $(TALLOC_LIBS) $(TDB_LIBS) $(EVENTS_LIBS) $(POPT_LIBS) $(LDB_LIBS) $(DBUS_LIBS) PICFLAG = @PICFLAG@ CFLAGS += -g -I$(srcdir)/include -Iinclude -I$(srcdir) -I$(srcdir)/.. \ $(POPT_CFLAGS) $(TALLOC_CFLAGS) $(TDB_CFLAGS) $(EVENTS_CFLAGS) $(LDB_CFLAGS) $(DBUS_CFLAGS)\ -DLIBDIR=\"$(libdir)\" -DSHLIBEXT=\"$(SHLIBEXT)\" -DSSSD_LIBEXEC_PATH=\"$(SSSD_LIBEXEC_PATH)\" -DUSE_MMAP=1 @CFLAGS@ MDLD = @MDLD@ MDLD_FLAGS = @MDLD_FLAGS@ OBJS = $(SERVER_OBJ) @LIBREPLACEOBJ@ $(EXTRA_OBJ) headers = LIBEXECBINS = sbin/sssd_nss sbin/sssd_dp sbin/sssd_be sbin/sssd_info sbin/sssd_pk BINS = sbin/sssd $(LIBEXECBINS) SOLIBS = lib/libsss_proxy.$(SHLIBEXT) DIRS = sbin lib default: all include $(srvdir)/rules.mk all: showflags dirs $(OBJS) $(BINS) $(SOLIBS) shared-build: all dirs: @mkdir -p $(DIRS) clean:: rm -f *.o */*.o */*/*.o rm -f $(BINS) $(SOLIBS) distclean:: clean rm -rf $(DIRS) rm -f config.log config.status config.cache config.h rm -f Makefile realdistclean:: distclean rm -f configure config.h.in install:: all installdirs installheaders installlibs installbin installdirs:: mkdir -p $(DESTDIR)$(includedir) $(DESTDIR)$(libdir) $(DESTDIR)$(sbindir) installheaders:: installdirs ifneq (x$(headers), x) cp $(headers) $(DESTDIR)$(includedir) endif installlibs:: installdirs ifneq (x$(STATICLIB)$(LIBSOLIB), x) cp $(STATICLIB) $(LIBSOLIB) $(DESTDIR)$(libdir) endif installbin:: installdirs include $(srvdir)/server.mk