#
# Copyright (c) 2003, Purdue University
# All rights reserved.
#
# Redistribution and use in source and binary forms are permitted provided
# that:
#
# (1) source distributions retain this entire copyright notice and comment,
#     and
# (2) distributions including binaries display the following acknowledgement:
#
#        "This product includes software developed by Purdue University."
#
#     in the documentation or other materials provided with the distribution
#     and in all advertising materials mentioning features or use of this
#     software.
#
# The name of the University may not be used to endorse or promote products
# derived from this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
# WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
# MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
#
# This software was developed by:
#    Curtis Smith
#
#    Purdue University
#    Engineering Computer Network
#    1285 Electrical Engineering Building
#    West Lafayette, Indiana 47907-1285 U.S.A.
#
# Send all comments, suggestions, or bug reports to:
#    software@ecn.purdue.edu
#

PATH_TO_SSL=/usr/local/ssl
PATH_TO_CRACKLIB=/usr/local/cracklib
CFLAGS=-O -I$(PATH_TO_SSL)/include -DCRACKLIB_DICTPATH=\"$(PATH_TO_CRACKLIB)/dict\"
LIBS=-L$(PATH_TO_SSL)/lib -R$(PATH_TO_SSL)/lib -lcrypto -L$(PATH_TO_CRACKLIB)/cracklib -lcrack

genrpass:	genrpass.o
		cc $(CFLAGS) -o genrpass genrpass.o $(LIBS)

clean:
		rm -f a.out core *.core genrpass genrpass.o
