|
@@ -1,8 +1,8 @@
|
|
|
-# Makefile.in generated by automake 1.7.9 from Makefile.am.
|
|
|
+# Makefile.in generated by automake 1.9.5 from Makefile.am.
|
|
|
# @configure_input@
|
|
|
|
|
|
-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
|
|
|
-# Free Software Foundation, Inc.
|
|
|
+# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
|
|
|
+# 2003, 2004, 2005 Free Software Foundation, Inc.
|
|
|
# This Makefile.in is free software; the Free Software Foundation
|
|
|
# gives unlimited permission to copy and/or distribute it,
|
|
|
# with or without modifications, as long as this notice is preserved.
|
|
@@ -24,9 +24,12 @@
|
|
|
# (at your option) any later version.
|
|
|
# Please read the file COPYING, README and AUTHORS for more information.
|
|
|
#
|
|
|
-# $Id: Makefile.am,v 1.46 2005/05/23 00:11:15 alex Exp $
|
|
|
+# $Id: Makefile.am,v 1.49 2006/03/11 01:48:50 alex Exp $
|
|
|
#
|
|
|
|
|
|
+
|
|
|
+SOURCES = $(ngircd_SOURCES)
|
|
|
+
|
|
|
srcdir = @srcdir@
|
|
|
top_srcdir = @top_srcdir@
|
|
|
VPATH = @srcdir@
|
|
@@ -34,7 +37,6 @@ pkgdatadir = $(datadir)/@PACKAGE@
|
|
|
pkglibdir = $(libdir)/@PACKAGE@
|
|
|
pkgincludedir = $(includedir)/@PACKAGE@
|
|
|
top_builddir = ../..
|
|
|
-
|
|
|
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
|
|
INSTALL = @INSTALL@
|
|
|
install_sh_DATA = $(install_sh) -c -m 644
|
|
@@ -48,7 +50,49 @@ POST_INSTALL = :
|
|
|
NORMAL_UNINSTALL = :
|
|
|
PRE_UNINSTALL = :
|
|
|
POST_UNINSTALL = :
|
|
|
+build_triplet = @build@
|
|
|
host_triplet = @host@
|
|
|
+target_triplet = @target@
|
|
|
+ANSI2KNR = ../portab/ansi2knr
|
|
|
+sbin_PROGRAMS = ngircd$(EXEEXT)
|
|
|
+subdir = src/ngircd
|
|
|
+DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.am \
|
|
|
+ $(srcdir)/Makefile.in
|
|
|
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
|
|
+am__aclocal_m4_deps = $(top_srcdir)/configure.in
|
|
|
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
|
|
|
+ $(ACLOCAL_M4)
|
|
|
+mkinstalldirs = $(install_sh) -d
|
|
|
+CONFIG_HEADER = $(top_builddir)/src/config.h
|
|
|
+CONFIG_CLEAN_FILES =
|
|
|
+am__installdirs = "$(DESTDIR)$(sbindir)"
|
|
|
+sbinPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
|
|
|
+PROGRAMS = $(sbin_PROGRAMS)
|
|
|
+am_ngircd_OBJECTS = ngircd$U.$(OBJEXT) array$U.$(OBJEXT) \
|
|
|
+ channel$U.$(OBJEXT) client$U.$(OBJEXT) conf$U.$(OBJEXT) \
|
|
|
+ conn$U.$(OBJEXT) conn-func$U.$(OBJEXT) conn-zip$U.$(OBJEXT) \
|
|
|
+ hash$U.$(OBJEXT) io$U.$(OBJEXT) irc$U.$(OBJEXT) \
|
|
|
+ irc-channel$U.$(OBJEXT) irc-info$U.$(OBJEXT) \
|
|
|
+ irc-login$U.$(OBJEXT) irc-mode$U.$(OBJEXT) irc-op$U.$(OBJEXT) \
|
|
|
+ irc-oper$U.$(OBJEXT) irc-server$U.$(OBJEXT) \
|
|
|
+ irc-write$U.$(OBJEXT) lists$U.$(OBJEXT) log$U.$(OBJEXT) \
|
|
|
+ match$U.$(OBJEXT) parse$U.$(OBJEXT) rendezvous$U.$(OBJEXT) \
|
|
|
+ resolve$U.$(OBJEXT)
|
|
|
+ngircd_OBJECTS = $(am_ngircd_OBJECTS)
|
|
|
+ngircd_DEPENDENCIES =
|
|
|
+DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/src
|
|
|
+depcomp = $(SHELL) $(top_srcdir)/depcomp
|
|
|
+am__depfiles_maybe = depfiles
|
|
|
+COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
|
|
|
+ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
|
|
+CCLD = $(CC)
|
|
|
+LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
|
|
|
+SOURCES = $(ngircd_SOURCES)
|
|
|
+DIST_SOURCES = $(ngircd_SOURCES)
|
|
|
+HEADERS = $(noinst_HEADERS)
|
|
|
+ETAGS = etags
|
|
|
+CTAGS = ctags
|
|
|
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
|
|
ACLOCAL = @ACLOCAL@
|
|
|
AMDEP_FALSE = @AMDEP_FALSE@
|
|
|
AMDEP_TRUE = @AMDEP_TRUE@
|
|
@@ -102,6 +146,8 @@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
|
|
|
am__include = @am__include@
|
|
|
am__leading_dot = @am__leading_dot@
|
|
|
am__quote = @am__quote@
|
|
|
+am__tar = @am__tar@
|
|
|
+am__untar = @am__untar@
|
|
|
bindir = @bindir@
|
|
|
build = @build@
|
|
|
build_alias = @build_alias@
|
|
@@ -122,6 +168,7 @@ libdir = @libdir@
|
|
|
libexecdir = @libexecdir@
|
|
|
localstatedir = @localstatedir@
|
|
|
mandir = @mandir@
|
|
|
+mkdir_p = @mkdir_p@
|
|
|
oldincludedir = @oldincludedir@
|
|
|
prefix = @prefix@
|
|
|
program_transform_name = @program_transform_name@
|
|
@@ -133,103 +180,68 @@ target_alias = @target_alias@
|
|
|
target_cpu = @target_cpu@
|
|
|
target_os = @target_os@
|
|
|
target_vendor = @target_vendor@
|
|
|
-
|
|
|
AUTOMAKE_OPTIONS = ../portab/ansi2knr
|
|
|
-
|
|
|
INCLUDES = -I$(srcdir)/../portab -I$(srcdir)/../tool
|
|
|
-
|
|
|
LINTARGS = -weak -warnunixlib +unixlib -booltype BOOLEAN \
|
|
|
-varuse -retvalother -emptyret -unrecog
|
|
|
|
|
|
-
|
|
|
-sbin_PROGRAMS = ngircd
|
|
|
-
|
|
|
-ngircd_SOURCES = ngircd.c channel.c client.c conf.c conn.c conn-zip.c conn-func.c \
|
|
|
- hash.c irc.c irc-channel.c irc-info.c irc-login.c irc-mode.c irc-op.c \
|
|
|
- irc-oper.c irc-server.c irc-write.c lists.c log.c match.c parse.c \
|
|
|
- rendezvous.c resolve.c
|
|
|
-
|
|
|
+ngircd_SOURCES = ngircd.c array.c channel.c client.c conf.c conn.c conn-func.c \
|
|
|
+ conn-zip.c hash.c io.c irc.c irc-channel.c irc-info.c irc-login.c \
|
|
|
+ irc-mode.c irc-op.c irc-oper.c irc-server.c irc-write.c lists.c log.c \
|
|
|
+ match.c parse.c rendezvous.c resolve.c
|
|
|
|
|
|
ngircd_LDFLAGS = -L../portab -L../tool
|
|
|
-
|
|
|
ngircd_LDADD = -lngportab -lngtool
|
|
|
-
|
|
|
-noinst_HEADERS = ngircd.h channel.h client.h conf.h conn.h conn-zip.h conn-func.h \
|
|
|
- hash.h irc.h irc-channel.h irc-info.h irc-login.h irc-mode.h irc-op.h \
|
|
|
- irc-oper.h irc-server.h irc-write.h lists.h log.h match.h parse.h \
|
|
|
- rendezvous.h resolve.h \
|
|
|
- messages.h defines.h
|
|
|
-
|
|
|
+noinst_HEADERS = ngircd.h array.h channel.h client.h conf.h conn.h conn-func.h \
|
|
|
+ conn-zip.h hash.h io.h irc.h irc-channel.h irc-info.h irc-login.h \
|
|
|
+ irc-mode.h irc-op.h irc-oper.h irc-server.h irc-write.h lists.h log.h \
|
|
|
+ match.h parse.h rendezvous.h resolve.h \
|
|
|
+ defines.h messages.h
|
|
|
|
|
|
TESTS = check-version check-help
|
|
|
-subdir = src/ngircd
|
|
|
-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
|
|
-mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
|
|
-CONFIG_HEADER = $(top_builddir)/src/config.h
|
|
|
-CONFIG_CLEAN_FILES =
|
|
|
-sbin_PROGRAMS = ngircd$(EXEEXT)
|
|
|
-PROGRAMS = $(sbin_PROGRAMS)
|
|
|
-
|
|
|
-am_ngircd_OBJECTS = ngircd$U.$(OBJEXT) channel$U.$(OBJEXT) \
|
|
|
- client$U.$(OBJEXT) conf$U.$(OBJEXT) conn$U.$(OBJEXT) \
|
|
|
- conn-zip$U.$(OBJEXT) conn-func$U.$(OBJEXT) hash$U.$(OBJEXT) \
|
|
|
- irc$U.$(OBJEXT) irc-channel$U.$(OBJEXT) irc-info$U.$(OBJEXT) \
|
|
|
- irc-login$U.$(OBJEXT) irc-mode$U.$(OBJEXT) irc-op$U.$(OBJEXT) \
|
|
|
- irc-oper$U.$(OBJEXT) irc-server$U.$(OBJEXT) \
|
|
|
- irc-write$U.$(OBJEXT) lists$U.$(OBJEXT) log$U.$(OBJEXT) \
|
|
|
- match$U.$(OBJEXT) parse$U.$(OBJEXT) rendezvous$U.$(OBJEXT) \
|
|
|
- resolve$U.$(OBJEXT)
|
|
|
-ngircd_OBJECTS = $(am_ngircd_OBJECTS)
|
|
|
-ngircd_DEPENDENCIES =
|
|
|
-
|
|
|
-DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/src
|
|
|
-depcomp = $(SHELL) $(top_srcdir)/depcomp
|
|
|
-am__depfiles_maybe = depfiles
|
|
|
-@AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/channel$U.Po ./$(DEPDIR)/client$U.Po \
|
|
|
-@AMDEP_TRUE@ ./$(DEPDIR)/conf$U.Po ./$(DEPDIR)/conn$U.Po \
|
|
|
-@AMDEP_TRUE@ ./$(DEPDIR)/conn-func$U.Po \
|
|
|
-@AMDEP_TRUE@ ./$(DEPDIR)/conn-zip$U.Po ./$(DEPDIR)/hash$U.Po \
|
|
|
-@AMDEP_TRUE@ ./$(DEPDIR)/irc$U.Po ./$(DEPDIR)/irc-channel$U.Po \
|
|
|
-@AMDEP_TRUE@ ./$(DEPDIR)/irc-info$U.Po \
|
|
|
-@AMDEP_TRUE@ ./$(DEPDIR)/irc-login$U.Po \
|
|
|
-@AMDEP_TRUE@ ./$(DEPDIR)/irc-mode$U.Po ./$(DEPDIR)/irc-op$U.Po \
|
|
|
-@AMDEP_TRUE@ ./$(DEPDIR)/irc-oper$U.Po \
|
|
|
-@AMDEP_TRUE@ ./$(DEPDIR)/irc-server$U.Po \
|
|
|
-@AMDEP_TRUE@ ./$(DEPDIR)/irc-write$U.Po ./$(DEPDIR)/lists$U.Po \
|
|
|
-@AMDEP_TRUE@ ./$(DEPDIR)/log$U.Po ./$(DEPDIR)/match$U.Po \
|
|
|
-@AMDEP_TRUE@ ./$(DEPDIR)/ngircd$U.Po ./$(DEPDIR)/parse$U.Po \
|
|
|
-@AMDEP_TRUE@ ./$(DEPDIR)/rendezvous$U.Po \
|
|
|
-@AMDEP_TRUE@ ./$(DEPDIR)/resolve$U.Po
|
|
|
-COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
|
|
|
- $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
|
|
-CCLD = $(CC)
|
|
|
-LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
|
|
|
-DIST_SOURCES = $(ngircd_SOURCES)
|
|
|
-HEADERS = $(noinst_HEADERS)
|
|
|
-
|
|
|
-DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.in Makefile.am
|
|
|
-SOURCES = $(ngircd_SOURCES)
|
|
|
-
|
|
|
all: all-am
|
|
|
|
|
|
.SUFFIXES:
|
|
|
.SUFFIXES: .c .o .obj
|
|
|
-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
|
|
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
|
|
|
+ @for dep in $?; do \
|
|
|
+ case '$(am__configure_deps)' in \
|
|
|
+ *$$dep*) \
|
|
|
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
|
|
|
+ && exit 0; \
|
|
|
+ exit 1;; \
|
|
|
+ esac; \
|
|
|
+ done; \
|
|
|
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/ngircd/Makefile'; \
|
|
|
cd $(top_srcdir) && \
|
|
|
$(AUTOMAKE) --gnu src/ngircd/Makefile
|
|
|
-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
|
|
- cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
|
|
|
-sbinPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
|
|
|
+.PRECIOUS: Makefile
|
|
|
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
|
|
+ @case '$?' in \
|
|
|
+ *config.status*) \
|
|
|
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
|
|
|
+ *) \
|
|
|
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
|
|
|
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
|
|
|
+ esac;
|
|
|
+
|
|
|
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
|
|
|
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
|
|
+
|
|
|
+$(top_srcdir)/configure: $(am__configure_deps)
|
|
|
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
|
|
+$(ACLOCAL_M4): $(am__aclocal_m4_deps)
|
|
|
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
|
|
install-sbinPROGRAMS: $(sbin_PROGRAMS)
|
|
|
@$(NORMAL_INSTALL)
|
|
|
- $(mkinstalldirs) $(DESTDIR)$(sbindir)
|
|
|
+ test -z "$(sbindir)" || $(mkdir_p) "$(DESTDIR)$(sbindir)"
|
|
|
@list='$(sbin_PROGRAMS)'; for p in $$list; do \
|
|
|
p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
|
|
|
if test -f $$p \
|
|
|
; then \
|
|
|
f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
|
|
|
- echo " $(INSTALL_PROGRAM_ENV) $(sbinPROGRAMS_INSTALL) $$p $(DESTDIR)$(sbindir)/$$f"; \
|
|
|
- $(INSTALL_PROGRAM_ENV) $(sbinPROGRAMS_INSTALL) $$p $(DESTDIR)$(sbindir)/$$f || exit 1; \
|
|
|
+ echo " $(INSTALL_PROGRAM_ENV) $(sbinPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(sbindir)/$$f'"; \
|
|
|
+ $(INSTALL_PROGRAM_ENV) $(sbinPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(sbindir)/$$f" || exit 1; \
|
|
|
else :; fi; \
|
|
|
done
|
|
|
|
|
@@ -237,8 +249,8 @@ uninstall-sbinPROGRAMS:
|
|
|
@$(NORMAL_UNINSTALL)
|
|
|
@list='$(sbin_PROGRAMS)'; for p in $$list; do \
|
|
|
f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
|
|
|
- echo " rm -f $(DESTDIR)$(sbindir)/$$f"; \
|
|
|
- rm -f $(DESTDIR)$(sbindir)/$$f; \
|
|
|
+ echo " rm -f '$(DESTDIR)$(sbindir)/$$f'"; \
|
|
|
+ rm -f "$(DESTDIR)$(sbindir)/$$f"; \
|
|
|
done
|
|
|
|
|
|
clean-sbinPROGRAMS:
|
|
@@ -248,18 +260,17 @@ ngircd$(EXEEXT): $(ngircd_OBJECTS) $(ngircd_DEPENDENCIES)
|
|
|
$(LINK) $(ngircd_LDFLAGS) $(ngircd_OBJECTS) $(ngircd_LDADD) $(LIBS)
|
|
|
|
|
|
mostlyclean-compile:
|
|
|
- -rm -f *.$(OBJEXT) core *.core
|
|
|
+ -rm -f *.$(OBJEXT)
|
|
|
|
|
|
distclean-compile:
|
|
|
-rm -f *.tab.c
|
|
|
-
|
|
|
-ANSI2KNR = ../portab/ansi2knr
|
|
|
../portab/ansi2knr:
|
|
|
cd ../portab && $(MAKE) $(AM_MAKEFLAGS) ansi2knr
|
|
|
|
|
|
mostlyclean-kr:
|
|
|
-test "$U" = "" || rm -f *_.c
|
|
|
|
|
|
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/array$U.Po@am__quote@
|
|
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/channel$U.Po@am__quote@
|
|
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/client$U.Po@am__quote@
|
|
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/conf$U.Po@am__quote@
|
|
@@ -267,6 +278,7 @@ mostlyclean-kr:
|
|
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/conn-func$U.Po@am__quote@
|
|
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/conn-zip$U.Po@am__quote@
|
|
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hash$U.Po@am__quote@
|
|
|
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/io$U.Po@am__quote@
|
|
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/irc$U.Po@am__quote@
|
|
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/irc-channel$U.Po@am__quote@
|
|
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/irc-info$U.Po@am__quote@
|
|
@@ -285,26 +297,20 @@ mostlyclean-kr:
|
|
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/resolve$U.Po@am__quote@
|
|
|
|
|
|
.c.o:
|
|
|
-@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
|
|
|
-@am__fastdepCC_TRUE@ -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \
|
|
|
-@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \
|
|
|
-@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
|
|
|
-@am__fastdepCC_TRUE@ fi
|
|
|
+@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
|
|
|
+@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
|
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
|
|
-@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
|
|
|
-@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
|
|
-@am__fastdepCC_FALSE@ $(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$<
|
|
|
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
|
|
+@am__fastdepCC_FALSE@ $(COMPILE) -c $<
|
|
|
|
|
|
.c.obj:
|
|
|
-@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
|
|
|
-@am__fastdepCC_TRUE@ -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`; \
|
|
|
-@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \
|
|
|
-@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
|
|
|
-@am__fastdepCC_TRUE@ fi
|
|
|
+@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
|
|
|
+@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
|
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
|
|
-@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
|
|
|
-@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
|
|
-@am__fastdepCC_FALSE@ $(COMPILE) -c `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`
|
|
|
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
|
|
+@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
|
|
|
+array_.c: array.c $(ANSI2KNR)
|
|
|
+ $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/array.c; then echo $(srcdir)/array.c; else echo array.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > $@ || rm -f $@
|
|
|
channel_.c: channel.c $(ANSI2KNR)
|
|
|
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/channel.c; then echo $(srcdir)/channel.c; else echo channel.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > $@ || rm -f $@
|
|
|
client_.c: client.c $(ANSI2KNR)
|
|
@@ -319,6 +325,8 @@ conn-zip_.c: conn-zip.c $(ANSI2KNR)
|
|
|
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/conn-zip.c; then echo $(srcdir)/conn-zip.c; else echo conn-zip.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > $@ || rm -f $@
|
|
|
hash_.c: hash.c $(ANSI2KNR)
|
|
|
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/hash.c; then echo $(srcdir)/hash.c; else echo hash.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > $@ || rm -f $@
|
|
|
+io_.c: io.c $(ANSI2KNR)
|
|
|
+ $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/io.c; then echo $(srcdir)/io.c; else echo io.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > $@ || rm -f $@
|
|
|
irc_.c: irc.c $(ANSI2KNR)
|
|
|
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/irc.c; then echo $(srcdir)/irc.c; else echo irc.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > $@ || rm -f $@
|
|
|
irc-channel_.c: irc-channel.c $(ANSI2KNR)
|
|
@@ -351,23 +359,16 @@ rendezvous_.c: rendezvous.c $(ANSI2KNR)
|
|
|
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/rendezvous.c; then echo $(srcdir)/rendezvous.c; else echo rendezvous.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > $@ || rm -f $@
|
|
|
resolve_.c: resolve.c $(ANSI2KNR)
|
|
|
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/resolve.c; then echo $(srcdir)/resolve.c; else echo resolve.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > $@ || rm -f $@
|
|
|
-channel_.$(OBJEXT) client_.$(OBJEXT) conf_.$(OBJEXT) conn_.$(OBJEXT) \
|
|
|
-conn-func_.$(OBJEXT) conn-zip_.$(OBJEXT) hash_.$(OBJEXT) irc_.$(OBJEXT) \
|
|
|
-irc-channel_.$(OBJEXT) irc-info_.$(OBJEXT) irc-login_.$(OBJEXT) \
|
|
|
-irc-mode_.$(OBJEXT) irc-op_.$(OBJEXT) irc-oper_.$(OBJEXT) \
|
|
|
-irc-server_.$(OBJEXT) irc-write_.$(OBJEXT) lists_.$(OBJEXT) \
|
|
|
-log_.$(OBJEXT) match_.$(OBJEXT) ngircd_.$(OBJEXT) parse_.$(OBJEXT) \
|
|
|
-rendezvous_.$(OBJEXT) resolve_.$(OBJEXT) : $(ANSI2KNR)
|
|
|
+array_.$(OBJEXT) channel_.$(OBJEXT) client_.$(OBJEXT) conf_.$(OBJEXT) \
|
|
|
+conn_.$(OBJEXT) conn-func_.$(OBJEXT) conn-zip_.$(OBJEXT) \
|
|
|
+hash_.$(OBJEXT) io_.$(OBJEXT) irc_.$(OBJEXT) irc-channel_.$(OBJEXT) \
|
|
|
+irc-info_.$(OBJEXT) irc-login_.$(OBJEXT) irc-mode_.$(OBJEXT) \
|
|
|
+irc-op_.$(OBJEXT) irc-oper_.$(OBJEXT) irc-server_.$(OBJEXT) \
|
|
|
+irc-write_.$(OBJEXT) lists_.$(OBJEXT) log_.$(OBJEXT) match_.$(OBJEXT) \
|
|
|
+ngircd_.$(OBJEXT) parse_.$(OBJEXT) rendezvous_.$(OBJEXT) \
|
|
|
+resolve_.$(OBJEXT) : $(ANSI2KNR)
|
|
|
uninstall-info-am:
|
|
|
|
|
|
-ETAGS = etags
|
|
|
-ETAGSFLAGS =
|
|
|
-
|
|
|
-CTAGS = ctags
|
|
|
-CTAGSFLAGS =
|
|
|
-
|
|
|
-tags: TAGS
|
|
|
-
|
|
|
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
|
|
|
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
|
|
unique=`for i in $$list; do \
|
|
@@ -376,6 +377,7 @@ ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
|
|
|
$(AWK) ' { files[$$0] = 1; } \
|
|
|
END { for (i in files) print i; }'`; \
|
|
|
mkid -fID $$unique
|
|
|
+tags: TAGS
|
|
|
|
|
|
TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
|
|
$(TAGS_FILES) $(LISP)
|
|
@@ -387,10 +389,11 @@ TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
|
|
done | \
|
|
|
$(AWK) ' { files[$$0] = 1; } \
|
|
|
END { for (i in files) print i; }'`; \
|
|
|
- test -z "$(ETAGS_ARGS)$$tags$$unique" \
|
|
|
- || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
|
|
- $$tags $$unique
|
|
|
-
|
|
|
+ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
|
|
|
+ test -n "$$unique" || unique=$$empty_fix; \
|
|
|
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
|
|
+ $$tags $$unique; \
|
|
|
+ fi
|
|
|
ctags: CTAGS
|
|
|
CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
|
|
$(TAGS_FILES) $(LISP)
|
|
@@ -427,24 +430,24 @@ check-TESTS: $(TESTS)
|
|
|
all=`expr $$all + 1`; \
|
|
|
case " $(XFAIL_TESTS) " in \
|
|
|
*" $$tst "*) \
|
|
|
- xpass=`expr $$xpass + 1`; \
|
|
|
- failed=`expr $$failed + 1`; \
|
|
|
- echo "XPASS: $$tst"; \
|
|
|
+ xpass=`expr $$xpass + 1`; \
|
|
|
+ failed=`expr $$failed + 1`; \
|
|
|
+ echo "XPASS: $$tst"; \
|
|
|
;; \
|
|
|
*) \
|
|
|
- echo "PASS: $$tst"; \
|
|
|
+ echo "PASS: $$tst"; \
|
|
|
;; \
|
|
|
esac; \
|
|
|
elif test $$? -ne 77; then \
|
|
|
all=`expr $$all + 1`; \
|
|
|
case " $(XFAIL_TESTS) " in \
|
|
|
*" $$tst "*) \
|
|
|
- xfail=`expr $$xfail + 1`; \
|
|
|
- echo "XFAIL: $$tst"; \
|
|
|
+ xfail=`expr $$xfail + 1`; \
|
|
|
+ echo "XFAIL: $$tst"; \
|
|
|
;; \
|
|
|
*) \
|
|
|
- failed=`expr $$failed + 1`; \
|
|
|
- echo "FAIL: $$tst"; \
|
|
|
+ failed=`expr $$failed + 1`; \
|
|
|
+ echo "FAIL: $$tst"; \
|
|
|
;; \
|
|
|
esac; \
|
|
|
else \
|
|
@@ -469,27 +472,23 @@ check-TESTS: $(TESTS)
|
|
|
skipped=""; \
|
|
|
if test "$$skip" -ne 0; then \
|
|
|
skipped="($$skip tests were not run)"; \
|
|
|
- test `echo "$$skipped" | wc -c` -gt `echo "$$banner" | wc -c` && \
|
|
|
+ test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \
|
|
|
dashes="$$skipped"; \
|
|
|
fi; \
|
|
|
report=""; \
|
|
|
if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \
|
|
|
report="Please report to $(PACKAGE_BUGREPORT)"; \
|
|
|
- test `echo "$$report" | wc -c` -gt `echo "$$banner" | wc -c` && \
|
|
|
+ test `echo "$$report" | wc -c` -le `echo "$$banner" | wc -c` || \
|
|
|
dashes="$$report"; \
|
|
|
fi; \
|
|
|
dashes=`echo "$$dashes" | sed s/./=/g`; \
|
|
|
echo "$$dashes"; \
|
|
|
echo "$$banner"; \
|
|
|
- test -n "$$skipped" && echo "$$skipped"; \
|
|
|
- test -n "$$report" && echo "$$report"; \
|
|
|
+ test -z "$$skipped" || echo "$$skipped"; \
|
|
|
+ test -z "$$report" || echo "$$report"; \
|
|
|
echo "$$dashes"; \
|
|
|
test "$$failed" -eq 0; \
|
|
|
else :; fi
|
|
|
-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
|
|
-
|
|
|
-top_distdir = ../..
|
|
|
-distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
|
|
|
|
|
|
distdir: $(DISTFILES)
|
|
|
@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
|
|
@@ -503,7 +502,7 @@ distdir: $(DISTFILES)
|
|
|
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
|
|
|
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
|
|
|
dir="/$$dir"; \
|
|
|
- $(mkinstalldirs) "$(distdir)$$dir"; \
|
|
|
+ $(mkdir_p) "$(distdir)$$dir"; \
|
|
|
else \
|
|
|
dir=''; \
|
|
|
fi; \
|
|
@@ -522,9 +521,10 @@ check-am: all-am
|
|
|
$(MAKE) $(AM_MAKEFLAGS) check-TESTS
|
|
|
check: check-am
|
|
|
all-am: Makefile $(PROGRAMS) $(HEADERS)
|
|
|
-
|
|
|
installdirs:
|
|
|
- $(mkinstalldirs) $(DESTDIR)$(sbindir)
|
|
|
+ for dir in "$(DESTDIR)$(sbindir)"; do \
|
|
|
+ test -z "$$dir" || $(mkdir_p) "$$dir"; \
|
|
|
+ done
|
|
|
install: install-am
|
|
|
install-exec: install-exec-am
|
|
|
install-data: install-data-am
|
|
@@ -544,7 +544,7 @@ mostlyclean-generic:
|
|
|
clean-generic:
|
|
|
|
|
|
distclean-generic:
|
|
|
- -rm -f $(CONFIG_CLEAN_FILES)
|
|
|
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
|
|
|
|
|
|
maintainer-clean-generic:
|
|
|
@echo "This command is intended for maintainers to use"
|
|
@@ -563,6 +563,8 @@ dvi: dvi-am
|
|
|
|
|
|
dvi-am:
|
|
|
|
|
|
+html: html-am
|
|
|
+
|
|
|
info: info-am
|
|
|
|
|
|
info-am:
|
|
@@ -600,13 +602,14 @@ uninstall-am: uninstall-info-am uninstall-sbinPROGRAMS
|
|
|
.PHONY: CTAGS GTAGS all all-am check check-TESTS check-am clean \
|
|
|
clean-generic clean-local clean-sbinPROGRAMS ctags distclean \
|
|
|
distclean-compile distclean-generic distclean-tags distdir dvi \
|
|
|
- dvi-am info info-am install install-am install-data \
|
|
|
- install-data-am install-exec install-exec-am install-info \
|
|
|
- install-info-am install-man install-sbinPROGRAMS install-strip \
|
|
|
- installcheck installcheck-am installdirs maintainer-clean \
|
|
|
- maintainer-clean-generic maintainer-clean-local mostlyclean \
|
|
|
- mostlyclean-compile mostlyclean-generic mostlyclean-kr pdf \
|
|
|
- pdf-am ps ps-am tags uninstall uninstall-am uninstall-info-am \
|
|
|
+ dvi-am html html-am info info-am install install-am \
|
|
|
+ install-data install-data-am install-exec install-exec-am \
|
|
|
+ install-info install-info-am install-man install-sbinPROGRAMS \
|
|
|
+ install-strip installcheck installcheck-am installdirs \
|
|
|
+ maintainer-clean maintainer-clean-generic \
|
|
|
+ maintainer-clean-local mostlyclean mostlyclean-compile \
|
|
|
+ mostlyclean-generic mostlyclean-kr pdf pdf-am ps ps-am tags \
|
|
|
+ uninstall uninstall-am uninstall-info-am \
|
|
|
uninstall-sbinPROGRAMS
|
|
|
|
|
|
|
|
@@ -618,12 +621,12 @@ maintainer-clean-local:
|
|
|
|
|
|
check-version: Makefile
|
|
|
echo "#!/bin/sh" > check-version
|
|
|
- echo "./ngircd --version | grep ngircd > /dev/null 2>&1" >> check-version
|
|
|
+ echo "./ngircd --version | grep ngircd >/dev/null 2>&1" >>check-version
|
|
|
chmod 755 check-version
|
|
|
|
|
|
check-help: Makefile
|
|
|
echo "#!/bin/sh" > check-help
|
|
|
- echo "./ngircd --help | grep help > /dev/null 2>&1" >> check-help
|
|
|
+ echo "./ngircd --help | grep help >/dev/null 2>&1" >>check-help
|
|
|
chmod 755 check-help
|
|
|
|
|
|
lint:
|
|
@@ -638,7 +641,7 @@ lint:
|
|
|
if [ $$? -ne 0 ]; then \
|
|
|
waswarning=1; \
|
|
|
echo; grep -v "^Command Line: " lint.out; echo; \
|
|
|
- w=$$( grep "code warning" lint.out | awk "{ print \$$4 }" ); \
|
|
|
+ w=$$( grep "code warning" lint.out | $(AWK) "{ print \$$4 }" ); \
|
|
|
[ "$$w" -gt 0 ] && warnings=`expr $$warnings + $$w`; \
|
|
|
files=`expr $$files + 1`; \
|
|
|
else \
|