Home | History | Annotate | Line # | Download | only in plugin
      1 # Id
      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,[@]env_setup[@],$(top_builddir)/tests/bin/setup-env,g' \
     14 	-e 's,[@]port[@],$(port),g' \
     15 	-e 's,[@]objdir[@],$(top_builddir)/tests/plugin,g' \
     16 	-e 's,[@]EGREP[@],$(EGREP),g' 
     17 
     18 LDADD = ../../lib/krb5/libkrb5.la $(LIB_roken)
     19 
     20 check-pac: check-pac.in Makefile
     21 	$(do_subst) < $(srcdir)/check-pac.in > check-pac.tmp
     22 	chmod +x check-pac.tmp
     23 	mv check-pac.tmp check-pac
     24 
     25 krb5.conf: krb5.conf.in Makefile
     26 	$(do_subst) < $(srcdir)/krb5.conf.in > krb5.conf.tmp
     27 	mv krb5.conf.tmp krb5.conf
     28 
     29 lib_LTLIBRARIES = windc.la
     30 
     31 windc_la_SOURCES = windc.c
     32 windc_la_LDFLAGS = -module
     33 
     34 CLEANFILES= \
     35 	$(TESTS) \
     36 	server.keytab \
     37 	current-db* \
     38 	foopassword \
     39 	krb5.conf krb5.conf.tmp \
     40 	messages.log
     41 
     42 EXTRA_DIST = \
     43 	NTMakefile \
     44 	check-pac.in \
     45 	krb5.conf.in
     46