# Please NOTE: None of the TACACS code available here comes with any # warranty or support. # Copyright (c) 1995-1998 by Cisco systems, Inc. # # Permission to use, copy, modify, and distribute this software for any # purpose and without fee is hereby granted, provided that this # copyright and permission notice appear on all copies of the software and # supporting documentation, the name of Cisco Systems, Inc. not be used # in advertising or publicity pertaining to distribution of the # program without specific prior permission, and notice be given # in supporting documentation that modification, copying and distribution is by # permission of Cisco Systems, Inc. # # Cisco Systems, Inc. makes no representations about the suitability of this # software for any purpose. THIS SOFTWARE IS PROVIDED ``AS IS'' # AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT # LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS # FOR A PARTICULAR PURPOSE. AUTOMAKE_OPTIONS = foreign sbin_PROGRAMS = tac_plus bin_PROGRAMS = generate_passwd man_MANS = tac_plus.1 noinst_MANS = tac_regexp.3 tacacssysconfdir = $(sysconfdir)/tacacs tacacssysconf_DATA = tac_plus.cfg EXTRA_DIST = \ CHANGES \ README.LDAP \ README.PAM \ users_guide \ tac_plus.spec.in \ convert.pl \ tac_plus.cfg \ tac_plus.init \ tac_plus.rotate \ tac_plus.sql \ tac_plus.pam \ $(tacacssysconf_DATA) \ $(man_MANS) \ $(noinst_MANS) generate_passwd_SOURCES = generate_passwd.c tac_plus_SOURCES = \ acct.c acct.h \ authen.c authen.h \ author.c author.h \ cfgfile.c cfgfile.h \ cfgeval.c cfgeval.h \ choose_authen.c choose_authen.h \ default_fn.c default_fn.h \ default_v0_fn.c default_v0_fn.h \ do_acct.c do_acct.h \ do_author.c do_author.h \ dump.c dump.h \ enable.c enable.h \ encrypt.c encrypt.h \ expire.c expire.h \ hash.c hash.h \ main.c main.h \ md5.c md5.h \ packet.c packet.h \ parse.c parse.h \ programs.c programs.h \ pw.c pw.h \ pwlib.c pwlib.h \ report.c report.h \ sendauth.c sendauth.h \ sendpass.c sendpass.h \ time_limit.c time_limit.h \ utils.c utils.h \ mschap.h \ tac_regmagic.h \ tac_plus.h EXTRA_tac_plus_SOURCES = $(cond) tac_plus_LDFLAGS = $(conf_LDFLAGS) # $(use_o) has to be BEFORE $(conf_LDADD)! (for library dependencies) tac_plus_LDADD = $(use_o) $(conf_LDADD) tac_plus_DEPENDENCIES = $(use_o) use = @COND_USE@ use_o = $(filter %.o,$(use:.c=.o)) cond_DB = db.c db.h cond_DB_MYSQL = db_mysql.c db_mysql.h cond_DB_NULL = db_null.c db_null.h cond_DB_PGSQL = db_pgsql.c db_pgsql.h cond_USE_LDAP = ldap_author.c ldap_author.h cond_MAXSESS = maxsess.c maxsess.h cond_MSCHAP = md4.c md4.h cond_SKEY = skey_fn.c skey_fn.h cond_USE_PAM = tac_pam.c tac_pam.h cond_TCPWRAPPER = tcpwrap.c tcpwrap.h cond_WITH_INCLUDED_REGEX = \ tac_regexp.c tac_regexp.h cond = \ $(cond_DB) \ $(cond_DB_MYSQL) \ $(cond_DB_NULL) \ $(cond_DB_PGSQL) \ $(cond_USE_LDAP) \ $(cond_MAXSESS) \ $(cond_MSCHAP) \ $(cond_SKEY) \ $(cond_USE_PAM) \ $(cond_TCPWRAPPER) \ $(cond_WITH_INCLUDED_REGEX) # These rules were not migrated from Makefile.in as I don't have # (and I don't know) 'purify' tool: # # purecov: $(OBJS) $(LIBS) # purecov -follow-child-processes -handle-signals=SIGTERM \ # -append-logfile -log-file=purecov.log \ # -cache-dir=`pwd` \ # $(CC) -o tac_plus $(CFLAGS) $(OBJS) $(LIBS) $(OSLIBS) # # purify: $(OBJS) $(LIBS) # purify -follow-child-processes=yes -log-file=./tac_plus_purify.log \ # -handle-signals=SIGTERM -cache-dir=. \ # $(CC) -o tac_plus $(CFLAGS) $(OBJS) $(LIBS) $(OSLIBS)