head	1.16;
access;
symbols;
locks
	admcd:1.16; strict;
comment	@# @;


1.16
date	2000.02.01.20.36.59;	author admcd;	state Exp;
branches;
next	1.15;

1.15
date	99.11.20.13.22.56;	author admcd;	state Exp;
branches;
next	1.14;

1.14
date	99.11.17.21.59.37;	author admcd;	state Exp;
branches;
next	1.13;

1.13
date	99.10.10.19.28.20;	author adm36;	state Exp;
branches;
next	1.12;

1.12
date	99.10.10.19.00.45;	author adm36;	state Exp;
branches;
next	1.11;

1.11
date	99.09.15.14.21.06;	author adm36;	state Exp;
branches;
next	1.10;

1.10
date	99.09.15.11.08.30;	author adm36;	state Exp;
branches;
next	1.9;

1.9
date	99.09.14.14.25.06;	author adm36;	state Exp;
branches;
next	1.8;

1.8
date	99.08.13.13.52.09;	author adm36;	state Exp;
branches;
next	1.7;

1.7
date	99.08.06.16.14.17;	author adm36;	state Exp;
branches;
next	1.6;

1.6
date	99.06.08.10.20.27;	author adm36;	state Exp;
branches;
next	1.5;

1.5
date	99.03.29.12.51.05;	author adm36;	state Exp;
branches;
next	1.4;

1.4
date	99.03.24.12.17.12;	author adm36;	state Exp;
branches;
next	1.3;

1.3
date	99.03.18.20.03.04;	author adm36;	state Exp;
branches;
next	1.2;

1.2
date	99.03.16.23.07.53;	author adm36;	state Exp;
branches;
next	1.1;

1.1
date	99.01.30.13.42.04;	author adm36;	state Exp;
branches;
next	;


desc
@makefile for tools
@


1.16
log
@*** empty log message ***
@
text
@#
# Makefile for StegFS components
#

CC = gcc
CFLAGS = -Wall
# CFLAGS = -Wall -I/usr/src/linux/include
# CFLAGS = -g -Wall -DDEVEL_ZEROFILL
AR = ar rc
CIPHEROBJS = serpent.o rc6.o mars.o
OLDPROGS = stegfslevel addlevel
MAINPROGS = mkstegfs rerepl stegfsopen stegfsclose stegfsctrl tunestegfs $(OLDPROGS)
DEVPROGS = readdata junkblock inolist

all: $(MAINPROGS)
devtools: $(DEVPROGS)

mkstegfs: mkstegfs.o stegfs.o sha1.o $(CIPHEROBJS)
	$(CC) $(CFLAGS) -o mkstegfs mkstegfs.o stegfs.o sha1.o $(CIPHEROBJS) \
	-lext2fs

mkstegfs.o: mkstegfs.c stegfs.h

stegfs.o: stegfs.c stegfs.h sha1.h crypto.h

sha1.o: sha1.c sha1.h

serpent.o: serpent.c crypto.h

rc6.o: rc6.c crypto.h

mars.o: mars.c crypto.h

readdata: readdata.o stegfs.o sha1.o $(CIPHEROBJS)
	$(CC) $(CFLAGS) -o readdata readdata.o stegfs.o sha1.o $(CIPHEROBJS) \
	-lext2fs

readdata.o: readdata.c stegfs.h

inolist: inolist.o stegfs.o sha1.o $(CIPHEROBJS)
	$(CC) $(CFLAGS) -o inolist inolist.o stegfs.o sha1.o $(CIPHEROBJS) \
	-lext2fs

inolist.o: inolist.c stegfs.h

junkblock: junkblock.o
	$(CC) $(CFLAGS) -o junkblock junkblock.o

rerepl: rerepl.o
	$(CC) $(CFLAGS) -o rerepl rerepl.o

stegfslevel: stegfslevel.o
	$(CC) $(CFLAGS) -o stegfslevel stegfslevel.o

stegfsopen: stegfsopen.o
	$(CC) $(CFLAGS) -o stegfsopen stegfsopen.o

stegfsclose: stegfsclose.o
	$(CC) $(CFLAGS) -o stegfsclose stegfsclose.o

stegfsctrl: stegfsctrl.o stegfs.o sha1.o $(CIPHEROBJS)
	$(CC) $(CFLAGS) -o stegfsctrl stegfsctrl.o stegfs.o sha1.o \
	$(CIPHEROBJS) -lext2fs

stegfsctrl.o: stegfsctrl.c stegfs.h

tunestegfs: tunestegfs.o
	$(CC) $(CFLAGS) -o tunestegfs tunestegfs.o

addlevel: addlevel.o stegfs.o sha1.o $(CIPHEROBJS)
	$(CC) $(CFLAGS) -o addlevel addlevel.o stegfs.o sha1.o $(CIPHEROBJS) \
	-lext2fs

addlevel.o: addlevel.c stegfs.h

clean:
	rm -f *~ *.o *.so *.a $(MAINPROGS) $(DEVPROGS) a.out


@


1.15
log
@added stegfsctrl
tidy up
@
text
@d6 3
a8 2
# CFLAGS = -Wall
CFLAGS = -g -Wall -DDEVEL_ZEROFILL
d77 1
a77 1
	rm -f *.o *.so *.a $(MAINPROGS) $(DEVPROGS) a.out
@


1.14
log
@added new stegfsopen and stegfsclose
@
text
@d10 2
a11 1
MAINPROGS = mkstegfs rerepl stegfslevel stegfsopen stegfsclose tunestegfs addlevel
a21 1
	$(CC) $(CFLAGS) -c mkstegfs.c
a23 1
	$(CC) $(CFLAGS) -c stegfs.c
a25 1
	$(CC) $(CFLAGS) -c sha1.c
a27 1
	$(CC) $(CFLAGS) -c serpent.c
a29 1
	$(CC) $(CFLAGS) -c rc6.c
a31 1
	$(CC) $(CFLAGS) -c mars.c
d37 1
a37 2
readdata.o: readdata.c
	$(CC) $(CFLAGS) -c readdata.c
d43 1
a43 2
inolist.o: inolist.c
	$(CC) $(CFLAGS) -c inolist.c
a47 3
junkblock.o: junkblock.c
	$(CC) $(CFLAGS) -c junkblock.c

a50 3
rerepl.o: rerepl.c
	$(CC) $(CFLAGS) -c rerepl.c

a53 3
stegfslevel.o: stegfslevel.c
	$(CC) $(CFLAGS) -c stegfslevel.c

a56 3
stegfsopen.o: stegfsopen.c
	$(CC) $(CFLAGS) -c stegfsopen.c

d60 5
a64 2
stegfsclose.o: stegfsclose.c
	$(CC) $(CFLAGS) -c stegfsclose.c
a68 3
tunestegfs.o: tunestegfs.c
	$(CC) $(CFLAGS) -c tunestegfs.c

a73 1
	$(CC) $(CFLAGS) -c addlevel.c
@


1.13
log
@removed nullenc
added mars
merged serpent.h and rc6.h into crypto.h
@
text
@d10 2
d13 2
a14 2
all: mkstegfs rerepl stegfslevel tunestegfs addlevel
devtools: readdata junkblock inolist
d70 12
d96 1
a96 2
	rm -f *.o *.so *.a mkstegfs rerepl stegfslevel tunestegfs addlevel \
	readdata junkblock inolist a.out
@


1.12
log
@added addlevel
moved to using libext2fs for various things
@
text
@d9 1
a9 1
CIPHEROBJS = serpent.o rc6.o nullenc.o
d21 1
a21 1
stegfs.o: stegfs.c stegfs.h sha1.h serpent.h rc6.h nullenc.h
d27 1
a27 1
serpent.o: serpent.c serpent.h
d30 1
a30 1
rc6.o: rc6.c rc6.h
d33 2
a34 2
nullenc.o: nullenc.c nullenc.h
	$(CC) $(CFLAGS) -c nullenc.c
@


1.11
log
@minor changes
@
text
@d11 1
a11 1
all: mkstegfs rerepl stegfslevel tunestegfs
d15 2
a16 1
	$(CC) $(CFLAGS) -o mkstegfs mkstegfs.o stegfs.o sha1.o $(CIPHEROBJS)
d37 2
a38 1
	$(CC) $(CFLAGS) -o readdata readdata.o stegfs.o sha1.o $(CIPHEROBJS)
d44 2
a45 1
	$(CC) $(CFLAGS) -o inolist inolist.o stegfs.o sha1.o $(CIPHEROBJS)
d74 7
d82 3
a84 2
	rm -f *.o *.so *.a mkstegfs readdata junkblock inolist rerepl \
	stegfslevel tunestegfs a.out
@


1.10
log
@various modifications
@
text
@d9 1
d12 1
a12 1
devel: readdata junkblock inolist
d14 2
a15 3
mkstegfs: mkstegfs.o stegfs.o sha1.o serpent.o nullenc.o rc6.o
	$(CC) $(CFLAGS) -o mkstegfs mkstegfs.o stegfs.o sha1.o serpent.o \
	nullenc.o rc6.o
d17 1
a17 1
mkstegfs.o: mkstegfs.c stegfs.h sha1.h serpent.h rc6.h
d20 1
a20 1
stegfs.o: stegfs.c stegfs.h serpent.h rc6.h
d35 2
a36 2
readdata: readdata.o stegfs.o sha1.o serpent.o
	$(CC) $(CFLAGS) -o readdata readdata.o stegfs.o sha1.o serpent.o nullenc.o rc6.o
d41 2
a42 3
inolist: inolist.o stegfs.o sha1.o serpent.o
	$(CC) $(CFLAGS) -o inolist inolist.o stegfs.o sha1.o serpent.o \
	nullenc.o rc6.o
@


1.9
log
@various modifications
@
text
@d10 2
a11 1
all: mkstegfs readdata junkblock inolist rerepl stegfslevel tunestegfs
d17 1
a17 1
mkstegfs.o: mkstegfs.c mkstegfs.h stegfs.h sha1.h serpent.h rc6.h
@


1.8
log
@stegfsclose added
@
text
@d6 2
a7 2
CFLAGS = -g -Wall
# CFLAGS = -g -Wall -DDEVEL_ZEROFILL
d10 1
a10 1
all: mkstegfs readdata junkblock inolist rerepl stegfsopen stegfsclose tunestegfs
d59 2
a60 2
stegfsopen: stegfsopen.o
	$(CC) $(CFLAGS) -o stegfsopen stegfsopen.o
d62 2
a63 8
stegfsopen.o: stegfsopen.c
	$(CC) $(CFLAGS) -c stegfsopen.c

stegfsclose: stegfsclose.o
	$(CC) $(CFLAGS) -o stegfsclose stegfsclose.o

stegfsclose.o: stegfsclose.c
	$(CC) $(CFLAGS) -c stegfsclose.c
d73 1
a73 1
	stegfsopen tunestegfs
@


1.7
log
@*** empty log message ***
@
text
@d7 1
d10 1
a10 1
all: mkstegfs readdata junkblock inolist rerepl stegfsopen tunestegfs
d64 6
@


1.6
log
@added stegfsopen
@
text
@d9 1
a9 1
all: mkstegfs readdata junkblock inolist rerepl stegfsopen
d11 3
a13 2
mkstegfs: mkstegfs.o stegfs.o sha1.o serpent.o
	$(CC) $(CFLAGS) -o mkstegfs mkstegfs.o stegfs.o sha1.o serpent.o
d15 1
a15 1
mkstegfs.o: mkstegfs.c mkstegfs.h stegfs.h sha1.h serpent.h
d18 1
a18 1
stegfs.o: stegfs.c stegfs.h
d27 6
d34 1
a34 1
	$(CC) $(CFLAGS) -o readdata readdata.o stegfs.o sha1.o serpent.o
d40 2
a41 1
	$(CC) $(CFLAGS) -o inolist inolist.o stegfs.o sha1.o serpent.o
d52 3
d64 6
d71 3
a73 1
	rm -f *.o *.so *.a mkstegfs readdata junkblock inolist rerepl
@


1.5
log
@rerepl added
@
text
@d9 1
a9 1
all: mkstegfs readdata junkblock inolist rerepl
d46 6
@


1.4
log
@added inolist
@
text
@d9 1
a9 1
all: mkstegfs readdata junkblock inolist
d44 3
d48 1
a48 1
	rm -f *.o *.so *.a mkstegfs readdata
@


1.3
log
@added serpent
@
text
@d9 1
a9 1
all: mkstegfs readdata junkblock
d26 2
a27 2
readdata: readdata.o
	$(CC) $(CFLAGS) -o readdata readdata.o
d31 6
@


1.2
log
@creating stegfs.c
@
text
@d11 2
a12 2
mkstegfs: mkstegfs.o stegfs.o sha1.o
	$(CC) $(CFLAGS) -o mkstegfs mkstegfs.o stegfs.o sha1.o
d14 1
a14 1
mkstegfs.o: mkstegfs.c mkstegfs.h stegfs.h sha1.h
d22 3
@


1.1
log
@Initial revision
@
text
@d9 1
a9 1
all: mkstegfs readdata
d11 2
a12 2
mkstegfs: mkstegfs.o sha1.o
	$(CC) $(CFLAGS) -o mkstegfs mkstegfs.o sha1.o
d14 1
a14 1
mkstegfs.o: mkstegfs.c mkstegfs.h sha1.h
d17 3
d28 6
@
