1997-02-06 17:52:29 +00:00
|
|
|
##
|
|
|
|
# Makefile.in/Makefile: Directions for building libopie.
|
|
|
|
#
|
1997-09-29 08:53:38 +00:00
|
|
|
# %%% copyright-cmetz-96
|
2002-03-21 22:50:02 +00:00
|
|
|
# This software is Copyright 1996-2001 by Craig Metz, All Rights Reserved.
|
|
|
|
# The Inner Net License Version 3 applies to this software.
|
1997-09-29 08:53:38 +00:00
|
|
|
# You should have received a copy of the license with this software. If
|
|
|
|
# you didn't get a copy, you may request one from <license@inner.net>.
|
1997-02-06 17:52:29 +00:00
|
|
|
#
|
|
|
|
# History:
|
|
|
|
#
|
2002-03-21 22:50:02 +00:00
|
|
|
# Modified by cmetz for OPIE 2.4. Add libmissing to include header path.
|
|
|
|
# Use ar 'cr' instead of 'r'. Renamed realclean to distclean.
|
1997-09-29 08:53:38 +00:00
|
|
|
# Modified by cmetz for OPIE 2.31. Added logwtmp.o
|
1997-02-06 17:52:29 +00:00
|
|
|
# Created by cmetz for OPIE 2.3 using old Makefiles as a guide.
|
|
|
|
|
1997-09-29 08:53:38 +00:00
|
|
|
OBJS=md4c.o md5c.o atob8.o btoa8.o btoh.o challenge.o getsequence.o hash.o hashlen.o keycrunch.o lock.o lookup.o newseed.o parsechallenge.o passcheck.o passwd.o randomchallenge.o readpass.o unlock.o verify.o version.o btoe.o accessfile.o generator.o insecure.o getutmpentry.o readrec.o writerec.o login.o open.o logwtmp.o # sha.o
|
1997-02-06 17:52:29 +00:00
|
|
|
|
|
|
|
CC=@CC@
|
2002-03-21 22:50:02 +00:00
|
|
|
CFLAGS=$(CFL) -I.. -I../libmissing
|
1997-02-06 17:52:29 +00:00
|
|
|
TARGET=libopie.a
|
|
|
|
|
|
|
|
all: $(TARGET)
|
|
|
|
|
|
|
|
$(TARGET): $(OBJS)
|
2002-03-21 22:50:02 +00:00
|
|
|
ar cr $(TARGET) $(OBJS)
|
1997-02-06 17:52:29 +00:00
|
|
|
@RANLIB@ $(TARGET)
|
|
|
|
|
|
|
|
clean:
|
|
|
|
-rm -f $(OBJS) $(TARGET)
|
|
|
|
|
2002-03-21 22:50:02 +00:00
|
|
|
realclean: distclean
|
|
|
|
|
|
|
|
distclean: clean
|
1997-02-06 17:52:29 +00:00
|
|
|
-rm -f *~ core* "\#*\#" *.o *.a Makefile
|