Home | History | Annotate | Line # | Download | only in plugin
Makefile.am revision 1.1.1.1
      1 # $Id: Makefile.am,v 1.1.1.1 2011/04/13 18:16:02 elric Exp $
      2 
      3 include $(top_srcdir)/Makefile.am.common
      4 
      5 noinst_DATA = krb5.conf
      6 
      7 SCRIPT_TESTS = check-pac
      8 TESTS = $(SCRIPT_TESTS)
      9 
     10 port = 49188
     11 
     12 do_subst = sed -e 's,[@]srcdir[@],$(srcdir),g' \
     13 	-e 's,[@]port[@],$(port),g' \
     14 	-e 's,[@]objdir[@],$(top_builddir)/tests/plugin,g' \
     15 	-e 's,[@]EGREP[@],$(EGREP),g' 
     16 
     17 LDADD = ../../lib/krb5/libkrb5.la $(LIB_roken)
     18 
     19 check-pac: check-pac.in Makefile
     20 	$(do_subst) < $(srcdir)/check-pac.in > check-pac.tmp
     21 	chmod +x check-pac.tmp
     22 	mv check-pac.tmp check-pac
     23 
     24 krb5.conf: krb5.conf.in Makefile
     25 	$(do_subst) < $(srcdir)/krb5.conf.in > krb5.conf.tmp
     26 	mv krb5.conf.tmp krb5.conf
     27 
     28 lib_LTLIBRARIES = windc.la
     29 
     30 windc_la_SOURCES = windc.c
     31 windc_la_LDFLAGS = -module
     32 
     33 CLEANFILES= \
     34 	$(TESTS) \
     35 	server.keytab \
     36 	current-db* \
     37 	foopassword \
     38 	krb5.conf krb5.conf.tmp \
     39 	messages.log
     40 
     41 EXTRA_DIST = \
     42 	check-pac.in \
     43 	krb5.conf.in
     44