#
# Makefile
#
# Makefile for the in.identd daemon
#
# Modify it below to suit your particular system
#
DESTROOT=
DESTDIR=$(DESTROOT)/etc
MANROOT=$(DESTROOT)/usr/man
MANDIR=$(MANROOT)/man8

CFLAGS  = -O6
LDFLAGS = -s

identd: 	identd.o
		$(CC) $(LDFLAGS) -o identd identd.o $(LIBS)

identd.o:	identd.c Makefile

install:	identd
		install	-c -s -m 555 -o root -g daemon identd $(DESTDIR)
		install	-c -m 555 -o bin -g bin identd.8 $(MANDIR)
 
clean:
		rm -f identd *~ core *.o
