head	2.7;
access;
symbols;
locks; strict;
comment	@# @;


2.7
date	98.12.01.15.01.31;	author anidel;	state Exp;
branches;
next	2.6;

2.6
date	98.11.24.11.28.28;	author anidel;	state Exp;
branches;
next	2.5;

2.5
date	98.11.11.10.46.42;	author anidel;	state Exp;
branches;
next	2.4;

2.4
date	98.11.04.16.17.10;	author anidel;	state Exp;
branches;
next	2.3;

2.3
date	98.11.04.15.20.02;	author anidel;	state Exp;
branches;
next	2.2;

2.2
date	98.10.29.09.29.59;	author anidel;	state Exp;
branches;
next	2.1;

2.1
date	98.10.26.15.07.57;	author anidel;	state Exp;
branches;
next	2.0;

2.0
date	98.10.22.08.40.09;	author anidel;	state Exp;
branches;
next	;


desc
@This is part of tcfslib v. 0.1
@


2.7
log
@*** empty log message ***
@
text
@#
# T.C.F.S. Utils 2.0 $Revision: 2.6 $
#
# Authors:	Giuseppe Cattaneo, <cattaneo@@udsab.dia.unisa.it>
#		Giuseppe Persiano, <giuper@@udsab.dia.unisa.it>
#		Luigi Catuogno, <luicat@@mikonos.dia.unisa.it>
#		Angelo Celentano, <angcel@@mikonos.dia.unisa.it>
#		Andrea Cozzolino, <andcoz@@mikonos.dia.unisa.it>
#		Aniello Del Sorbo, <anidel@@mikonos.dia.unisa.it>
#		Ermelindo Mauriello, <ermmau@@mikonos.dia.unisa.it>
#		Raffaele Pisapia, <rafpis@@mikonos.dia.unisa.it>
#
# Permission  to use,  copy,  and modify this  software  without fee
# is hereby granted, provided that this entire notice is included in
# all  copies  of  any  software  which  is  or includes  a copy  or
# modification of this  software and in all copies of the supporting
# documentation for such software.
#
# This  software maybe  be used for  any purpose provided  the above 
# copyright  notice  is  retained.  It is  supplied as  is, with  no 
# warranty expressed or implied.
#

#
#       $Source: /home/anidel/Wip/TCFS-2.2.0a/tcfsutils-1.1/src/RCS/Makefile,v $
#        $State: Exp $
#
#     $Revision: 2.6 $
#       $Author: anidel $
#         $Date: 1998/11/24 11:28:28 $
#       $Locker: anidel $
#              
# -+-_== 

BINDIR=/usr/local/bin
SBINDIR=/usr/local/sbin

OBJS=tcfsadduser.o tcfserrors.o tcfsgenkey.o tcfsputkey.o \
	tcfsrmkey.o tcfsrmuser.o tcfsviewkey.o unix_auth.o \
	show_usage.o tcfsaddgroup.o tcfsrmgroup.o

SRCS=tcfsadduser.c tcfserrors.c tcfsgenkey.c tcfsputkey.c \
	tcfsrmkey.c tcfsrmuser.c tcfsviewkey.c unix_auth.c \
	show_usage.c tcfsaddgroup.c tcfsrmgroup.c

NORMAL_BINS=tcfsgenkey tcfsputkey tcfsrmkey tcfsviewkey
ROOT_BINS=tcfsadduser tcfsrmuser tcfsaddgroup tcfsrmgroup
BINS=$(NORMAL_BINS) $(ROOT_BINS)

CC=gcc
CFLAGS=-g -I../include -DGDBM_SUPPORT -DSHADOW_PASSWORD
LDFLAGS=

# Uncomment line below is you use GLIBC
#LOADLIBES=-lcrypt -ltcfs
# Uncomment the line below is you do not have GLIBC
LOADLIBES=-ltcfs

all: $(BINS)

dep:
	makedepend $(SRCS)

tcfsaddgroup: tcfsaddgroup.o tcfserrors.o show_usage.o unix_auth.o

tcfsadduser: tcfsadduser.o tcfserrors.o show_usage.o

tcfsrmuser: tcfsrmuser.o tcfserrors.o show_usage.o

tcfsgenkey: tcfsgenkey.o tcfserrors.o unix_auth.o show_usage.o

tcfsputkey: tcfsputkey.o tcfserrors.o unix_auth.o show_usage.o

tcfsrmkey: tcfsrmkey.o tcfserrors.o show_usage.o

tcfsviewkey: tcfsviewkey.o tcfserrors.o unix_auth.o show_usage.o

tcfsrmgroup: tcfsrmgroup.o tcfserrors.o show_usage.o

clean:
	@@rm -f *.o *.bak $(BINS)

install: $(BINS)
	install -d -g bin -o root -m755 $(BINDIR) $(SBINDIR)
	install -g bin -o root -m4755 $(NORMAL_BINS) $(BINDIR)
	install -g bin -o root -m4755 $(ROOT_BINS) $(SBINDIR)
@


2.6
log
@*** empty log message ***
@
text
@d2 1
a2 1
# T.C.F.S. Utils 2.0 $Revision: 2.5 $
d25 1
a25 1
#       $Source: /home/anidel/Wip/Tcfs/tcfsutils-1.0/src/RCS/Makefile,v $
d28 1
a28 1
#     $Revision: 2.5 $
d30 1
a30 1
#         $Date: 1998/11/11 10:46:42 $
d51 1
a51 1
CFLAGS=-g -I../include -DGDBM_SUPPORT -DSHADOW_PASSWORD -DDEBUG_TCFS
@


2.5
log
@*** empty log message ***
@
text
@d2 1
a2 1
# T.C.F.S. Utils 2.0 $Revision: 2.4 $
d28 1
a28 1
#     $Revision: 2.4 $
d30 1
a30 1
#         $Date: 1998/11/04 16:17:10 $
d51 1
a51 1
CFLAGS=-g -I../include -DGDBM_SUPPORT -DSHADOW_PASSWORD
d84 3
a86 2
	install -d -g bin -o root -m4755 $(NORMAL_BINS) $(BINDIR)
	install -d -g bin -o root -m4755 $(ROOT_BINS) $(SBINDIR)
@


2.4
log
@*** empty log message ***
@
text
@d2 1
a2 1
# T.C.F.S. Utils 2.0 $Revision: 2.3 $
d28 1
a28 1
#     $Revision: 2.3 $
d30 1
a30 1
#         $Date: 1998/11/04 15:20:02 $
d84 2
a85 110
	install -g bin -o root -m4755 $(NORMAL_BINS) $(BINDIR)
	install -g bin -o root -m4755 $(ROOT_BINS) $(SBINDIR)
# DO NOT DELETE

tcfsadduser.o: /usr/include/stdio.h /usr/include/libio.h
tcfsadduser.o: /usr/include/_G_config.h /usr/include/sys/cdefs.h
tcfsadduser.o: /usr/include/unistd.h /usr/include/features.h
tcfsadduser.o: /usr/include/posix_opt.h /usr/include/gnu/types.h
tcfsadduser.o: /usr/lib/gcc-lib/i486-linux/2.7.2.1/include/stddef.h
tcfsadduser.o: /usr/include/confname.h /usr/include/sys/types.h
tcfsadduser.o: /usr/include/linux/types.h /usr/include/linux/posix_types.h
tcfsadduser.o: /usr/include/asm/posix_types.h /usr/include/asm/types.h
tcfsadduser.o: /usr/include/sys/bitypes.h /usr/include/getopt.h
tcfsadduser.o: /usr/include/tcfslib.h /usr/include/tcfsdefines.h
tcfsadduser.o: /usr/include/tcfspwdb.h /usr/include/tcfserrors.h
tcfserrors.o: /usr/include/stdio.h /usr/include/libio.h
tcfserrors.o: /usr/include/_G_config.h /usr/include/sys/cdefs.h
tcfserrors.o: /usr/include/unistd.h /usr/include/features.h
tcfserrors.o: /usr/include/posix_opt.h /usr/include/gnu/types.h
tcfserrors.o: /usr/lib/gcc-lib/i486-linux/2.7.2.1/include/stddef.h
tcfserrors.o: /usr/include/confname.h /usr/include/sys/types.h
tcfserrors.o: /usr/include/linux/types.h /usr/include/linux/posix_types.h
tcfserrors.o: /usr/include/asm/posix_types.h /usr/include/asm/types.h
tcfserrors.o: /usr/include/sys/bitypes.h /usr/include/tcfserrors.h
tcfsgenkey.o: /usr/include/stdio.h /usr/include/libio.h
tcfsgenkey.o: /usr/include/_G_config.h /usr/include/sys/cdefs.h
tcfsgenkey.o: /usr/include/strings.h /usr/include/string.h
tcfsgenkey.o: /usr/include/features.h
tcfsgenkey.o: /usr/lib/gcc-lib/i486-linux/2.7.2.1/include/stddef.h
tcfsgenkey.o: /usr/include/getopt.h /usr/include/tcfslib.h
tcfsgenkey.o: /usr/include/unistd.h /usr/include/posix_opt.h
tcfsgenkey.o: /usr/include/gnu/types.h /usr/include/confname.h
tcfsgenkey.o: /usr/include/sys/types.h /usr/include/linux/types.h
tcfsgenkey.o: /usr/include/linux/posix_types.h /usr/include/asm/posix_types.h
tcfsgenkey.o: /usr/include/asm/types.h /usr/include/sys/bitypes.h
tcfsgenkey.o: /usr/include/tcfsdefines.h /usr/include/tcfspwdb.h
tcfsgenkey.o: /usr/include/tcfserrors.h
tcfsputkey.o: /usr/include/stdio.h /usr/include/libio.h
tcfsputkey.o: /usr/include/_G_config.h /usr/include/sys/cdefs.h
tcfsputkey.o: /usr/include/unistd.h /usr/include/features.h
tcfsputkey.o: /usr/include/posix_opt.h /usr/include/gnu/types.h
tcfsputkey.o: /usr/lib/gcc-lib/i486-linux/2.7.2.1/include/stddef.h
tcfsputkey.o: /usr/include/confname.h /usr/include/sys/types.h
tcfsputkey.o: /usr/include/linux/types.h /usr/include/linux/posix_types.h
tcfsputkey.o: /usr/include/asm/posix_types.h /usr/include/asm/types.h
tcfsputkey.o: /usr/include/sys/bitypes.h /usr/include/getopt.h
tcfsputkey.o: /usr/include/tcfslib.h /usr/include/tcfsdefines.h
tcfsputkey.o: /usr/include/tcfspwdb.h /usr/include/tcfserrors.h
tcfsrmkey.o: /usr/include/stdio.h /usr/include/libio.h
tcfsrmkey.o: /usr/include/_G_config.h /usr/include/sys/cdefs.h
tcfsrmkey.o: /usr/include/unistd.h /usr/include/features.h
tcfsrmkey.o: /usr/include/posix_opt.h /usr/include/gnu/types.h
tcfsrmkey.o: /usr/lib/gcc-lib/i486-linux/2.7.2.1/include/stddef.h
tcfsrmkey.o: /usr/include/confname.h /usr/include/sys/types.h
tcfsrmkey.o: /usr/include/linux/types.h /usr/include/linux/posix_types.h
tcfsrmkey.o: /usr/include/asm/posix_types.h /usr/include/asm/types.h
tcfsrmkey.o: /usr/include/sys/bitypes.h /usr/include/getopt.h
tcfsrmkey.o: /usr/include/strings.h /usr/include/string.h
tcfsrmkey.o: /usr/include/tcfslib.h /usr/include/tcfsdefines.h
tcfsrmkey.o: /usr/include/tcfspwdb.h /usr/include/tcfserrors.h
tcfsrmuser.o: /usr/include/stdio.h /usr/include/libio.h
tcfsrmuser.o: /usr/include/_G_config.h /usr/include/sys/cdefs.h
tcfsrmuser.o: /usr/include/unistd.h /usr/include/features.h
tcfsrmuser.o: /usr/include/posix_opt.h /usr/include/gnu/types.h
tcfsrmuser.o: /usr/lib/gcc-lib/i486-linux/2.7.2.1/include/stddef.h
tcfsrmuser.o: /usr/include/confname.h /usr/include/sys/types.h
tcfsrmuser.o: /usr/include/linux/types.h /usr/include/linux/posix_types.h
tcfsrmuser.o: /usr/include/asm/posix_types.h /usr/include/asm/types.h
tcfsrmuser.o: /usr/include/sys/bitypes.h /usr/include/getopt.h
tcfsrmuser.o: /usr/include/tcfslib.h /usr/include/tcfsdefines.h
tcfsrmuser.o: /usr/include/tcfspwdb.h /usr/include/tcfserrors.h
tcfsviewkey.o: /usr/include/stdio.h /usr/include/libio.h
tcfsviewkey.o: /usr/include/_G_config.h /usr/include/sys/cdefs.h
tcfsviewkey.o: /usr/include/strings.h /usr/include/string.h
tcfsviewkey.o: /usr/include/features.h
tcfsviewkey.o: /usr/lib/gcc-lib/i486-linux/2.7.2.1/include/stddef.h
tcfsviewkey.o: /usr/include/getopt.h /usr/include/unistd.h
tcfsviewkey.o: /usr/include/posix_opt.h /usr/include/gnu/types.h
tcfsviewkey.o: /usr/include/confname.h /usr/include/sys/types.h
tcfsviewkey.o: /usr/include/linux/types.h /usr/include/linux/posix_types.h
tcfsviewkey.o: /usr/include/asm/posix_types.h /usr/include/asm/types.h
tcfsviewkey.o: /usr/include/sys/bitypes.h /usr/include/tcfslib.h
tcfsviewkey.o: /usr/include/tcfsdefines.h /usr/include/tcfspwdb.h
tcfsviewkey.o: /usr/include/tcfserrors.h
unix_auth.o: /usr/include/stdio.h /usr/include/libio.h
unix_auth.o: /usr/include/_G_config.h /usr/include/sys/cdefs.h
unix_auth.o: /usr/include/unistd.h /usr/include/features.h
unix_auth.o: /usr/include/posix_opt.h /usr/include/gnu/types.h
unix_auth.o: /usr/lib/gcc-lib/i486-linux/2.7.2.1/include/stddef.h
unix_auth.o: /usr/include/confname.h /usr/include/sys/types.h
unix_auth.o: /usr/include/linux/types.h /usr/include/linux/posix_types.h
unix_auth.o: /usr/include/asm/posix_types.h /usr/include/asm/types.h
unix_auth.o: /usr/include/sys/bitypes.h /usr/include/string.h
unix_auth.o: /usr/include/tcfslib.h /usr/include/tcfsdefines.h
unix_auth.o: /usr/include/tcfspwdb.h /usr/include/pwd.h
unix_auth.o: /usr/include/tcfserrors.h
tcfsaddgroup.o: /usr/include/stdio.h /usr/include/libio.h
tcfsaddgroup.o: /usr/include/_G_config.h /usr/include/sys/cdefs.h
tcfsaddgroup.o: /usr/include/unistd.h /usr/include/features.h
tcfsaddgroup.o: /usr/include/posix_opt.h /usr/include/gnu/types.h
tcfsaddgroup.o: /usr/lib/gcc-lib/i486-linux/2.7.2.1/include/stddef.h
tcfsaddgroup.o: /usr/include/confname.h /usr/include/sys/types.h
tcfsaddgroup.o: /usr/include/linux/types.h /usr/include/linux/posix_types.h
tcfsaddgroup.o: /usr/include/asm/posix_types.h /usr/include/asm/types.h
tcfsaddgroup.o: /usr/include/sys/bitypes.h /usr/include/stdlib.h
tcfsaddgroup.o: /usr/include/errno.h /usr/include/linux/errno.h
tcfsaddgroup.o: /usr/include/asm/errno.h /usr/include/alloca.h
tcfsaddgroup.o: /usr/include/getopt.h /usr/include/tcfslib.h
tcfsaddgroup.o: /usr/include/tcfsdefines.h /usr/include/tcfspwdb.h
tcfsaddgroup.o: /usr/include/pwd.h /usr/include/tcfserrors.h
@


2.3
log
@*** empty log message ***
@
text
@d2 1
a2 1
# T.C.F.S. Utils 2.0 $Revision: 2.2 $
d28 1
a28 1
#     $Revision: 2.2 $
d30 1
a30 1
#         $Date: 1998/10/29 09:29:59 $
d81 1
a81 1
	@@rm -f *.o $(BINS)
@


2.2
log
@*** empty log message ***
@
text
@d2 1
a2 1
# T.C.F.S. Utils 2.0 $Revision: 2.1 $
d28 1
a28 1
#     $Revision: 2.1 $
d30 1
a30 1
#         $Date: 1998/10/26 15:07:57 $
d40 1
a40 1
	show_usage.o tcfsaddgroup.o
d44 1
a44 1
	show_usage.c tcfsaddgroup.c
d47 1
a47 1
ROOT_BINS=tcfsadduser tcfsrmuser tcfsaddgroup
d77 2
@


2.1
log
@*** empty log message ***
@
text
@d2 1
a2 1
# T.C.F.S. Utils 2.0 $Revision: 2.0 $
d28 1
a28 1
#     $Revision: 2.0 $
d30 1
a30 1
#         $Date: 1998/10/22 08:40:09 $
d42 4
d61 3
d84 108
@


2.0
log
@Initial revision
@
text
@d2 1
a2 1
# T.C.F.S. Utils 2.0 $Revision: 1.5 $
d25 1
a25 1
#       $Source: /usr/src/linux-2.0.33-tcfs/fs/tcfs/contrib/utils/src/RCS/Makefile,v $
d28 1
a28 1
#     $Revision: 1.5 $
d30 2
a31 2
#         $Date: 1998/01/19 14:12:48 $
#       $Locker:  $
d75 2
a76 2
	install -g root -o bin -m4755 $(NORMAL_BINS) $(BINDIR)
	install -g root -o bin -m4755 $(ROOT_BINS) $(SBINDIR)
@
