[svn] / ecrypt / trunk / submissions / nls / unused / Makefile.nls  

svn: ecrypt/trunk/submissions/nls/unused/Makefile.nls

File: [svn] / ecrypt / trunk / submissions / nls / unused / Makefile.nls (download)
Revision: 1, Sun Jun 26 18:46:26 2005 UTC (7 years, 10 months ago) by cdecanni
File size: 913 byte(s)
* imported original ECRYPT submissions after first automatic cleanup.
# $Id: Makefile.nls 388 2005-04-28 21:04:09Z mwp $

NLS_SRC = nls.h hexlib.h nlssbox.h nlsmultab.h nlsref.c \
	nlstest.c nlsfast.c hexlib.c\
	README Makefile Makefile.config Makefile.nls
NLSREF_OBJS = nlsref.o nlstest.o hexlib.o
NLSFAST_OBJS = nlsfast.o nlstest.o hexlib.o

all: nlsref nlsfast

nlsref: $(NLSREF_OBJS)
	$(CC) $(LDFLAGS) -o $@ $(NLSREF_OBJS)

nlsfast: $(NLSFAST_OBJS)
	$(CC) $(LDFLAGS) -o $@ $(NLSFAST_OBJS)

nlsfast.o: nls.h nlssbox.h nlsmultab.h
nlsref.o: nls.h nlssbox.h nlsmultab.h
nlstest.o: nls.h hexlib.h
hexlib.o: hexlib.h

dist: nls-$(VERSION).tgz
nls-$(VERSION).tgz: $(NLS_SRC)
	$(TAR) zcf nls-$(VERSION).tgz $(NLS_SRC)

test: nlstest
nlstest: nlsref nlsfast
	-./nlsref -test
	-./nlsfast -test

time: nlstime
nlstime: nlsref nlsfast
	./nlsref -time
	./nlsfast -time

clean: nlsclean
nlsclean:
	$(RM) -f nlsref $(NLSREF_OBJS)
	$(RM) -f nlsfast $(NLSFAST_OBJS)
	$(RM) -f nls-$(VERSION).tgz

eSTREAM Project

Powered by ViewCVS 1.0-dev
(Powered by Apache)

ViewCVS and CVS Help