From 4b0985f8573840838bcfa8ec1df3dcd39a3dbf15 Mon Sep 17 00:00:00 2001 From: Greg Hudson Date: Thu, 16 May 2013 14:21:12 -0400 Subject: Reduce boilerplate in makefiles Provide default values in pre.in for PROG_LIBPATH, PROG_RPATH, SHLIB_DIRS, SHLIB_RDIRS, and STOBJLISTS so that they don't have to be specified in the common case. Rename KRB5_RUN_ENV and KRB5_RUN_VARS to RUN_SETUP (already the most commonly used name) and RUN_VARS. Make sure to use DEFINES for local defines (not DEFS). Remove some other unnecessary makefile content. --- src/plugins/localauth/test/Makefile.in | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src/plugins/localauth/test') diff --git a/src/plugins/localauth/test/Makefile.in b/src/plugins/localauth/test/Makefile.in index fd1d65653..c509f837b 100644 --- a/src/plugins/localauth/test/Makefile.in +++ b/src/plugins/localauth/test/Makefile.in @@ -1,19 +1,13 @@ mydir=plugins$(S)localauth$(S)test BUILDTOP=$(REL)..$(S)..$(S).. -PROG_LIBPATH=-L$(TOPLIBD) -PROG_RPATH=$(KRB5_LIBDIR) LIBBASE=localauth_test LIBMAJOR=0 LIBMINOR=0 -SO_EXT=.so RELDIR=../plugins/localauth/test SHLIB_EXPDEPS=$(SUPPORT_DEPLIB) SHLIB_EXPLIBS=$(SUPPORT_LIB) $(LIBS) -SHLIB_DIRS=-L$(TOPLIBD) -SHLIB_RDIRS=$(KRB5_LIBDIR) -STOBJLISTS=OBJS.ST STLIBOBJS=main.o SRCS=$(srcdir)/main.c @@ -22,8 +16,5 @@ all-unix:: all-libs install-unix:: clean-unix:: clean-libs clean-libobjs -clean:: - $(RM) lib$(LIBBASE)$(SO_EXT) - @libnover_frag@ @libobj_frag@ -- cgit