#==============================================================================
# Night Light IRC Proxy (ircproxy) Makefile for src
# Copyright (C) 2001-2007 Jonas Kvinge <jonas@night-light.net>
# All rights reserved.
#==============================================================================


### Automatically generated by configure ###

CC=@CC@
CFLAGS=@CFLAGS@
LDFLAGS=@LDFLAGS@
LIBS=@LIBS@
SOURCES=@SOURCES@

SH=@SH@
RM=@RM@
MV=@MV@
GREP=@GREP@
MKDIR=@MKDIR@
INSTALL=@INSTALL@

@SET_MAKE@

BINFILE=ircproxyd
MKPASSWD=imkpasswd

OBJECTS = ${SOURCES:%.c=%.o}

prefix=@prefix@
exec_prefix=@exec_prefix@
srcdir=@srcdir@
bindir=@bindir@
datadir=@datadir@
datarootdir=@datarootdir@

PREFIX=${prefix}
BINDIR=${bindir}
DPATH=${exec_prefix}/share/ircproxy

PURIFY =

all:
	( cd ..; make -f Makefile )

.SUFFIXES: .c .o

.c.o:
	${CC} ${CFLAGS} -I../ -c $< -o $@


build:	${BINFILE} ${MKPASSWD}

${BINFILE}: ${OBJECTS}
	${PURIFY} ${CC} ${CFLAGS} -I../ ${OBJECTS} ${LDFLAGS} ${LIBS} -o ${BINFILE}

${MKPASSWD}: mkpasswd.c
	${PURIFY} ${CC} ${CFLAGS} -I../ mkpasswd.c ${LDFLAGS} ${LIBS} -o ${MKPASSWD}

clean:
	${RM} -f *.o ${BINFILE} ${MKPASSWD} *.bak

distclean: clean
	${RM} -f Makefile stamp-m

maintainer-clean: distclean

depend:
	@if [ -f Makefile.in.bak ]; then \
		echo "make depend: First remove src/Makefile.in.bak"; \
	else \
	( ${MV} Makefile.in Makefile.in.bak; \
	${GREP} -A1 -B10000 '^# END OF MAKE FILE' Makefile.in.bak >Makefile.in; \
	${CC} ${CFLAGS} -MM -I../ ${SOURCES} >>Makefile.in; ); \
	fi

install: build
	$(INSTALL) -d "$(DESTDIR)$(BINDIR)"
	$(INSTALL) -d "$(DESTDIR)$(DPATH)"
	${INSTALL} -m 755 "${BINFILE}" "$(DESTDIR)${BINDIR}"
	${INSTALL} -m 755 "${MKPASSWD}" "$(DESTDIR)${BINDIR}"
	${INSTALL} -m 644 "${srcdir}/../data/ircproxyd.conf" "$(DESTDIR)${DPATH}"
	${INSTALL} -m 644 "${srcdir}/../data/ircproxyd-user.conf" "$(DESTDIR)${DPATH}"
	${INSTALL} -m 644 "${srcdir}/../data/ircproxyd-listen.conf" "$(DESTDIR)${DPATH}"
	${INSTALL} -m 644 "${srcdir}/../data/ircproxyd-conn.conf" "$(DESTDIR)${DPATH}"
	${INSTALL} -m 644 "${srcdir}/../data/ircproxyd-access.conf" "$(DESTDIR)${DPATH}"
	${INSTALL} -m 644 "${srcdir}/../data/ircproxyd-autoop.conf" "$(DESTDIR)${DPATH}"

install-strip: install

uninstall:
	${RM} -f $(DESTDIR)${BINDIR}/${BINFILE}
	${RM} -f $(DESTDIR)${BINDIR}/${MKPASSWD}
	@echo "You must remove the contents of $(DESTDIR)${DPATH} manually."

# You need GNU make for this to work

Makefile: ../config.status Makefile.in stamp-m
	@echo "Recreating src/Makefile"
	@CONFIG_FILES=../src/Makefile CONFIG_HEADERS= \
	../config.status >/dev/null;

stamp-m:
	echo timestamp > stamp-m

../config.status:
	@cd ..; ${MAKE} config.status

../config.h:
	@cd ..; ${MAKE} config.h


# END OF MAKE FILE
main.o: main.c includes.h ../config.h headers.h fdcalls.h defines.h \
  syscalls.h strcalls.h bitmasks.h ircproxy.h irc.h irc_numerics.h \
  irc_events.h irc_defines.h irccalls.h memlist.h main.h conf.h ssl.h \
  access_conf.h listen_conf.h user_conf.h conn_conf.h autoop_conf.h \
  listen.h listen_io.h client.h client_io.h client_connection.h \
  client_handle.h client_notice.h conn.h conn_io.h conn_connection.h
syscalls.o: syscalls.c includes.h ../config.h headers.h fdcalls.h \
  defines.h syscalls.h strcalls.h bitmasks.h ircproxy.h nlstrsignal.h \
  main.h conf.h
strcalls.o: strcalls.c includes.h ../config.h headers.h fdcalls.h \
  defines.h syscalls.h strcalls.h bitmasks.h ircproxy.h
irccalls.o: irccalls.c includes.h ../config.h headers.h fdcalls.h \
  defines.h syscalls.h strcalls.h bitmasks.h ircproxy.h irc.h \
  irc_numerics.h irc_events.h irc_defines.h irccalls.h
nlstrsignal.o: nlstrsignal.c includes.h ../config.h headers.h fdcalls.h \
  defines.h syscalls.h strcalls.h bitmasks.h ircproxy.h nlstrsignal.h
nlcrypt.o: nlcrypt.c includes.h ../config.h headers.h fdcalls.h defines.h \
  syscalls.h strcalls.h bitmasks.h ircproxy.h nlcrypt.h
matchpass.o: matchpass.c includes.h ../config.h headers.h fdcalls.h \
  defines.h syscalls.h strcalls.h bitmasks.h ircproxy.h nlcrypt.h \
  matchpass.h conf.h
memlist.o: memlist.c includes.h ../config.h headers.h fdcalls.h defines.h \
  syscalls.h strcalls.h bitmasks.h ircproxy.h irc.h irc_numerics.h \
  irc_events.h irc_defines.h irccalls.h memcalls_int.h memlist_int.h \
  conf.h access_conf.h listen_conf.h user_conf.h conn_conf.h \
  autoop_conf.h listen.h listen_io.h client.h conn.h conn_io.h \
  conn_sendq.h conn_ignore.h chan.h chan_user.h chan_mode.h
fdcalls.o: fdcalls.c includes.h ../config.h headers.h fdcalls.h defines.h \
  syscalls.h strcalls.h bitmasks.h ircproxy.h
ssl.o: ssl.c includes.h ../config.h headers.h fdcalls.h defines.h \
  syscalls.h strcalls.h bitmasks.h ircproxy.h ssl.h main.h conf.h
conf.o: conf.c includes.h ../config.h headers.h fdcalls.h defines.h \
  syscalls.h strcalls.h bitmasks.h ircproxy.h conf.h
access_conf.o: access_conf.c includes.h ../config.h headers.h fdcalls.h \
  defines.h syscalls.h strcalls.h bitmasks.h ircproxy.h conf.h \
  access_conf.h
listen_conf.o: listen_conf.c includes.h ../config.h headers.h fdcalls.h \
  defines.h syscalls.h strcalls.h bitmasks.h ircproxy.h conf.h \
  listen_conf.h listen.h
user_conf.o: user_conf.c includes.h ../config.h headers.h fdcalls.h \
  defines.h syscalls.h strcalls.h bitmasks.h ircproxy.h conf.h nlcrypt.h \
  user_conf.h client.h
conn_conf.o: conn_conf.c includes.h ../config.h headers.h fdcalls.h \
  defines.h syscalls.h strcalls.h bitmasks.h ircproxy.h irc.h \
  irc_numerics.h irc_events.h irc_defines.h irccalls.h conf.h conn_conf.h \
  conn.h
autoop_conf.o: autoop_conf.c includes.h ../config.h headers.h fdcalls.h \
  defines.h syscalls.h strcalls.h bitmasks.h ircproxy.h conf.h \
  autoop_conf.h
listen.o: listen.c includes.h ../config.h headers.h fdcalls.h defines.h \
  syscalls.h strcalls.h bitmasks.h ircproxy.h listen.h client.h
listen_io.o: listen_io.c includes.h ../config.h headers.h fdcalls.h \
  defines.h syscalls.h strcalls.h bitmasks.h ircproxy.h listen.h \
  listen_io.h client.h
client.o: client.c includes.h ../config.h headers.h fdcalls.h defines.h \
  syscalls.h strcalls.h bitmasks.h ircproxy.h listen.h client.h \
  client_connection.h
client_connection.o: client_connection.c includes.h ../config.h headers.h \
  fdcalls.h defines.h syscalls.h strcalls.h bitmasks.h ircproxy.h irc.h \
  irc_numerics.h irc_events.h irc_defines.h irccalls.h conf.h listen.h \
  client.h client_connection.h client_handle.h client_notice.h \
  client_auth.h conn.h conn_sendq.h chan.h chan_user.h
client_io.o: client_io.c includes.h ../config.h headers.h fdcalls.h \
  defines.h syscalls.h strcalls.h bitmasks.h ircproxy.h irc.h \
  irc_numerics.h irc_events.h irc_defines.h irccalls.h client.h \
  client_io.h client_io_ssl.h client_connection.h client_parser.h \
  client_auth.h
client_auth.o: client_auth.c includes.h ../config.h headers.h fdcalls.h \
  defines.h syscalls.h strcalls.h bitmasks.h ircproxy.h conf.h \
  client_auth.h matchpass.h user_conf.h
client_handle.o: client_handle.c includes.h ../config.h headers.h \
  fdcalls.h defines.h syscalls.h strcalls.h bitmasks.h ircproxy.h irc.h \
  irc_numerics.h irc_events.h irc_defines.h irccalls.h conf.h \
  access_conf.h conn_conf.h listen.h client.h client_connection.h \
  client_handle.h client_auth.h client_notice.h conn.h conn_sendq.h \
  chan.h chan_user.h
client_notice.o: client_notice.c includes.h ../config.h headers.h \
  fdcalls.h defines.h syscalls.h strcalls.h bitmasks.h ircproxy.h irc.h \
  irc_numerics.h irc_events.h irc_defines.h irccalls.h listen.h client.h \
  client_connection.h conn.h
client_parser.o: client_parser.c includes.h ../config.h headers.h \
  fdcalls.h defines.h syscalls.h strcalls.h bitmasks.h ircproxy.h irc.h \
  irc_numerics.h irc_events.h irc_defines.h irccalls.h conf.h memlist.h \
  access_conf.h conn_conf.h listen.h client.h client_connection.h \
  client_parser.h client_auth.h client_handle.h client_notice.h conn.h \
  conn_connection.h conn_sendq.h chan.h chan_user.h
client_io_ssl.o: client_io_ssl.c includes.h ../config.h headers.h \
  fdcalls.h defines.h syscalls.h strcalls.h bitmasks.h ircproxy.h irc.h \
  irc_numerics.h irc_events.h irc_defines.h irccalls.h client.h \
  client_connection.h client_parser.h client_io_ssl.h
conn.o: conn.c includes.h ../config.h headers.h fdcalls.h defines.h \
  syscalls.h strcalls.h bitmasks.h ircproxy.h irc.h irc_numerics.h \
  irc_events.h irc_defines.h irccalls.h conf.h access_conf.h conn_conf.h \
  conn.h conn_io.h conn_connection.h conn_sendq.h conn_ignore.h \
  conn_log.h chan.h chan_user.h client.h client_handle.h client_notice.h
conn_io.o: conn_io.c includes.h ../config.h headers.h fdcalls.h defines.h \
  syscalls.h strcalls.h bitmasks.h ircproxy.h irc.h irc_numerics.h \
  irc_events.h irc_defines.h irccalls.h conf.h conn_conf.h conn.h \
  conn_io.h conn_io_ssl.h conn_connection.h conn_sendq.h conn_log.h \
  conn_parser.h conn_ignore.h chan.h chan_mode.h client_notice.h
conn_connection.o: conn_connection.c includes.h ../config.h headers.h \
  fdcalls.h defines.h syscalls.h strcalls.h bitmasks.h ircproxy.h irc.h \
  irc_numerics.h irc_events.h irc_defines.h irccalls.h conf.h \
  access_conf.h conn_conf.h conn.h conn_io.h conn_io_ssl.h \
  conn_connection.h conn_sendq.h conn_log.h conn_parser.h conn_ignore.h \
  client.h client_connection.h client_notice.h chan.h chan_user.h
conn_sendq.o: conn_sendq.c includes.h ../config.h headers.h fdcalls.h \
  defines.h syscalls.h strcalls.h bitmasks.h ircproxy.h irc.h \
  irc_numerics.h irc_events.h irc_defines.h irccalls.h conf.h \
  access_conf.h conn.h conn_connection.h conn_sendq.h client.h \
  client_connection.h client_notice.h
conn_parser.o: conn_parser.c includes.h ../config.h headers.h fdcalls.h \
  defines.h syscalls.h strcalls.h bitmasks.h ircproxy.h irc.h \
  irc_numerics.h irc_events.h irc_defines.h irccalls.h conn_conf.h \
  client.h client_connection.h client_notice.h conn.h conn_connection.h \
  conn_parser.h conn_sendq.h conn_log.h conn_ignore.h chan.h chan_user.h
conn_ignore.o: conn_ignore.c includes.h ../config.h headers.h fdcalls.h \
  defines.h syscalls.h strcalls.h bitmasks.h ircproxy.h irc.h \
  irc_numerics.h irc_events.h irc_defines.h irccalls.h conn.h \
  conn_ignore.h
conn_log.o: conn_log.c includes.h ../config.h headers.h fdcalls.h \
  defines.h syscalls.h strcalls.h bitmasks.h ircproxy.h irc.h \
  irc_numerics.h irc_events.h irc_defines.h irccalls.h conf.h conn.h \
  conn_log.h
conn_io_ssl.o: conn_io_ssl.c includes.h ../config.h headers.h fdcalls.h \
  defines.h syscalls.h strcalls.h bitmasks.h ircproxy.h irc.h \
  irc_numerics.h irc_events.h irc_defines.h irccalls.h conn.h \
  conn_connection.h conn_parser.h conn_io_ssl.h client_notice.h
chan.o: chan.c includes.h ../config.h headers.h fdcalls.h defines.h \
  syscalls.h strcalls.h bitmasks.h ircproxy.h irc.h irc_numerics.h \
  irc_events.h irc_defines.h irccalls.h conn.h chan.h chan_user.h \
  chan_mode.h
chan_user.o: chan_user.c includes.h ../config.h headers.h fdcalls.h \
  defines.h syscalls.h strcalls.h bitmasks.h ircproxy.h irc.h \
  irc_numerics.h irc_events.h irc_defines.h irccalls.h conn.h chan.h \
  chan_user.h chan_mode.h autoop_conf.h
chan_mode.o: chan_mode.c includes.h ../config.h headers.h fdcalls.h \
  defines.h syscalls.h strcalls.h bitmasks.h ircproxy.h irc.h \
  irc_numerics.h irc_events.h irc_defines.h irccalls.h conn.h \
  conn_sendq.h chan.h chan_mode.h chan_user.h


syntax highlighted by Code2HTML, v. 0.9.1