pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/flow-tools Update to version 0.68.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d3f151870a76
branches:  trunk
changeset: 496128:d3f151870a76
user:      seb <seb%pkgsrc.org@localhost>
date:      Thu Jun 23 14:20:56 2005 +0000

description:
Update to version 0.68.

Package changes:
Use PKG_OPTIONS_GROUP framework
Add package option 'python' to support the new python scripts flow-rpt2rrd,
flow-log2rrd and flow-rptfmt.

Changes since last packaged version (0.67):

* 5-11-2005 flow-tools 0.68 released.
* added flow-rpt2rrd - post process flow-report into RRD's.
* added flow-log2rrd - post process logs from
* added flow-rptfmt - post process flow-report into readable and HTML.
* ftstat.c s/psizr256/psize256/ - uebelacker%tuhh.de@localhost
* rec_v5->engine_id not set properly in ftdecode.c
  - baldwinL%mynetwatchman.com@localhost
* --enable-lfs set flags for large file support - alexbrennen%gmail.com@localhost
* Added CryptoPAn support to flow-xlate
  req by Abilene
* mailing list archive is available at mail-archive.com
  req by spork%bway.net@localhost
* flow-cat.c: progress debug output - weinhold%berbee.com@localhost
* portability: gcc no longer supports goto label which label is at the
  end of a compound statement - Andreas Jochens <aj%andaco.de@localhost>
* flow-stat.c: protect from divize by zero - should only happen on invalid
  flows - - Espen.Breivik%uninett.no@localhost
* flow-filter.c: exaddr filter - Espen.Breivik%uninett.no@localhost
* ftxlate.c: tag-mask eval_tag_mask() not using correct offsets
  - Cougar <cougar%random.ee@localhost> & kgraham%valueclick.com@localhost
* flow-send: default tx_delay to 0 like flow-fanout - rjd%merit.edu@localhost
* flow-export: debug should be global - dwatanab%uci.edu@localhost
* flow-report: path will accept spaces, ie |flow-rpt2rrd -p rrd -k 25
* flow-report: records is in rec1
* flow-fanout: did not set address family for receive fd - noted by
  fingers%fingers.co.za@localhost
* docs: add FILES section to man pages
* flow-report: -hh to list available reports
* flow-report, flow-tag, flow-xlate, flow-nfilter.  Run-time variable
  expansion of the form @VAR or @{VAR:default} for config files.
* flow-receive: dropped inline tagging and nfilter support

diffstat:

 net/flow-tools/Makefile         |  26 +++++++++++++++++++++---
 net/flow-tools/PLIST            |   8 ++++++-
 net/flow-tools/distinfo         |  20 ++++++++++--------
 net/flow-tools/patches/patch-ab |  30 ++++++++++++++--------------
 net/flow-tools/patches/patch-ac |  14 ++++++++++--
 net/flow-tools/patches/patch-ad |  35 ++++++++++++++++++++++++++++++---
 net/flow-tools/patches/patch-af |  42 ++++++++++++++++++++--------------------
 net/flow-tools/patches/patch-ak |  35 ++++++---------------------------
 net/flow-tools/patches/patch-al |  10 +++++++++
 net/flow-tools/patches/patch-am |  31 ++++++++++++++++++++++++++++++
 10 files changed, 166 insertions(+), 85 deletions(-)

diffs (truncated from 489 to 300 lines):

diff -r 04213b3322ea -r d3f151870a76 net/flow-tools/Makefile
--- a/net/flow-tools/Makefile   Thu Jun 23 14:06:17 2005 +0000
+++ b/net/flow-tools/Makefile   Thu Jun 23 14:20:56 2005 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.14 2005/05/31 10:01:38 dillo Exp $
+# $NetBSD: Makefile,v 1.15 2005/06/23 14:20:56 seb Exp $
 
-DISTNAME=      flow-tools-0.67
-PKGREVISION=   2
+DISTNAME=      flow-tools-0.68
+#PKGREVISION=  1
 CATEGORIES=    net
 MASTER_SITES=  ftp://ftp.eng.oar.net/pub/flow-tools/
 
@@ -28,7 +28,9 @@
 MESSAGE_SUBST+=        EGDIR=${EGDIR}
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.flow-tools
-PKG_SUPPORTED_OPTIONS= mysql postgresql
+PKG_OPTIONS_OPTIONAL_GROUPS=   database
+PKG_SUPPORTED_OPTIONS=         python
+PKG_OPTIONS_GROUP.database=    mysql postgresql
 PKG_OPTIONS_LEGACY_VARS+=      FLOW_TOOLS_USE_MYSQL:mysql
 PKG_OPTIONS_LEGACY_VARS+=      FLOW_TOOLS_USE_POSTGRESQL:postgresql
 
@@ -46,6 +48,22 @@
 CONFIGURE_ARGS+=       --with-pgsql=${PGSQL_PREFIX}
 .endif
 
+# Python scripts support.
+.if !empty(PKG_OPTIONS:Mpython)
+.  include "../../lang/python/application.mk"
+
+PYTHON_PATCH_SCRIPTS=  bin/flow-rpt2rrd bin/flow-log2rrd bin/flow-rptfmt
+PLIST_SUBST+=  PYTHON_OPT=""
+
+post-install:
+.   for s in flow-rpt2rrd flow-log2rrd flow-rptfmt
+       ${INSTALL_SCRIPT} ${WRKSRC}/bin/${s} ${PREFIX}/bin/${s}
+       ${INSTALL_MAN} ${WRKSRC}/docs/${s}.1 ${PREFIX}/man/man1/${s}.1
+.  endfor
+.else
+PLIST_SUBST+=  PYTHON_OPT="@comment "
+.endif
+
 # To avoid providing more patch files we do the following...
 # Order is important here or else dependencies requiring docbook-to-man/jade
 # will be triggered
diff -r 04213b3322ea -r d3f151870a76 net/flow-tools/PLIST
--- a/net/flow-tools/PLIST      Thu Jun 23 14:06:17 2005 +0000
+++ b/net/flow-tools/PLIST      Thu Jun 23 14:20:56 2005 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2004/04/22 15:33:35 seb Exp $
+@comment $NetBSD: PLIST,v 1.5 2005/06/23 14:20:56 seb Exp $
 bin/flow-capture
 bin/flow-cat
 bin/flow-dscan
@@ -9,12 +9,15 @@
 bin/flow-gen
 bin/flow-header
 bin/flow-import
+${PYTHON_OPT}bin/flow-log2rrd
 bin/flow-mask
 bin/flow-merge
 bin/flow-nfilter
 bin/flow-print
 bin/flow-receive
 bin/flow-report
+${PYTHON_OPT}bin/flow-rpt2rrd
+${PYTHON_OPT}bin/flow-rptfmt
 bin/flow-send
 bin/flow-split
 bin/flow-stat
@@ -36,12 +39,15 @@
 man/man1/flow-gen.1
 man/man1/flow-header.1
 man/man1/flow-import.1
+${PYTHON_OPT}man/man1/flow-log2rrd.1
 man/man1/flow-mask.1
 man/man1/flow-merge.1
 man/man1/flow-nfilter.1
 man/man1/flow-print.1
 man/man1/flow-receive.1
 man/man1/flow-report.1
+${PYTHON_OPT}man/man1/flow-rpt2rrd.1
+${PYTHON_OPT}man/man1/flow-rptfmt.1
 man/man1/flow-send.1
 man/man1/flow-split.1
 man/man1/flow-stat.1
diff -r 04213b3322ea -r d3f151870a76 net/flow-tools/distinfo
--- a/net/flow-tools/distinfo   Thu Jun 23 14:06:17 2005 +0000
+++ b/net/flow-tools/distinfo   Thu Jun 23 14:20:56 2005 +0000
@@ -1,16 +1,18 @@
-$NetBSD: distinfo,v 1.6 2005/02/24 12:13:46 agc Exp $
+$NetBSD: distinfo,v 1.7 2005/06/23 14:20:56 seb Exp $
 
-SHA1 (flow-tools-0.67.tar.gz) = 1896dad27db0c89e3e14d86b30aed15581134335
-RMD160 (flow-tools-0.67.tar.gz) = 5a681e642cd1fb1b00d8a0389b628db3b96e076d
-Size (flow-tools-0.67.tar.gz) = 983667 bytes
+SHA1 (flow-tools-0.68.tar.gz) = 6259263ac4fbf8a9394224e4053393fa756473c7
+RMD160 (flow-tools-0.68.tar.gz) = 71bfd1a40cb34fae55b2769d93208d13b3b0a927
+Size (flow-tools-0.68.tar.gz) = 987151 bytes
 SHA1 (patch-aa) = dce60b3995ed22fbdf36e8d2e4187e191909cba7
-SHA1 (patch-ab) = a4eebdcb5b265f2c755ef62a73f9e4c6c25ab719
-SHA1 (patch-ac) = 86cd77dc3ede171e45e62fd4a050bac19643252b
-SHA1 (patch-ad) = f8ece1a38e6024622957e7136923fccabfca041f
+SHA1 (patch-ab) = 0f9c4d5dfe9ead14eb2a56c725639653cb89d369
+SHA1 (patch-ac) = 105781f2d108e34c4ed635b969a6cd795a77b916
+SHA1 (patch-ad) = 89bc60cffe754822e1bf3b1b665a955d2625174b
 SHA1 (patch-ae) = 1e5f151f3eba795f1ade4c016767bd4cd271565a
-SHA1 (patch-af) = 4a70681bd221a9d5e2175cfcb5b45fdbbe7f2971
+SHA1 (patch-af) = 7f5d045954b998a30616dedac0069c817b665031
 SHA1 (patch-ag) = 60d7c6d07cc8f102d6281a55c8188d13eca80bdf
 SHA1 (patch-ah) = cd55409fd5781e204f32ffa51a9b39222eadb8c7
 SHA1 (patch-ai) = 5e0a5f3148e80c156198d74036ff2f1bf35ed779
 SHA1 (patch-aj) = d183dc3b360110a1a90165b0094e349d3a964a2e
-SHA1 (patch-ak) = 0ae5fa523263fa9be836846b46b7f87b52557156
+SHA1 (patch-ak) = f5d13e165b7fac689bcea7e9d7ad07b17a79b7de
+SHA1 (patch-al) = 941cc23ea527624d21d40d3a73aa94f947f02552
+SHA1 (patch-am) = d0c096c0710fe8b41a6bb55528f9098d50cda378
diff -r 04213b3322ea -r d3f151870a76 net/flow-tools/patches/patch-ab
--- a/net/flow-tools/patches/patch-ab   Thu Jun 23 14:06:17 2005 +0000
+++ b/net/flow-tools/patches/patch-ab   Thu Jun 23 14:20:56 2005 +0000
@@ -1,11 +1,11 @@
-$NetBSD: patch-ab,v 1.3 2004/04/22 15:33:35 seb Exp $
+$NetBSD: patch-ab,v 1.4 2005/06/23 14:20:56 seb Exp $
 
---- configs/Makefile.in.orig   2004-04-22 12:14:50.000000000 +0000
+--- configs/Makefile.in.orig   2005-06-21 23:24:13.000000000 +0000
 +++ configs/Makefile.in
-@@ -117,17 +117,17 @@ sbindir = @sbindir@
- sharedstatedir = @sharedstatedir@
- sysconfdir = @sysconfdir@
- target_alias = @target_alias@
+@@ -88,17 +88,17 @@ YLIB = @YLIB@
+ am__include = @am__include@
+ am__quote = @am__quote@
+ install_sh = @install_sh@
 -ftsymdir = $(localstatedir)/sym
 -ftsym_DATA = ip-prot.sym ip-type.sym tcp-port.sym asn.sym tag.sym
 +egftsymdir = $(prefix)/share/examples/@PACKAGE@/sym
@@ -25,7 +25,7 @@
  
  DIST_COMMON = Makefile.am Makefile.in
  all: all-am
-@@ -139,41 +139,41 @@ $(srcdir)/Makefile.in:  Makefile.am  $(t
+@@ -110,41 +110,41 @@ $(srcdir)/Makefile.in:  Makefile.am  $(t
  Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
        cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
  uninstall-info-am:
@@ -87,7 +87,7 @@
        done
  tags: TAGS
  TAGS:
-@@ -218,7 +218,7 @@ check: check-am
+@@ -180,7 +180,7 @@ check: check-am
  all-am: Makefile $(DATA)
  
  installdirs:
@@ -96,7 +96,7 @@
  
  install: install-am
  install-exec: install-exec-am
-@@ -260,7 +260,7 @@ info: info-am
+@@ -222,7 +222,7 @@ info: info-am
  
  info-am:
  
@@ -105,9 +105,9 @@
  
  install-exec-am:
  
-@@ -286,17 +286,18 @@ ps: ps-am
+@@ -240,17 +240,18 @@ mostlyclean: mostlyclean-am
  
- ps-am:
+ mostlyclean-am: mostlyclean-generic
  
 -uninstall-am: uninstall-ftcfgDATA uninstall-ftsymDATA uninstall-info-am
 +uninstall-am: uninstall-egftcfgDATA uninstall-egftsymDATA \
@@ -123,10 +123,10 @@
 +      install-egftsymDATA install-exec install-exec-am install-info \
 +      install-info-am install-man install-strip installcheck \
 +      installcheck-am installdirs maintainer-clean \
-       maintainer-clean-generic mostlyclean mostlyclean-generic pdf \
--      pdf-am ps ps-am uninstall uninstall-am uninstall-ftcfgDATA \
--      uninstall-ftsymDATA uninstall-info-am
-+      pdf-am ps ps-am uninstall uninstall-am uninstall-egftcfgDATA \
+       maintainer-clean-generic mostlyclean mostlyclean-generic \
+-      uninstall uninstall-am uninstall-ftcfgDATA uninstall-ftsymDATA \
+-      uninstall-info-am
++      uninstall uninstall-am uninstall-egftcfgDATA \
 +      uninstall-egftsymDATA uninstall-info-am
  
  # Tell versions [3.59,3.63) of GNU make to not export all variables.
diff -r 04213b3322ea -r d3f151870a76 net/flow-tools/patches/patch-ac
--- a/net/flow-tools/patches/patch-ac   Thu Jun 23 14:06:17 2005 +0000
+++ b/net/flow-tools/patches/patch-ac   Thu Jun 23 14:20:56 2005 +0000
@@ -1,11 +1,19 @@
-$NetBSD: patch-ac,v 1.2 2003/05/23 07:19:43 seb Exp $
+$NetBSD: patch-ac,v 1.3 2005/06/23 14:20:56 seb Exp $
 
---- docs/Makefile.am.orig      2003-02-23 23:58:11.000000000 +0000
+--- docs/Makefile.am.orig      2005-05-11 00:26:20.000000000 +0000
 +++ docs/Makefile.am
+@@ -1,6 +1,6 @@
+ man_MANSIN = flow-capture.1.in flow-cat.1 flow-dscan.1 flow-expire.1 flow-export.1 flow-fanout.1.in flow-filter.1 flow-gen.1 flow-header.1 flow-import.1 flow-merge.1 flow-print.1.in 
flow-receive.1.in flow-send.1 flow-split.1 flow-stat.1 flow-tools-examples.1 flow-tools.1 flow-tag.1.in flow-nfilter.1.in flow-report.1.in flow-mask.1.in flow-xlate.1.in flow-rptfmt.1.in 
flow-log2rrd.1.in flow-rpt2rrd.1.in
+ 
+-man_MANS = flow-capture.1 flow-cat.1 flow-dscan.1 flow-expire.1 flow-export.1 flow-fanout.1 flow-filter.1 flow-gen.1 flow-header.1 flow-import.1 flow-merge.1 flow-print.1 flow-receive.1 flow-send.1 
flow-split.1 flow-stat.1 flow-tools-examples.1 flow-tools.1 flow-tag.1 flow-nfilter.1 flow-report.1 flow-mask.1 flow-xlate.1 flow-rptfmt.1 flow-log2rrd.1 flow-rpt2rrd.1
++man_MANS = flow-capture.1 flow-cat.1 flow-dscan.1 flow-expire.1 flow-export.1 flow-fanout.1 flow-filter.1 flow-gen.1 flow-header.1 flow-import.1 flow-merge.1 flow-print.1 flow-receive.1 flow-send.1 
flow-split.1 flow-stat.1 flow-tools-examples.1 flow-tools.1 flow-tag.1 flow-nfilter.1 flow-report.1 flow-mask.1 flow-xlate.1
+ 
+ man_SGMLS = flow-capture.sgml flow-cat.sgml flow-dscan.sgml flow-expire.sgml flow-export.sgml flow-fanout.sgml flow-filter.sgml flow-gen.sgml flow-header.sgml flow-import.sgml flow-merge.sgml 
flow-print.sgml flow-receive.sgml flow-send.sgml flow-split.sgml flow-stat.sgml flow-tools-examples.sgml flow-tools.sgml flow-xlate.sgml flow-tag.sgml flow-nfilter.sgml flow-report.sgml 
flow-mask.sgml flow-rptfmt.sgml flow-log2rrd.sgml flow-rpt2rrd.sgml
+ 
 @@ -23,6 +23,3 @@ SUFFIXES = .sgml .1 .html .1.in .html.in
  
  .sgml.html.in:
-       jade -V nochunks -c /usr/local/share/sgml/docbook/dsssl/modular/catalog -c /usr/local/share/sgml/docbook/catalog -c /usr/local/share/sgml/jade/catalog -d 
/usr/local/share/sgml/docbook/dsssl/modular/html/docbook.dsl -t sgml $*.sgml > $*.html.in
+       openjade -V nochunks -c /usr/local/share/sgml/docbook/dsssl/modular/catalog -c /usr/local/share/sgml/docbook/catalog -c /usr/local/share/sgml/jade/catalog -d 
/usr/local/share/sgml/docbook/dsssl/modular/html/docbook.dsl -t sgml $*.sgml > $*.html.in
 -
 -all-am: Makefile $(man_MANSIN) $(man_HTMLS)
 -
diff -r 04213b3322ea -r d3f151870a76 net/flow-tools/patches/patch-ad
--- a/net/flow-tools/patches/patch-ad   Thu Jun 23 14:06:17 2005 +0000
+++ b/net/flow-tools/patches/patch-ad   Thu Jun 23 14:20:56 2005 +0000
@@ -1,11 +1,38 @@
-$NetBSD: patch-ad,v 1.3 2004/04/22 15:33:35 seb Exp $
+$NetBSD: patch-ad,v 1.4 2005/06/23 14:20:56 seb Exp $
 
---- docs/Makefile.in.orig      2004-04-22 12:15:03.000000000 +0000
+--- docs/Makefile.in.orig      2005-05-11 14:20:18.000000000 +0000
 +++ docs/Makefile.in
-@@ -378,8 +378,6 @@ uninstall-man: uninstall-man1
+@@ -90,7 +90,7 @@ am__quote = @am__quote@
+ install_sh = @install_sh@
+ man_MANSIN = flow-capture.1.in flow-cat.1 flow-dscan.1 flow-expire.1 flow-export.1 flow-fanout.1.in flow-filter.1 flow-gen.1 flow-header.1 flow-import.1 flow-merge.1 flow-print.1.in 
flow-receive.1.in flow-send.1 flow-split.1 flow-stat.1 flow-tools-examples.1 flow-tools.1 flow-tag.1.in flow-nfilter.1.in flow-report.1.in flow-mask.1.in flow-xlate.1.in flow-rptfmt.1.in 
flow-log2rrd.1.in flow-rpt2rrd.1.in
+ 
+-man_MANS = flow-capture.1 flow-cat.1 flow-dscan.1 flow-expire.1 flow-export.1 flow-fanout.1 flow-filter.1 flow-gen.1 flow-header.1 flow-import.1 flow-merge.1 flow-print.1 flow-receive.1 flow-send.1 
flow-split.1 flow-stat.1 flow-tools-examples.1 flow-tools.1 flow-tag.1 flow-nfilter.1 flow-report.1 flow-mask.1 flow-xlate.1 flow-rptfmt.1 flow-log2rrd.1 flow-rpt2rrd.1
++man_MANS = flow-capture.1 flow-cat.1 flow-dscan.1 flow-expire.1 flow-export.1 flow-fanout.1 flow-filter.1 flow-gen.1 flow-header.1 flow-import.1 flow-merge.1 flow-print.1 flow-receive.1 flow-send.1 
flow-split.1 flow-stat.1 flow-tools-examples.1 flow-tools.1 flow-tag.1 flow-nfilter.1 flow-report.1 flow-mask.1 flow-xlate.1
+ 
+ man_SGMLS = flow-capture.sgml flow-cat.sgml flow-dscan.sgml flow-expire.sgml flow-export.sgml flow-fanout.sgml flow-filter.sgml flow-gen.sgml flow-header.sgml flow-import.sgml flow-merge.sgml 
flow-print.sgml flow-receive.sgml flow-send.sgml flow-split.sgml flow-stat.sgml flow-tools-examples.sgml flow-tools.sgml flow-xlate.sgml flow-tag.sgml flow-nfilter.sgml flow-report.sgml 
flow-mask.sgml flow-rptfmt.sgml flow-log2rrd.sgml flow-rpt2rrd.sgml
+ 
+@@ -111,6 +111,8 @@ CONFIG_CLEAN_FILES = flow-capture.1 flow
+       flow-fanout.html flow-xlate.1 flow-xlate.html flow-rpt2rrd.1 \
+       flow-rpt2rrd.html flow-rptfmt.1 flow-rptfmt.html flow-log2rrd.1 \
+       flow-log2rrd.html
++depcomp =
++am__depfiles_maybe =
+ DIST_SOURCES =
+ 
+ NROFF = nroff
+@@ -130,7 +132,7 @@ all: all-am
+ .SUFFIXES: .sgml .1 .html .1.in .html.in
+ $(srcdir)/Makefile.in:  Makefile.am  $(top_srcdir)/configure.in $(ACLOCAL_M4)
+       cd $(top_srcdir) && \
+-        $(AUTOMAKE) --gnu  docs/Makefile
++        $(AUTOMAKE) --foreign  --ignore-deps docs/Makefile
+ Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
+       cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
+ flow-capture.1: $(top_builddir)/config.status flow-capture.1.in
+@@ -344,8 +346,6 @@ uninstall-man: uninstall-man1
  
  .sgml.html.in:
-       jade -V nochunks -c /usr/local/share/sgml/docbook/dsssl/modular/catalog -c /usr/local/share/sgml/docbook/catalog -c /usr/local/share/sgml/jade/catalog -d 
/usr/local/share/sgml/docbook/dsssl/modular/html/docbook.dsl -t sgml $*.sgml > $*.html.in
+       openjade -V nochunks -c /usr/local/share/sgml/docbook/dsssl/modular/catalog -c /usr/local/share/sgml/docbook/catalog -c /usr/local/share/sgml/jade/catalog -d 
/usr/local/share/sgml/docbook/dsssl/modular/html/docbook.dsl -t sgml $*.sgml > $*.html.in
 -
 -all-am: Makefile $(man_MANSIN) $(man_HTMLS)
  # Tell versions [3.59,3.63) of GNU make to not export all variables.
diff -r 04213b3322ea -r d3f151870a76 net/flow-tools/patches/patch-af
--- a/net/flow-tools/patches/patch-af   Thu Jun 23 14:06:17 2005 +0000
+++ b/net/flow-tools/patches/patch-af   Thu Jun 23 14:20:56 2005 +0000
@@ -1,19 +1,19 @@
-$NetBSD: patch-af,v 1.3 2004/04/22 15:33:35 seb Exp $
+$NetBSD: patch-af,v 1.4 2005/06/23 14:20:56 seb Exp $
 
---- lib/Makefile.in.orig       2004-04-22 12:15:23.000000000 +0000
+--- lib/Makefile.in.orig       2005-06-21 23:24:04.000000000 +0000
 +++ lib/Makefile.in
-@@ -123,7 +123,7 @@ target_alias = @target_alias@
- #AM_CFLAGS=-O2
- AM_CFLAGS = -g -Wall
+@@ -95,7 +95,7 @@ AM_CFLAGS = -g -Wall
+ 
+ DEFS = -I. -I$(srcdir)/lib
  
 -include_HEADERS = ftlib.h ftqueue.h radix.h ftpaths.h ftconfig.h
 +pkginclude_HEADERS = ftlib.h ftqueue.h radix.h ftpaths.h ftconfig.h
  lib_LIBRARIES = libft.a
  
  libft_a_SOURCES = ftio.c ftswap.c ftencode.c ftdecode.c ftprof.c bit1024.c \
-@@ -173,10 +173,10 @@ COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUD
- CCLD = $(CC)
+@@ -148,10 +148,10 @@ CCLD = $(CC)
  LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+ CFLAGS = @CFLAGS@
  DIST_SOURCES = $(libft_a_SOURCES)
 -HEADERS = $(include_HEADERS)
 +HEADERS = $(pkginclude_HEADERS)
@@ -25,9 +25,9 @@
  SOURCES = $(libft_a_SOURCES)
  



Home | Main Index | Thread Index | Old Index