#
# Makefile.in for trircd5
#
BN1             = tr
BN2             = -ir
BN3             = cd
CC              = @CC@
INSTALL         = @INSTALL@
INSTALL_BIN     = @INSTALL_PROGRAM@
INSTALL_DATA    = @INSTALL_DATA@
INSTALL_SUID    = @INSTALL_PROGRAM@ -o root -m 4755
RM              = @RM@
LEX             = @LEX@
AR              = @AR@
RANLIB          = @RANLIB@
MD5SUMS         = @MD5SUMS@
LEXLIB          = @LEXLIB@
CFLAGS          = @IRC_CFLAGS@ -DBASENAME=\"$(BN1)$(BN2)$(BN3)\" -DIRCD_PREFIX=\"@prefix@\"
LDFLAGS         = @LDFLAGS@
MKDEP           = @MKDEP@ -DBASENAME=\"$(BN1)$(BN2)$(BN3)\" -DIRCD_PREFIX=\"@prefix@\"
MV              = @MV@
RM              = @RM@
YACC            = @YACC@
prefix          = @prefix@
exec_prefix     = @exec_prefix@
bindir          = @bindir@
libexecdir      = @libexecdir@
sysconfdir      = @sysconfdir@
localstatedir   = @localstatedir@

PROGS           = @PROG_TOOLS@ iupdt.sh isslconfig.sh irandom.sh

SUBDIRLIBS      = ../lib/md5hash.o ../lib/md5/md5.o
STATICLIBS      = @STATIC_LIBS@
IRCDLIBS        = $(SUBDIRLIBS) $(STATICLIBS) $(LDFLAGS) @MODULES_LIBS@ @LIBS@ 

INCLUDES        = -I../include  
CPPFLAGS        = ${INCLUDES} @CPPFLAGS@

TOOLS = ircpasswd.c

all: ircpasswd

build: all

depend:
	@echo "Finalized"

ircpasswd: ircpasswd.o
	$(CC) ircpasswd.o $(SUBDIRLIBS) -o ircpasswd 

clean:
	$(RM) -f $(OBJECTS) ircpasswd *.o *~ core

distclean: clean
	$(RM) -f Makefile iupdt.sh isslconfig.sh irandom.sh

.c.o:
	$(CC) -DIRCPASSWD $(CFLAGS) $(INCLUDES) -c $<

install:
	@echo "Installing tools"
	$(INSTALL) -d ${bindir}
	$(INSTALL_BIN) $(PROGS) ${bindir}



syntax highlighted by Code2HTML, v. 0.9.1