Makefile.am 6.96 KB
Newer Older
1 2 3 4
#Addition from gnulib
SUBDIRS = lib
#--------------------

5
dist_bin_SCRIPTS = gbconvtable gbdummyfy gbplot
6

7
EXTRA_SCRIPTS = gbconvtable gbdummyfy gbplot
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65

bin_PROGRAMS = gbbin gbdist gbhisto gbmave gbstat gbtest gbnear gbker2d gbhisto2d gbkreg2d gbquant gbboot gbenv gbgcorr gbfilternear gbmstat gbxcorr @GBGET@ @GBKER@ @GBKREG@ @GBMODES@ @GBINTERP@ @GBFUN@ @GBLREG@ @GBGRID@ @GBGLREG@ @GBNLREG@ @GBNLPANEL@ @GBNLQREG@  @GBRAND@ @GBHILL@ @GBNLMULT@ @GBNLPROBIT@ @GBNLPOLYIT@ @GBACORR@

EXTRA_PROGRAMS = gbget gbker gbkreg gbmodes gbinterp gbfun gblreg gbgrid gbglreg gbnlreg gbnlpanel gbnlqreg gbrand gbhill gbnlmult gbnlprobit gbnlpolyit gbacorr

gbget_SOURCES = gbget.c tools.c
gbbin_SOURCES = gbbin.c tools.c
gbdist_SOURCES = gbdist.c tools.c
gbhisto_SOURCES = gbhisto.c tools.c
gbmave_SOURCES = gbmave.c tools.c
gbstat_SOURCES = gbstat.c tools.c
gbtest_SOURCES = gbtest.c tools.c
gbnear_SOURCES = gbnear.c tools.c
gbker2d_SOURCES = gbker2d.c tools.c
gbhisto2d_SOURCES = gbhisto2d.c tools.c
gbkreg2d_SOURCES = gbkreg2d.c tools.c
gbquant_SOURCES = gbquant.c tools.c
gbboot_SOURCES = gbboot.c tools.c
gbenv_SOURCES = gbenv.c tools.c
gbfilternear_SOURCES = gbfilternear.c tools.c
gbmstat_SOURCES = gbmstat.c tools.c

gbgcorr_SOURCES = gbgcorr.c  tools.c
gbxcorr_SOURCES = gbxcorr.c tools.c

gbkreg_SOURCES = gbkreg.c tools.c
gbker_SOURCES = gbker.c tools.c
gbmodes_SOURCES = gbmodes.c tools.c
gbinterp_SOURCES = gbinterp.c tools.c
gbfun_SOURCES = gbfun.c tools.c
gblreg_SOURCES = gblreg.c tools.c
gbgrid_SOURCES = gbgrid.c tools.c
gbglreg_SOURCES = gbglreg.c tools.c
gbnlreg_SOURCES = gbnlreg.c tools.c
gbnlpanel_SOURCES = gbnlpanel.c multimin.c tools.c
gbnlqreg_SOURCES = gbnlqreg.c tools.c
gbrand_SOURCES = gbrand.c tools.c
gbhill_SOURCES = gbhill.c exponential_gbhill.c paretoI_gbhill.c paretoIII_gbhill.c gaussian_gbhill.c tools.c multimin.c
gbnlmult_SOURCES = gbnlmult.c tools.c
gbnlprobit_SOURCES = gbnlprobit.c tools.c multimin.c
gbnlpolyit_SOURCES = gbnlpolyit.c tools.c multimin.c
gbacorr_SOURCES = gbacorr.c tools.c


#Extra linker directives on Cygwin
if ISCYGWIN
gbfun_LDADD = -lmatheval -lfl
gbget_LDADD = -lmatheval -lfl
gbgrid_LDADD = -lmatheval -lfl
gbnlreg_LDADD = -lmatheval -lfl
gbnlpanel_LDADD = -lmatheval -lfl
gbnlqreg_LDADD = -lmatheval -lfl
gbnlmult_LDADD = -lmatheval -lfl
gbnlprobit_LDADD = -lmatheval -lfl
gbnlpolyit_LDADD = -lmatheval -lfl
endif

#Possibly build man pages
66
dist_man1_MANS = gbplot.1 gbhisto.1 gbbin.1 gbdist.1 gbmave.1 gbstat.1 gbtest.1 gbnear.1 gbker2d.1 gbhisto2d.1 gbkreg2d.1 gbquant.1 gbboot.1 gbgcorr.1 gbfilternear.1 gbmstat.1 gbxcorr.1 @GBGETMAN@ @GBKERMAN@ @GBKREGMAN@ @GBMODESMAN@ @GBINTERPMAN@ @GBFUNMAN@ @GBLREGMAN@ @GBGRIDMAN@ @GBGLREGMAN@ @GBNLREGMAN@ @GBNLPANELMAN@ @GBNLQREGMAN@ @GBRANDMAN@ @GBHILLMAN@ @GBNLMULTMAN@ @GBNLPROBITMAN@ @GBNLPOLYITMAN@ @GBACORRMAN@ gbdummyfy.1 gbenv.1 gbconvtable.1
67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176

#Possibly build man pages
if H2M
#rules to build man pages
gbget.1: gbget.c
	$(HELP2MAN) -n "Basic data extraction and manipulation tool" -N --output=$@ ./gbget

gbker.1: gbker.c
	$(HELP2MAN) -n "Produce kernel density estimation" -N --output=$@ ./gbker

gbhisto.1: gbhisto.c
	$(HELP2MAN) -n "Produce histogram from data" -N --output=$@ ./gbhisto

gbbin.1: gbbin.c
	$(HELP2MAN) -n "A program to bin data" -N --output=$@ ./gbbin

gbdist.1: gbdist.c
	$(HELP2MAN) -n "Produce cumulative distribution from data" -N --output=$@ ./gbdist

gbmave.1: gbmave.c
	$(HELP2MAN) -n "Produce moving average from data" -N --output=$@ ./gbmave

gbstat.1: gbstat.c
	$(HELP2MAN) -n "Basic descriptive statistics of data" -N --output=$@ ./gbstat

gbtest.1: gbtest.c
	$(HELP2MAN) -n "Compute statistical tests on data" -N --output=$@ ./gbtest

gbnear.1: gbnear.c
	$(HELP2MAN) -n "Produce nearest neighborhood density estimate" -N --output=$@ ./gbnear

gbker2d.1: gbker2d.c
	$(HELP2MAN) -n "Kernel density estimate for bivariate data" -N --output=$@ ./gbker2d

gbhisto2d.1: gbhisto2d.c
	$(HELP2MAN) -n "Produce 2D histogram from data" -N --output=$@ ./gbhisto2d

gbkreg2d.1: gbkreg2d.c
	$(HELP2MAN) -n "Kernel non linear regression for bivariate data" -N --output=$@ ./gbkreg2d

gbquant.1: gbquant.c
	$(HELP2MAN) -n "Print quantiles of data distribution" -N --output=$@ ./gbquant

gbboot.1: gbboot.c
	$(HELP2MAN) -n "Bootstrap user provided data" -N --output=$@ ./gbboot

gbgcorr.1: gbgcorr.c
	$(HELP2MAN) -n "Gaussian kernel correlation dimension" -N --output=$@ ./gbgcorr

gbfilternear.1: gbfilternear.c
	$(HELP2MAN) -n "Filter too near data point in Euclidean metric" -N --output=$@ ./gbfilternear

gbmstat.1: gbmstat.c
	$(HELP2MAN) -n "Computing statistics in a  moving windows" -N --output=$@ ./gbmstat

gbxcorr.1: gbxcorr.c
	$(HELP2MAN) -n "Compute cross correlation matrix" -N --output=$@ ./gbxcorr

gbacorr.1: gbacorr.c
	$(HELP2MAN) -n "Compute auto/cross-correlation coefficients" -N --output=$@ ./gbacorr

gbkreg.1: gbkreg.c
	$(HELP2MAN) -n "Kernel non linear regression function" -N --output=$@ ./gbkreg

gbmodes.1: gbmodes.c
	$(HELP2MAN) -n "Analyze multimodality in univariate data" -N --output=$@ ./gbmodes

gbinterp.1: gbinterp.c
	$(HELP2MAN) -n "Compute equispaced curve from interpolated" -N --output=$@ ./gbinterp

gbfun.1: gbfun.c
	$(HELP2MAN) -n "Apply functions to table of data" -N --output=$@ ./gbfun

gblreg.1: gblreg.c
	$(HELP2MAN) -n "Estimate linear regression model" -N --output=$@ ./gblreg

gbgrid.1: gbgrid.c
	$(HELP2MAN) -n "Produce grid of data" -N --output=$@ ./gbgrid

gbglreg.1: gbglreg.c
	$(HELP2MAN) -n "Estimate general linear regression model" -N --output=$@ ./gbglreg

gbnlreg.1: gbnlreg.c
	$(HELP2MAN) -n "Non linear regression" -N --output=$@ ./gbnlreg

gbnlpanel.1: gbnlpanel.c
	$(HELP2MAN) -n "Non-linear panel regression" -N --output=$@ ./gbnlpanel

gbnlqreg.1: gbnlqreg.c
	$(HELP2MAN) -n "Non linear quantile regression" -N --output=$@ ./gbnlqreg

gbrand.1: gbrand.c
	$(HELP2MAN) -n "Sampling from random distributions" -N --output=$@ ./gbrand

gbhill.1: gbhill.c
	$(HELP2MAN) -n "Hill Maximum Likelihhod estimation" -N --output=$@ ./gbhill

gbnlmult.1: gbnlmult.c
	$(HELP2MAN) -n "Solve systems of non linear simultaneous equations" -N --output=$@ ./gbnlmult

gbnlprobit.1: gbnlprobit.c
	$(HELP2MAN) -n "Non linear probit regression" -N --output=$@ ./gbnlprobit

gbnlpolyit.1: gbnlpolyit.c
	$(HELP2MAN) -n "Non linear polyit regression" -N --output=$@ ./gbnlpolyit

gbplot.1: gbplot
	$(HELP2MAN) -n "gnuplot command line interface" -N --output=$@ ./gbplot

gbdummyfy.1: gbdummyfy
177 178 179 180 181 182 183
	$(HELP2MAN) -n "Produce dummies from labels" -N --output=$@ ./gbdummyfy

gbenv.1: gbenv
	$(HELP2MAN) -n "Floating point locale, and gbutils settings" -N --output=$@ ./gbenv

gbconvtable.1: gbconvtable
	$(HELP2MAN) -n "Replace keys with values" -N --output=$@ ./gbconvtable
184 185 186 187 188 189 190 191 192 193 194 195

endif

#extra file to be distributed with the package
EXTRA_DIST = tools.h multimin.h gbhill.h test.dat test.dat.gz doc/cygwin_install.pdf doc/cygwin_install.txt doc/gbget.pdf doc/gbget.txt doc/intro.pdf doc/intro.txt doc/overview.pdf doc/overview.txt

#Addition from gnulib
#EXTRA_DIST += m4
ACLOCAL_AMFLAGS = -I m4
AM_CPPFLAGS = -I$(top_srcdir)/lib
LDADD = lib/libgnu.a
#--------------------