#  npasswd utility shims
#  
#  Created: 25 May 2001
#  Release: $Name: userkit_105 $
#  Version: $Revision: 1.2 $
#  Last Mod Date: $Date: 2001/09/11 06:45:44 $
#  Module By: Jonathan Abbey, jonabbey@arlut.utexas.edu
#  -----------------------------------------------------------------------
#
#  Ganymede Directory Management System
#
#  Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
#  The University of Texas at Austin.
#
#  Contact information
#
#  Author Email: ganymede_author@arlut.utexas.edu
#  Email mailing list: ganymede@arlut.utexas.edu
#
#  US Mail:
#
#  Computer Science Division
#  Applied Research Laboratories
#  The University of Texas at Austin
#  PO Box 8029, Austin TX 78713-8029
#
#  Telephone: (512) 835-3200
#
#  This program is free software; you can redistribute it and/or modify
#  it under the terms of the GNU General Public License as published by
#  the Free Software Foundation; either version 2 of the License, or
#  (at your option) any later version.
#
#  This program is distributed in the hope that it will be useful,
#  but WITHOUT ANY WARRANTY; without even the implied warranty of
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#  GNU General Public License for more details.
#
#  You should have received a copy of the GNU General Public License
#  along with this program; if not, write to the Free Software
#  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
#  02111-1307, USA

# What C compiler do we want to use?  Any C compiler should work
# fine

CC=gcc

# The directory that contains the npasswd libcheckpassword.a file

LIBRARYDIR=/opt/depot/npasswd-2.05/lib

# The directory that contains the checkpassword.h include file from
# the npasswd suite

INCLUDEDIR=/opt/depot/npasswd-2.05/etc

# On my RedHat 6.1 system, I had to add -lcrypt to make things
# resolve properly
#
# LIBS=-lcrypt
#
LIBS=

ganypassValidate: ganypassValidate.c
	${CC} -I${INCLUDEDIR} -o ganypassValidate ganypassValidate.c ${LIBS} ${LIBRARYDIR}/libcheckpassword.a
	chmod 755 ganypassValidate

ganypassSave: ganypassSave.c
	${CC} -I${INCLUDEDIR} -o ganypassSave ganypassSave.c ${LIBS} ${LIBRARYDIR}/libcheckpassword.a
	chmod 755 ganypassValidate
