X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2FMakefile.am;h=005ae68541b2cf9278cc7ca616ef4121634b4c3d;hb=c9b1c72477efa03e0a90f8afd9dafebc8f4b04ef;hp=fc07853268ccb05de2c8665c1245f8049333d346;hpb=2e0595dd8e344dbdcab740d7d2a3b67d153d6b39;p=pspp diff --git a/src/Makefile.am b/src/Makefile.am index fc07853268..005ae68541 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -2,6 +2,10 @@ # PSPP +# If you change this, you must also change the corresponding line in +# config/Makefile.am +pkgsysconfdir = $(sysconfdir)/@PACKAGE@ + bin_PROGRAMS = pspp INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src -I$(top_srcdir)/lib \ @@ -13,7 +17,7 @@ EXTRA_DIST = $(q_sources_q) q2c.c ETAGS_ARGS = -l c $(q_sources_c) SUFFIXES = .q -$(q_sources_c): q2c +$(q_sources_c): q2c$(EXEEXT) .q.c: ./q2c $< $@ @@ -36,12 +40,12 @@ htmlP.h include.c inpt-pgm.c inpt-pgm.h lexer.c lexer.h list.c log.h \ loop.c magic.c magic.h main.c main.h matrix-data.c matrix.c matrix.h \ means.c mis-val.c misc.c misc.h modify-vars.c numeric.c output.c \ output.h pfm-read.c pfm-write.c pfm.h pool.c pool.h postscript.c \ -print.c random.c random.h recode.c rename-vars.c repeat.c sample.c \ -sel-if.c set.c settings.h sfm-read.c sfm-write.c sfm.h sfmP.h som.c \ -som.h sort.c sort.h split-file.c stat.h stats.c stats.h str.c str.h \ -sysfile-info.c tab.c tab.h temporary.c title.c t-test.c val-labs.c \ -var-labs.c var.h vars-atr.c vars-prs.c vector.c vector.h version.c \ -version.h vfm.c vfm.h vfmP.h weight.c +print.c quicksort.c quicksort.h random.c random.h recode.c \ +rename-vars.c repeat.c sample.c sel-if.c set.c settings.h sfm-read.c \ +sfm-write.c sfm.h sfmP.h som.c som.h sort.c sort.h split-file.c stat.h \ +stats.c stats.h str.c str.h sysfile-info.c tab.c tab.h temporary.c \ +title.c t-test.c val-labs.c var-labs.c var.h vars-atr.c vars-prs.c \ +vector.c vector.h version.c version.h vfm.c vfm.h vfmP.h weight.c LDADD = ../lib/julcal/libjulcal.a \ ../lib/misc/libmisc.a \ @@ -51,8 +55,8 @@ LDADD = ../lib/julcal/libjulcal.a \ version.c: echo "#include " > version.c echo "const char bare_version[] = \"@VERSION@\";" >> version.c - echo "const char version[] = GNU_PACKAGE \" @VERSION@\";" >> version.c - echo "const char stat_version[] = GNU_PACKAGE \" @VERSION@ \ + echo "const char version[] = \"GNU @PACKAGE@ @VERSION@\";" >> version.c + echo "const char stat_version[] = \"GNU @PACKAGE@ @VERSION@ \ (`date`).\";" >> version.c echo "const char host_system[] = \"$(host_triplet)\";" >> version.c echo "const char build_system[] = \"$(build_triplet)\";" >> version.c