Merge branch 'vendor/BMAKE'
[dragonfly.git] / contrib / opie / libopie / Makefile.in
1 ##
2 # Makefile.in/Makefile: Directions for building libopie.
3 #
4 # %%% copyright-cmetz-96
5 # This software is Copyright 1996-2001 by Craig Metz, All Rights Reserved.
6 # The Inner Net License Version 3 applies to this software.
7 # You should have received a copy of the license with this software. If
8 # you didn't get a copy, you may request one from <license@inner.net>.
9 #
10 #       History:
11 #
12 #       Modified by cmetz for OPIE 2.4. Add libmissing to include header path.
13 #               Use ar 'cr' instead of 'r'. Renamed realclean to distclean.
14 #       Modified by cmetz for OPIE 2.31. Added logwtmp.o
15 #       Created by cmetz for OPIE 2.3 using old Makefiles as a guide.
16
17 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
18
19 CC=@CC@
20 CFLAGS=$(CFL) -I.. -I../libmissing
21 TARGET=libopie.a
22
23 all: $(TARGET)
24
25 $(TARGET): $(OBJS)
26         @AR@ @ARFLAGS@ $(TARGET) $(OBJS)
27         @RANLIB@ $(TARGET)
28
29 clean:
30         -rm -f $(OBJS) $(TARGET)
31
32 realclean: distclean
33
34 distclean: clean
35         -rm -f *~ core* "\#*\#" *.o *.a Makefile