head	8.7;
access;
symbols;
locks; strict;
comment	@# @;


8.7
date	2026.05.11.12.01.11;	author mcalabre;	state Exp;
branches;
next	8.6;

8.6
date	2026.03.29.13.53.57;	author mcalabre;	state Exp;
branches
	8.6.1.1;
next	8.5;

8.5
date	2025.12.06.13.47.42;	author mcalabre;	state Exp;
branches
	8.5.1.1;
next	8.4;

8.4
date	2024.10.28.13.56.17;	author mcalabre;	state Exp;
branches
	8.4.1.1;
next	8.3;

8.3
date	2024.05.13.16.33.01;	author mcalabre;	state Exp;
branches
	8.3.1.1;
next	8.2;

8.2
date	2023.11.16.10.00.30;	author mcalabre;	state Exp;
branches
	8.2.1.1;
next	8.1;

8.1
date	2023.07.05.17.12.07;	author mcalabre;	state Exp;
branches
	8.1.1.1;
next	8.0;

8.0
date	2023.07.01.06.15.05;	author mcalabre;	state Exp;
branches
	8.0.1.1;
next	7.13;

7.13
date	2022.10.07.03.43.35;	author mcalabre;	state Exp;
branches
	7.13.1.1;
next	7.12;

7.12
date	2022.09.09.04.57.58;	author mcalabre;	state Exp;
branches
	7.12.1.1;
next	7.11;

7.11
date	2022.04.26.06.13.52;	author mcalabre;	state Exp;
branches
	7.11.1.1;
next	7.10;

7.10
date	2022.04.23.14.25.15;	author mcalabre;	state Exp;
branches
	7.10.1.1;
next	7.9;

7.9
date	2022.03.25.15.14.49;	author mcalabre;	state Exp;
branches
	7.9.1.1;
next	7.8;

7.8
date	2022.03.25.06.11.49;	author mcalabre;	state Exp;
branches
	7.8.1.1;
next	7.7;

7.7
date	2021.07.12.06.36.49;	author mcalabre;	state Exp;
branches
	7.7.1.1;
next	7.6;

7.6
date	2021.04.13.12.57.02;	author mcalabre;	state Exp;
branches
	7.6.1.1;
next	7.5;

7.5
date	2021.03.20.05.54.59;	author mcalabre;	state Exp;
branches
	7.5.1.1;
next	7.4;

7.4
date	2021.01.31.02.24.52;	author mcalabre;	state Exp;
branches
	7.4.1.1;
next	7.3;

7.3
date	2020.06.03.03.37.03;	author mcalabre;	state Exp;
branches
	7.3.1.1;
next	7.2;

7.2
date	2020.03.09.07.31.24;	author mcalabre;	state Exp;
branches
	7.2.1.1;
next	7.1;

7.1
date	2019.12.31.13.25.19;	author mcalabre;	state Exp;
branches
	7.1.1.1;
next	6.4;

6.4
date	2019.08.15.09.30.18;	author mcalabre;	state Exp;
branches
	6.4.1.1;
next	6.3;

6.3
date	2019.07.12.07.33.40;	author mcalabre;	state Exp;
branches
	6.3.1.1;
next	6.2;

6.2
date	2018.10.20.10.03.14;	author mcalabre;	state Exp;
branches
	6.2.1.1;
next	6.1;

6.1
date	2018.10.19.08.35.17;	author mcalabre;	state Exp;
branches
	6.1.1.1;
next	5.20;

5.20
date	2018.10.05.05.32.42;	author mcalabre;	state Exp;
branches
	5.20.1.1;
next	5.19;

5.19
date	2018.07.26.15.37.05;	author mcalabre;	state Exp;
branches
	5.19.1.1;
next	5.18;

5.18
date	2018.01.10.08.32.14;	author mcalabre;	state Exp;
branches
	5.18.1.1;
next	5.17;

5.17
date	2017.09.18.08.44.25;	author mcalabre;	state Exp;
branches
	5.17.1.1;
next	5.16;

5.16
date	2017.01.15.04.25.03;	author mcalabre;	state Exp;
branches
	5.16.1.1;
next	5.15;

5.15
date	2016.04.05.12.55.12;	author mcalabre;	state Exp;
branches
	5.15.1.1;
next	5.14;

5.14
date	2016.02.07.10.49.33;	author mcalabre;	state Exp;
branches
	5.14.1.1;
next	5.13;

5.13
date	2016.01.26.08.51.16;	author mcalabre;	state Exp;
branches
	5.13.1.1;
next	5.12;

5.12
date	2015.11.15.02.13.02;	author mcalabre;	state Exp;
branches
	5.12.1.1;
next	5.11;

5.11
date	2015.10.18.09.13.07;	author mcalabre;	state Exp;
branches
	5.11.1.1;
next	5.10;

5.10
date	2015.10.09.08.19.17;	author mcalabre;	state Exp;
branches
	5.10.1.1;
next	5.9;

5.9
date	2015.07.21.09.20.04;	author mcalabre;	state Exp;
branches
	5.9.1.1;
next	5.8;

5.8
date	2015.07.08.11.04.02;	author mcalabre;	state Exp;
branches
	5.8.1.1;
next	5.7;

5.7
date	2015.06.29.02.44.18;	author mcalabre;	state Exp;
branches
	5.7.1.1;
next	5.6;

5.6
date	2015.06.14.07.11.26;	author mcalabre;	state Exp;
branches
	5.6.1.1;
next	5.5;

5.5
date	2015.05.05.13.16.33;	author mcalabre;	state Exp;
branches
	5.5.1.1;
next	5.4;

5.4
date	2015.04.21.14.41.07;	author mcalabre;	state Exp;
branches
	5.4.1.1;
next	5.3;

5.3
date	2015.04.21.02.50.53;	author mcalabre;	state Exp;
branches
	5.3.1.1;
next	5.2;

5.2
date	2015.04.15.12.35.09;	author mcalabre;	state Exp;
branches
	5.2.1.1;
next	5.1;

5.1
date	2015.04.07.10.56.39;	author mcalabre;	state Exp;
branches
	5.1.1.1;
next	5.0;

5.0
date	2015.04.05.12.25.02;	author mcalabre;	state Exp;
branches
	5.0.1.1;
next	4.25;

4.25
date	2014.12.14.14.29.38;	author mcalabre;	state Exp;
branches
	4.25.1.1;
next	4.24;

4.24
date	2014.09.18.15.25.02;	author mcalabre;	state Exp;
branches
	4.24.1.1;
next	4.23;

4.23
date	2014.05.13.05.50.53;	author mcalabre;	state Exp;
branches
	4.23.1.1;
next	4.22;

4.22
date	2014.04.12.15.03.54;	author mcalabre;	state Exp;
branches
	4.22.1.1;
next	4.21;

4.21
date	2014.03.24.05.12.29;	author mcalabre;	state Exp;
branches
	4.21.1.1;
next	4.20;

4.20
date	2013.12.18.05.42.50;	author mcalabre;	state Exp;
branches
	4.20.1.1;
next	4.19;

4.19
date	2013.09.29.14.17.53;	author mcalabre;	state Exp;
branches
	4.19.1.1;
next	4.18;

4.18
date	2013.07.13.10.00.06;	author mcalabre;	state Exp;
branches
	4.18.1.1;
next	4.17;

4.17
date	2013.01.29.05.29.22;	author cal103;	state Exp;
branches
	4.17.1.1;
next	4.16;

4.16
date	2012.11.07.04.42.45;	author cal103;	state Exp;
branches
	4.16.1.1;
next	4.15;

4.15
date	2012.09.26.14.26.06;	author cal103;	state Exp;
branches
	4.15.1.1;
next	4.14;

4.14
date	2012.07.13.10.02.44;	author cal103;	state Exp;
branches
	4.14.1.1;
next	4.13;

4.13
date	2012.03.14.07.39.31;	author cal103;	state Exp;
branches
	4.13.1.1;
next	4.12;

4.12
date	2012.02.29.07.57.57;	author cal103;	state Exp;
branches
	4.12.1.1;
next	4.11;

4.11
date	2012.02.20.23.30.03;	author cal103;	state Exp;
branches
	4.11.1.1;
next	4.10;

4.10
date	2012.02.05.23.41.45;	author cal103;	state Exp;
branches
	4.10.1.1;
next	4.9;

4.9
date	2012.01.24.05.40.30;	author cal103;	state Exp;
branches
	4.9.1.1;
next	4.8;

4.8
date	2011.08.15.08.05.55;	author cal103;	state Exp;
branches
	4.8.1.1;
next	4.7;

4.7
date	2011.02.07.07.03.43;	author cal103;	state Exp;
branches
	4.7.1.1;
next	4.6;

4.6
date	2010.11.16.06.15.32;	author cal103;	state Exp;
branches
	4.6.1.1;
next	4.5;

4.5
date	2010.07.16.07.01.26;	author cal103;	state Exp;
branches
	4.5.1.1;
next	4.4;

4.4
date	2009.08.06.07.27.24;	author cal103;	state Exp;
branches
	4.4.1.1;
next	4.3;

4.3
date	2007.12.27.05.57.06;	author cal103;	state Exp;
branches
	4.3.1.1;
next	4.2;

4.2
date	2005.09.23.04.55.25;	author cal103;	state Exp;
branches
	4.2.1.1;
next	0.0;

0.0
date	2005.09.23.04.29.44;	author cal103;	state Exp;
branches;
next	;

4.2.1.1
date	2005.12.05.03.12.44;	author cal103;	state Exp;
branches;
next	4.2.1.2;

4.2.1.2
date	2005.12.15.03.07.49;	author cal103;	state Exp;
branches;
next	4.2.1.3;

4.2.1.3
date	2007.06.29.06.58.32;	author cal103;	state Exp;
branches;
next	4.2.1.4;

4.2.1.4
date	2007.07.03.08.47.20;	author cal103;	state Exp;
branches;
next	4.2.1.5;

4.2.1.5
date	2007.07.04.06.30.21;	author cal103;	state Exp;
branches;
next	4.2.1.6;

4.2.1.6
date	2007.07.05.04.37.25;	author cal103;	state Exp;
branches;
next	4.2.1.7;

4.2.1.7
date	2007.07.05.07.19.26;	author cal103;	state Exp;
branches;
next	4.2.1.8;

4.2.1.8
date	2007.07.06.07.12.05;	author cal103;	state Exp;
branches;
next	4.2.1.9;

4.2.1.9
date	2007.07.09.06.51.43;	author cal103;	state Exp;
branches;
next	4.2.1.10;

4.2.1.10
date	2007.07.11.02.24.03;	author cal103;	state Exp;
branches;
next	4.2.1.11;

4.2.1.11
date	2007.07.12.01.09.06;	author cal103;	state Exp;
branches;
next	;

4.3.1.1
date	2007.12.27.13.22.58;	author cal103;	state Exp;
branches;
next	4.3.1.2;

4.3.1.2
date	2009.07.21.07.21.14;	author cal103;	state Exp;
branches;
next	4.3.1.3;

4.3.1.3
date	2009.07.27.07.32.06;	author cal103;	state Exp;
branches;
next	;

4.4.1.1
date	2009.08.10.08.42.06;	author cal103;	state Exp;
branches;
next	4.4.1.2;

4.4.1.2
date	2009.09.14.06.50.08;	author cal103;	state Exp;
branches;
next	4.4.1.3;

4.4.1.3
date	2010.07.14.12.53.12;	author cal103;	state Exp;
branches;
next	4.4.1.4;

4.4.1.4
date	2010.07.14.14.24.20;	author cal103;	state Exp;
branches;
next	4.4.1.5;

4.4.1.5
date	2010.07.15.07.15.02;	author cal103;	state Exp;
branches;
next	;

4.5.1.1
date	2010.07.16.07.05.32;	author cal103;	state Exp;
branches;
next	4.5.1.2;

4.5.1.2
date	2010.10.13.23.59.09;	author cal103;	state Exp;
branches;
next	4.5.1.3;

4.5.1.3
date	2010.10.27.04.52.15;	author cal103;	state Exp;
branches;
next	;

4.6.1.1
date	2010.11.16.06.16.20;	author cal103;	state Exp;
branches;
next	4.6.1.2;

4.6.1.2
date	2010.12.14.03.07.13;	author cal103;	state Exp;
branches;
next	4.6.1.3;

4.6.1.3
date	2010.12.14.04.38.20;	author cal103;	state Exp;
branches;
next	4.6.1.4;

4.6.1.4
date	2011.01.18.03.27.23;	author cal103;	state Exp;
branches;
next	4.6.1.5;

4.6.1.5
date	2011.01.18.03.59.47;	author cal103;	state Exp;
branches;
next	4.6.1.6;

4.6.1.6
date	2011.01.18.04.12.41;	author cal103;	state Exp;
branches;
next	;

4.7.1.1
date	2011.02.07.07.04.23;	author cal103;	state Exp;
branches;
next	;

4.8.1.1
date	2011.08.15.08.07.07;	author cal103;	state Exp;
branches;
next	4.8.1.2;

4.8.1.2
date	2011.09.16.04.39.36;	author cal103;	state Exp;
branches;
next	4.8.1.3;

4.8.1.3
date	2011.10.04.07.55.20;	author cal103;	state Exp;
branches;
next	;

4.9.1.1
date	2012.01.24.05.41.46;	author cal103;	state Exp;
branches;
next	;

4.10.1.1
date	2012.02.05.23.42.47;	author cal103;	state Exp;
branches;
next	;

4.11.1.1
date	2012.02.20.23.31.14;	author cal103;	state Exp;
branches;
next	;

4.12.1.1
date	2012.02.29.07.59.11;	author cal103;	state Exp;
branches;
next	4.12.1.2;

4.12.1.2
date	2012.03.14.07.37.39;	author cal103;	state Exp;
branches;
next	;

4.13.1.1
date	2012.03.14.07.40.38;	author cal103;	state Exp;
branches;
next	4.13.1.2;

4.13.1.2
date	2012.07.13.03.29.06;	author cal103;	state Exp;
branches;
next	;

4.14.1.1
date	2012.07.13.10.04.59;	author cal103;	state Exp;
branches;
next	;

4.15.1.1
date	2012.09.26.14.27.52;	author cal103;	state Exp;
branches;
next	;

4.16.1.1
date	2012.11.07.04.45.57;	author cal103;	state Exp;
branches;
next	;

4.17.1.1
date	2013.01.29.05.32.33;	author cal103;	state Exp;
branches;
next	;

4.18.1.1
date	2013.07.13.10.02.39;	author mcalabre;	state Exp;
branches;
next	;

4.19.1.1
date	2013.09.29.14.20.41;	author mcalabre;	state Exp;
branches;
next	;

4.20.1.1
date	2013.12.18.05.46.57;	author mcalabre;	state Exp;
branches;
next	;

4.21.1.1
date	2014.03.24.05.15.30;	author mcalabre;	state Exp;
branches;
next	;

4.22.1.1
date	2014.04.12.15.06.34;	author mcalabre;	state Exp;
branches;
next	;

4.23.1.1
date	2014.05.13.05.53.52;	author mcalabre;	state Exp;
branches;
next	;

4.24.1.1
date	2014.09.18.15.28.12;	author mcalabre;	state Exp;
branches;
next	;

4.25.1.1
date	2014.12.14.14.32.47;	author mcalabre;	state Exp;
branches;
next	;

5.0.1.1
date	2015.04.05.12.28.04;	author mcalabre;	state Exp;
branches;
next	5.0.1.2;

5.0.1.2
date	2015.04.07.09.43.46;	author mcalabre;	state Exp;
branches;
next	;

5.1.1.1
date	2015.04.07.11.01.13;	author mcalabre;	state Exp;
branches;
next	;

5.2.1.1
date	2015.04.15.12.39.18;	author mcalabre;	state Exp;
branches;
next	;

5.3.1.1
date	2015.04.21.02.54.05;	author mcalabre;	state Exp;
branches;
next	;

5.4.1.1
date	2015.04.21.14.44.31;	author mcalabre;	state Exp;
branches;
next	;

5.5.1.1
date	2015.05.05.13.21.04;	author mcalabre;	state Exp;
branches;
next	;

5.6.1.1
date	2015.06.14.07.14.48;	author mcalabre;	state Exp;
branches;
next	;

5.7.1.1
date	2015.06.29.02.47.27;	author mcalabre;	state Exp;
branches;
next	;

5.8.1.1
date	2015.07.08.11.07.22;	author mcalabre;	state Exp;
branches;
next	;

5.9.1.1
date	2015.07.21.09.28.11;	author mcalabre;	state Exp;
branches;
next	;

5.10.1.1
date	2015.10.09.08.22.39;	author mcalabre;	state Exp;
branches;
next	;

5.11.1.1
date	2015.10.18.09.16.30;	author mcalabre;	state Exp;
branches;
next	;

5.12.1.1
date	2015.11.15.02.16.18;	author mcalabre;	state Exp;
branches;
next	;

5.13.1.1
date	2016.01.26.08.54.35;	author mcalabre;	state Exp;
branches;
next	;

5.14.1.1
date	2016.02.07.10.52.48;	author mcalabre;	state Exp;
branches;
next	;

5.15.1.1
date	2016.04.05.12.58.38;	author mcalabre;	state Exp;
branches;
next	;

5.16.1.1
date	2017.01.15.04.29.03;	author mcalabre;	state Exp;
branches;
next	;

5.17.1.1
date	2017.09.18.08.46.00;	author mcalabre;	state Exp;
branches;
next	5.17.1.2;

5.17.1.2
date	2017.12.05.00.50.33;	author mcalabre;	state Exp;
branches;
next	;

5.18.1.1
date	2018.01.10.08.33.04;	author mcalabre;	state Exp;
branches;
next	;

5.19.1.1
date	2018.07.26.15.41.42;	author mcalabre;	state Exp;
branches;
next	5.19.1.2;

5.19.1.2
date	2018.10.05.05.06.56;	author mcalabre;	state Exp;
branches;
next	;

5.20.1.1
date	2018.10.05.05.33.33;	author mcalabre;	state Exp;
branches;
next	5.20.1.2;

5.20.1.2
date	2018.10.19.03.41.56;	author mcalabre;	state Exp;
branches;
next	;

6.1.1.1
date	2018.10.19.08.36.15;	author mcalabre;	state Exp;
branches;
next	;

6.2.1.1
date	2018.10.20.10.04.15;	author mcalabre;	state Exp;
branches;
next	6.2.1.2;

6.2.1.2
date	2019.07.08.09.15.37;	author mcalabre;	state Exp;
branches;
next	;

6.3.1.1
date	2019.07.12.07.34.37;	author mcalabre;	state Exp;
branches;
next	;

6.4.1.1
date	2019.08.15.09.31.29;	author mcalabre;	state Exp;
branches;
next	;

7.1.1.1
date	2019.12.31.13.28.19;	author mcalabre;	state Exp;
branches;
next	;

7.2.1.1
date	2020.03.09.07.34.50;	author mcalabre;	state Exp;
branches;
next	;

7.3.1.1
date	2020.06.03.03.38.11;	author mcalabre;	state Exp;
branches;
next	;

7.4.1.1
date	2021.01.31.02.26.24;	author mcalabre;	state Exp;
branches;
next	7.4.1.2;

7.4.1.2
date	2021.03.20.05.52.44;	author mcalabre;	state Exp;
branches;
next	;

7.5.1.1
date	2021.03.20.05.56.42;	author mcalabre;	state Exp;
branches;
next	;

7.6.1.1
date	2021.04.13.13.00.36;	author mcalabre;	state Exp;
branches;
next	;

7.7.1.1
date	2021.07.12.06.38.28;	author mcalabre;	state Exp;
branches;
next	;

7.8.1.1
date	2022.03.25.06.14.15;	author mcalabre;	state Exp;
branches;
next	;

7.9.1.1
date	2022.03.25.15.16.40;	author mcalabre;	state Exp;
branches;
next	;

7.10.1.1
date	2022.04.23.14.26.54;	author mcalabre;	state Exp;
branches;
next	;

7.11.1.1
date	2022.04.26.06.15.33;	author mcalabre;	state Exp;
branches;
next	;

7.12.1.1
date	2022.09.09.05.00.36;	author mcalabre;	state Exp;
branches;
next	;

7.13.1.1
date	2022.10.07.03.45.47;	author mcalabre;	state Exp;
branches;
next	;

8.0.1.1
date	2023.07.01.06.22.44;	author mcalabre;	state Exp;
branches;
next	;

8.1.1.1
date	2023.07.05.17.15.01;	author mcalabre;	state Exp;
branches;
next	;

8.2.1.1
date	2023.11.16.10.05.58;	author mcalabre;	state Exp;
branches;
next	8.2.1.2;

8.2.1.2
date	2024.05.06.05.19.50;	author mcalabre;	state Exp;
branches;
next	;

8.3.1.1
date	2024.05.13.16.35.40;	author mcalabre;	state Exp;
branches;
next	8.3.1.2;

8.3.1.2
date	2024.07.09.06.09.12;	author mcalabre;	state Exp;
branches;
next	;

8.4.1.1
date	2024.10.28.13.58.42;	author mcalabre;	state Exp;
branches;
next	;

8.5.1.1
date	2025.12.06.14.05.16;	author mcalabre;	state Exp;
branches;
next	8.5.1.2;

8.5.1.2
date	2026.03.29.13.42.32;	author mcalabre;	state Exp;
branches;
next	;

8.6.1.1
date	2026.03.29.14.19.28;	author mcalabre;	state Exp;
branches;
next	8.6.1.2;

8.6.1.2
date	2026.04.24.05.46.44;	author mcalabre;	state Exp;
branches;
next	;


desc
@GNU autoconf template for "makedefs" which defines makefile variables and
rules common to each makefile.
@


8.7
log
@WCSLIB 8.7
@
text
@#-----------------------------------------------------------------------------
# GNU makefile definitions for building WCSLIB 8.7
#
# makedefs is generated from makedefs.in by configure.  It contains variable
# definitions and some general-purpose rules for building WCSLIB.
#
# Targets defined here
# --------------------
#   printenv:  Print the environment as seen within makefile rules.
#   show:      Print the values of all makefile variables used.
#
# Notes:
#   1) If you need to make changes then it may be preferable to modify
#      makedefs.in (not makedefs).  The makefile will detect this and
#      automatically re-run config.status to regenerate makedefs.
#
#   2) There are three choices for trigd functions - cosd(), sind(), tand(),
#      acosd(), asind(), atand(), and atan2d(), made by setting WCSTRIG:
#
#      1: Use the wrapper functions supplied with WCSLIB (default):
#         WCSTRIG := WRAPPER
#
#      2: Use native trigd functions supplied in a mathematics library such
#         as libsunmath (you will also need to add the library to the LIBS
#         variable below):
#         WCSTRIG := NATIVE
#
#      3: Use C preprocessor macro implementations of the trigd functions
#         (this method is typically 20% faster but may lead to rounding
#         errors near the poles):
#         WCSTRIG := MACRO
#
#   3) Variables for creating the shared (dynamic) library are currently
#      only set by 'configure' if the GNU C compiler is used.  However,
#      you can set these variables by hand, preferably in makedefs.in.
#
#      Shared libraries require position-independent code (PIC) which imposes
#      a performance overhead.  Consequently the static libraries are
#      compiled separately without this option.
#
#      The shared library will be installed with version number, e.g. as
#      libwcs.so.8.7 or libwcs.8.7.dylib with or without the symlink
#      required to make it visible to the linker (controlled by the SHRLN
#      variable).  On Macs it is deliberately not created because its very
#      existence precludes static linking with the cctools linker.  You can
#      still link dynamically by using -lwcs.8.7.
#
#   4) PGPLOT is Tim Pearson's Fortran graphics library with separate C
#      interface available from astro.caltech.edu.  It is only required by
#      one utility, wcsgrid, and the test programs that plot test grids
#      (tprj2, tcel1, tcel2, tspc, ttab2, ttab3, twcsmix, and tpih2).  You can
#      skip these by setting PGPLOTLIB to blank.
#
#      It is difficult for configure to deduce what auxiliary graphics
#      libraries may be needed for PGPLOT since it depends on which of many
#      possible graphics drivers were selected when PGPLOT was installed.
#      Therefore it is quite likely that you will need to add additional
#      libraries to PGPLOTLIB.
#
#   5) CFITSIO is Bill Pence's FITS I/O library written in C with Fortran
#      wrappers, available from http://heasarc.gsfc.nasa.gov/fitsio.
#
#      CFITSIO is required by three utilities, HPXcvt, wcsgrid, and wcsware,
#      and also by the test programs twcstab and twcshdr.  wcsware and the
#      test programs use fits_read_wcstab() which is implemented by
#      getwcstab.c.  However, this implementation is included in CFITSIO post
#      3.004beta, so getwcstab.c is required here only for older releases
#      (controlled by variable GETWCSTAB).  getwcstab.o itself is not inserted
#      into the WCSLIB object library.
#
#      If available, CFITSIO is also optionally used for test programs
#      tfitshdr, tbth1, tpih1 and tpih2 by setting preprocessor macro
#      -DDO_CFITSIO.
#
# Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
# http://www.atnf.csiro.au/computing/software/wcs
# $Id: makedefs.in,v 8.6.1.2 2026/04/24 05:46:44 mcalabre Exp mcalabre $
#-----------------------------------------------------------------------------
# Version.
  LIBVER    := @@LIBVER@@
  WCSLIBPKG := wcslib-@@PACKAGE_VERSION@@

# Additional options for GNU make added by configure.
  MAKEFLAGS += @@MAKEFLAGS@@

# System architecture.
  ARCH     := @@ARCH@@

# Flex and options.
  FLEX     := @@FLEX@@
  FLFLAGS  := @@FLFLAGS@@

# C preprocessor and options.
  CPP      := @@CPP@@
  CPPFLAGS := @@CPPFLAGS@@
  WCSTRIG  := WRAPPER

# C compiler and options.
  CC       := @@CC@@
  CFLAGS   := @@CFLAGS@@

# Fortran compiler and options.
  FC       := @@F77@@
  FFLAGS   := @@FFLAGS@@

# Use the Fortran 2003 BIND(C) wrappers?  (Recommended for LTO.)
  BINDC    := @@BINDC@@

# Static object library.
  WCSLIB   := libwcs-$(LIBVER).a
  ARFLAGS  := @@ARFLAGS@@
  RANLIB   := @@RANLIB@@

# Shared (dynamic) library (see note 3 above).
  SHRLIB   := @@SHRLIB@@
  SONAME   := @@SONAME@@
  SHRFLAGS := @@SHRFLAGS@@
  SHRLD    := @@SHRLD@@
  SHRLN    := @@SHRLN@@

# What subdirectories to build.
  SUBDIRS  := @@SUBDIRS@@
  TSTDIRS  := @@TSTDIRS@@

# Top of the 'make install' hierarchy: pgsbox -> Fortran -> C.
  INSTDIR  := @@INSTDIR@@

# Installation utilities and locations.
  LN_S     := @@LN_S@@
  INSTALL  := @@INSTALL@@

  # Needed for the definitions provided by autoconf.
  prefix          := @@prefix@@
  exec_prefix     := @@exec_prefix@@
  datarootdir     := @@datarootdir@@
  PACKAGE_TARNAME := @@PACKAGE_TARNAME@@
  docdir          := @@docdir@@

  LIBDIR   := $(DESTDIR)@@libdir@@
  BINDIR   := $(DESTDIR)@@bindir@@
  INCDIR   := $(DESTDIR)@@includedir@@/wcslib-$(LIBVER)
  INCLINK  := $(DESTDIR)@@includedir@@/wcslib
  DOCDIR   := $(DESTDIR)@@docdir@@
  DOCLINK  := $(dir $(DESTDIR)@@docdir@@)wcslib
  HTMLDIR  := $(DESTDIR)@@htmldir@@
  PDFDIR   := $(DESTDIR)@@pdfdir@@
  MANDIR   := $(DESTDIR)@@mandir@@

# For putting timestamps in the build log.
  TIMER    := date +"%a %Y/%m/%d %X %z, executing on $$HOST"


# The remaining options are for building utilities and test programs.
# -------------------------------------------------------------------
# Linker options (use CC for linking).
  LD       = $(CC)
  LDFLAGS := @@LDFLAGS@@

# PGPLOT (see note 4 above).
  PGPLOTINC := @@PGPLOTINC@@
  PGPLOTLIB := @@PGPLOTLIB@@

# CFITSIO (see note 5 above).
  CFITSIOINC := @@CFITSIOINC@@
  CFITSIOLIB := @@CFITSIOLIB@@
  GETWCSTAB  := @@GETWCSTAB@@

# Libraries required by the above Fortran compiler.
  FLIBS := @@FLIBS@@

# Libraries required by WCSLIB itself.
  LIBS := @@LIBS@@

# Default observer coordinates for sundazel.  May be set as environment
# variables, either generally or in $HOME/.sundazelrc, which is read by
# configure.
  OBSLNG := @@OBSLNG@@
  OBSLAT := @@OBSLAT@@
  OBSTZ  := @@OBSTZ@@

#-----------------------------------------------------------------------------
# You shouldn't need to change anything below here.
#-----------------------------------------------------------------------------

SHELL := /bin/sh
VPATH := ..

# Common targets.
.PHONY : all build FORCE printenv show

all : show
	-@@ echo ''
	 @@ $(MAKE) build

FORCE :

# Print the environment as seen by makefile rules.
printenv :
	-@@ printenv | sort

# Print variable definitions.
show :: wcsconfig.h
	-@@ echo ''
	-@@ uname -a
	-@@ echo ''
	-@@ $(MAKE) --version | head -1
	-@@ echo '  SUBDIR      := $(SUBDIR)'
	-@@ echo '  MAKEFLAGS   := $(MAKEFLAGS)'
	-@@ echo ''
	-@@ echo 'For building and installing $(WCSLIBPKG)...'
	-@@ echo '  ARCH        := $(ARCH)'
	-@@ echo '  FLEX        := $(FLEX)'
	-@@ echo '  FLFLAGS     := $(FLFLAGS)'
	-@@ echo '  CPP         := $(CPP)'
	-@@ echo '  CPPFLAGS    := $(CPPFLAGS)'
	-@@ echo '  WCSTRIG     := $(WCSTRIG)'
	-@@ echo '  CC          := $(CC)'
	-@@ if [ "@@GCC_VERSION@@" ] ; then \
	     echo '                 GCC version is @@GCC_VERSION@@' ; \
	   fi
	-@@ echo '  CFLAGS      := $(CFLAGS)'
	-@@ echo '  FC          := $(FC)'
	-@@ echo '  FFLAGS      := $(FFLAGS)'
	-@@ echo '  BINDC       := $(BINDC)'
	-@@ echo '  WCSLIB      := $(WCSLIB)'
	-@@ echo '  ARFLAGS     := $(ARFLAGS)'
	-@@ echo '  RANLIB      := $(RANLIB)'
	-@@ echo '  SHRLIB      := $(SHRLIB)'
	-@@ echo '  SONAME      := $(SONAME)'
	-@@ echo '  SHRFLAGS    := $(SHRFLAGS)'
	-@@ echo '  SHRLD       := $(SHRLD)'
	-@@ echo '  SHRLN       := $(SHRLN)'
	-@@ echo '  LN_S        := $(LN_S)'
	-@@ echo '  INSTALL     := $(INSTALL)'
	-@@ echo '  LIBDIR      := $(LIBDIR)'
	-@@ echo '  BINDIR      := $(BINDIR)'
	-@@ echo '  INCDIR      := $(INCDIR)'
	-@@ echo '  INCLINK     := $(INCLINK)'
	-@@ echo '  DOCDIR      := $(DOCDIR)'
	-@@ echo '  DOCLINK     := $(DOCLINK)'
	-@@ echo '  HTMLDIR     := $(HTMLDIR)'
	-@@ echo '  PDFDIR      := $(PDFDIR)'
	-@@ echo '  MANDIR      := $(MANDIR)'
	-@@ echo '  TIMER       := $(TIMER)'
	-@@ echo ''
	-@@ echo 'Important wcsconfig.h defines...'
	-@@ echo "  `grep HAVE_SINCOS $<`"
	-@@ echo "  `grep WCSLIB_INT64 $<`"
	-@@ echo ''
	-@@ echo 'To build utilities and test programs...'
	-@@ echo '  LD          := $(LD)'
	-@@ echo '  LDFLAGS     := $(LDFLAGS)'
	-@@ echo '  PGPLOTINC   := $(PGPLOTINC)'
	-@@ echo '  PGPLOTLIB   := $(PGPLOTLIB)'
	-@@ echo '  CFITSIOINC  := $(CFITSIOINC)'
	-@@ echo '  CFITSIOLIB  := $(CFITSIOLIB)'
	-@@ echo '  GETWCSTAB   := $(GETWCSTAB)'
	-@@ echo '  FLIBS       := $(FLIBS)'
	-@@ echo '  LIBS        := $(LIBS)'
	-@@ echo ''
	-@@ echo 'Default observer coordinates for sundazel...'
	-@@ echo '  OBSLNG      := $(OBSLNG)'
	-@@ echo '  OBSLAT      := $(OBSLAT)'
	-@@ echo '  OBSTZ       := $(OBSTZ)'
	-@@ echo ''
	-@@ echo 'For code development...'
	-@@ echo '  FLAVOUR     := $(FLAVOUR)'
	-@@ echo '  ANALYSE     := $(ANALYSE)'
	-@@ echo '  MODE        := $(MODE)'
	-@@ echo '  VALGRIND    := $(VALGRIND)'
	-@@ echo '  EXTRA_CLEAN := $(EXTRA_CLEAN)'
	-@@ echo ''

# For code development.
FLAVOUR     := @@FLAVOUR@@
ANALYSE     := @@ANALYSE@@
MODE        := @@MODE@@
VALGRIND    := @@VALGRIND@@
EXTRA_CLEAN := @@EXTRA_CLEAN@@

# Check MODE.
ifeq "$(MODE)" "interactive"
  # Important not to have output batched when running the test programs.
  MAKEFLAGS := $(filter-out -Otarget,$(MAKEFLAGS)) -Onone
endif

ifneq "$(FLAVOUR)" "default"
  TIMER := $(TIMER) ; echo "    with $(FLAVOUR) FLAVOUR."
endif
@


8.6
log
@WCSLIB 8.6
@
text
@d2 1
a2 1
# GNU makefile definitions for building WCSLIB 8.6
d42 1
a42 1
#      libwcs.so.8.6 or libwcs.8.6.dylib with or without the symlink
d46 1
a46 1
#      still link dynamically by using -lwcs.8.6.
d77 1
a77 1
# $Id: makedefs.in,v 8.5.1.2 2026/03/29 13:42:32 mcalabre Exp mcalabre $
d268 1
d276 1
@


8.6.1.1
log
@WCSLIB 8.6 development branch.
@
text
@d77 1
a77 1
# $Id: makedefs.in,v 8.6 2026/03/29 13:53:57 mcalabre Exp $
@


8.6.1.2
log
@Added ANALYSE to the code development section.
@
text
@d77 1
a77 1
# $Id: makedefs.in,v 8.6.1.1 2026/03/29 14:19:28 mcalabre Exp mcalabre $
a267 1
	-@@ echo '  ANALYSE     := $(ANALYSE)'
a274 1
ANALYSE     := @@ANALYSE@@
@


8.5
log
@WCSLIB 8.5
@
text
@d2 1
a2 1
# GNU makefile definitions for building WCSLIB 8.5
d42 1
a42 1
#      libwcs.so.8.5 or libwcs.8.5.dylib with or without the symlink
d46 1
a46 1
#      still link dynamically by using -lwcs.8.5.
d76 2
a77 2
# http://www.atnf.csiro.au/people/Mark.Calabretta
# $Id: makedefs.in,v 8.4.1.1 2024/10/28 13:58:42 mcalabre Exp mcalabre $
@


8.5.1.1
log
@WCSLIB 8.5 development branch.
@
text
@d77 1
a77 1
# $Id: makedefs.in,v 8.5 2025/12/06 13:47:42 mcalabre Exp $
@


8.5.1.2
log
@Updated the URL for WCSLIB on ATNF's website.
@
text
@d76 2
a77 2
# http://www.atnf.csiro.au/computing/software/wcs
# $Id: makedefs.in,v 8.5.1.1 2025/12/06 14:05:16 mcalabre Exp mcalabre $
@


8.4
log
@WCSLIB 8.4
@
text
@d2 1
a2 1
# GNU makefile definitions for building WCSLIB 8.4
d42 1
a42 1
#      libwcs.so.8.4 or libwcs.8.4.dylib with or without the symlink
d46 1
a46 1
#      still link dynamically by using -lwcs.8.4.
d77 1
a77 1
# $Id: makedefs.in,v 8.3.1.2 2024/07/09 06:09:12 mcalabre Exp mcalabre $
@


8.4.1.1
log
@WCSLIB 8.4 development branch.
@
text
@d77 1
a77 1
# $Id: makedefs.in,v 8.4 2024/10/28 13:56:17 mcalabre Exp $
@


8.3
log
@WCSLIB 8.3
@
text
@d2 1
a2 1
# GNU makefile definitions for building WCSLIB 8.3
d42 1
a42 1
#      libwcs.so.8.3 or libwcs.8.3.dylib with or without the symlink
d46 1
a46 1
#      still link dynamically by using -lwcs.8.3.
d77 1
a77 1
# $Id: makedefs.in,v 8.2.1.2 2024/05/06 05:19:50 mcalabre Exp mcalabre $
d95 1
a95 1
  CPPFLAGS := @@CPPFLAGS@@ @@DEFS@@
d266 6
d273 15
a287 3
# Code development overrides, for use in the code subdirectories.
FLAVOUR := @@FLAVOUR@@
-include ../flavours
@


8.3.1.1
log
@WCSLIB 8.3 development branch.
@
text
@d77 1
a77 1
# $Id: makedefs.in,v 8.3 2024/05/13 16:33:01 mcalabre Exp $
@


8.3.1.2
log
@Removed @@DEFS@@ from CPPFLAGS, all it does is add -DHAVE_CONFIG_H, which is
not wanted.  makedefs no longer includes flavours, the definitions from
which now make their way through the environment to 'configure' and thence
to makedefs.
@
text
@d77 1
a77 1
# $Id: makedefs.in,v 8.3.1.1 2024/05/13 16:35:40 mcalabre Exp mcalabre $
d95 1
a95 1
  CPPFLAGS := @@CPPFLAGS@@
d266 4
a269 22
	-@@ echo 'For code development...'
	-@@ echo '  FLAVOUR     := $(FLAVOUR)'
	-@@ echo '  MODE        := $(MODE)'
	-@@ echo '  VALGRIND    := $(VALGRIND)'
	-@@ echo '  EXTRA_CLEAN := $(EXTRA_CLEAN)'
	-@@ echo ''

# For code development.
FLAVOUR     := @@FLAVOUR@@
MODE        := @@MODE@@
VALGRIND    := @@VALGRIND@@
EXTRA_CLEAN := @@EXTRA_CLEAN@@

# Check MODE.
ifeq "$(MODE)" "interactive"
  # Important not to have output batched when running the test programs.
  MAKEFLAGS := $(filter-out -Otarget,$(MAKEFLAGS)) -Onone
endif

ifneq "$(FLAVOUR)" "default"
  TIMER := $(TIMER) ; echo "    with $(FLAVOUR) FLAVOUR."
endif
@


8.2
log
@WCSLIB 8.2
@
text
@d2 1
a2 1
# GNU makefile definitions for building WCSLIB 8.2
d42 1
a42 1
#      libwcs.so.8.2 or libwcs.8.2.dylib with or without the symlink
d46 1
a46 1
#      still link dynamically by using -lwcs.8.2.
d77 1
a77 1
# $Id: makedefs.in,v 8.1.1.1 2023/07/05 17:15:01 mcalabre Exp mcalabre $
d106 3
d218 3
d224 1
@


8.2.1.1
log
@WCSLIB 8.2 development branch.
@
text
@d77 1
a77 1
# $Id: makedefs.in,v 8.2 2023/11/16 10:00:30 mcalabre Exp $
@


8.2.1.2
log
@In the 'show' rule, report the GCC version obtained from configure.
Set BINDC, from configure, to signal optional use of the new Fortran 2003
BIND(C) wrappers.
@
text
@d77 1
a77 1
# $Id: makedefs.in,v 8.2.1.1 2023/11/16 10:05:58 mcalabre Exp mcalabre $
a105 3
# Use the Fortran 2003 BIND(C) wrappers?  (Recommended for LTO.)
  BINDC    := @@BINDC@@

a214 3
	-@@ if [ "@@GCC_VERSION@@" ] ; then \
	     echo '                 GCC version is @@GCC_VERSION@@' ; \
	   fi
a217 1
	-@@ echo '  BINDC       := $(BINDC)'
@


8.1
log
@WCSLIB 8.1
@
text
@d2 1
a2 1
# GNU makefile definitions for building WCSLIB 8.1
d42 1
a42 1
#      libwcs.so.8.1 or libwcs.8.1.dylib with or without the symlink
d46 1
a46 1
#      still link dynamically by using -lwcs.8.1.
d77 1
a77 1
# $Id: makedefs.in,v 8.0.1.1 2023/07/01 06:22:44 mcalabre Exp mcalabre $
@


8.1.1.1
log
@WCSLIB 8.1 development branch.
@
text
@d77 1
a77 1
# $Id: makedefs.in,v 8.1 2023/07/05 17:12:07 mcalabre Exp $
@


8.0
log
@WCSLIB 8.0
@
text
@d2 1
a2 1
# GNU makefile definitions for building WCSLIB 8.0
d42 1
a42 1
#      libwcs.so.8.0 or libwcs.8.0.dylib with or without the symlink
d46 1
a46 1
#      still link dynamically by using -lwcs.8.0.
d77 1
a77 1
# $Id: makedefs.in,v 7.13.1.1 2022/10/07 03:45:47 mcalabre Exp mcalabre $
@


8.0.1.1
log
@WCSLIB 8.0 development branch.
@
text
@d77 1
a77 1
# $Id: makedefs.in,v 8.0 2023/07/01 06:15:05 mcalabre Exp $
@


7.13
log
@WCSLIB 7.13
@
text
@d2 1
a2 1
# GNU makefile definitions for building WCSLIB 7.13
d42 1
a42 1
#      libwcs.so.7.13 or libwcs.7.13.dylib with or without the symlink
d46 1
a46 1
#      still link dynamically by using -lwcs.7.13.
d77 1
a77 1
# $Id: makedefs.in,v 7.12.1.1 2022/09/09 05:00:36 mcalabre Exp mcalabre $
@


7.13.1.1
log
@WCSLIB 7.13 development branch.
@
text
@d77 1
a77 1
# $Id: makedefs.in,v 7.13 2022/10/07 03:43:35 mcalabre Exp $
@


7.12
log
@WCSLIB 7.12
@
text
@d2 1
a2 1
# GNU makefile definitions for building WCSLIB 7.12
d42 1
a42 1
#      libwcs.so.7.12 or libwcs.7.12.dylib with or without the symlink
d46 1
a46 1
#      still link dynamically by using -lwcs.7.12.
d77 1
a77 1
# $Id: makedefs.in,v 7.11.1.1 2022/04/26 06:15:33 mcalabre Exp mcalabre $
@


7.12.1.1
log
@WCSLIB 7.12 development branch.
@
text
@d77 1
a77 1
# $Id: makedefs.in,v 7.12 2022/09/09 04:57:58 mcalabre Exp $
@


7.11
log
@WCSLIB 7.11
@
text
@d2 1
a2 1
# GNU makefile definitions for building WCSLIB 7.11
d42 1
a42 1
#      libwcs.so.7.11 or libwcs.7.11.dylib with or without the symlink
d46 1
a46 1
#      still link dynamically by using -lwcs.7.11.
d77 1
a77 1
# $Id: makedefs.in,v 7.10.1.1 2022/04/23 14:26:54 mcalabre Exp mcalabre $
@


7.11.1.1
log
@WCSLIB 7.11 development branch.
@
text
@d77 1
a77 1
# $Id: makedefs.in,v 7.11 2022/04/26 06:13:52 mcalabre Exp $
@


7.10
log
@WCSLIB 7.10
@
text
@d2 1
a2 1
# GNU makefile definitions for building WCSLIB 7.10
d42 1
a42 1
#      libwcs.so.7.10 or libwcs.7.10.dylib with or without the symlink
d46 1
a46 1
#      still link dynamically by using -lwcs.7.10.
d77 1
a77 1
# $Id: makedefs.in,v 7.9.1.1 2022/03/25 15:16:40 mcalabre Exp mcalabre $
@


7.10.1.1
log
@WCSLIB 7.10 development branch.
@
text
@d77 1
a77 1
# $Id: makedefs.in,v 7.10 2022/04/23 14:25:15 mcalabre Exp $
@


7.9
log
@WCSLIB 7.9
@
text
@d2 1
a2 1
# GNU makefile definitions for building WCSLIB 7.9
d42 1
a42 1
#      libwcs.so.7.9 or libwcs.7.9.dylib with or without the symlink
d46 1
a46 1
#      still link dynamically by using -lwcs.7.9.
d77 1
a77 1
# $Id: makedefs.in,v 7.8.1.1 2022/03/25 06:14:15 mcalabre Exp mcalabre $
@


7.9.1.1
log
@WCSLIB 7.9 development branch.
@
text
@d77 1
a77 1
# $Id: makedefs.in,v 7.9 2022/03/25 15:14:49 mcalabre Exp $
@


7.8
log
@WCSLIB 7.8
@
text
@d2 1
a2 1
# GNU makefile definitions for building WCSLIB 7.8
d42 1
a42 1
#      libwcs.so.7.8 or libwcs.7.8.dylib with or without the symlink
d46 1
a46 1
#      still link dynamically by using -lwcs.7.8.
d77 1
a77 1
# $Id: makedefs.in,v 7.7.1.1 2021/07/12 06:38:28 mcalabre Exp mcalabre $
@


7.8.1.1
log
@WCSLIB 7.8 development branch.
@
text
@d77 1
a77 1
# $Id: makedefs.in,v 7.8 2022/03/25 06:11:49 mcalabre Exp $
@


7.7
log
@WCSLIB 7.7
@
text
@d2 1
a2 1
# GNU makefile definitions for building WCSLIB 7.7
d42 1
a42 1
#      libwcs.so.7.7 or libwcs.7.7.dylib with or without the symlink
d46 1
a46 1
#      still link dynamically by using -lwcs.7.7.
d77 1
a77 1
# $Id: makedefs.in,v 7.6.1.1 2021/04/13 13:00:36 mcalabre Exp mcalabre $
@


7.7.1.1
log
@WCSLIB 7.7 development branch.
@
text
@d77 1
a77 1
# $Id: makedefs.in,v 7.7 2021/07/12 06:36:49 mcalabre Exp $
@


7.6
log
@WCSLIB 7.6
@
text
@d2 1
a2 1
# GNU makefile definitions for building WCSLIB 7.6
d42 1
a42 1
#      libwcs.so.7.6 or libwcs.7.6.dylib with or without the symlink
d46 1
a46 1
#      still link dynamically by using -lwcs.7.6.
d77 1
a77 1
# $Id: makedefs.in,v 7.5.1.1 2021/03/20 05:56:42 mcalabre Exp mcalabre $
@


7.6.1.1
log
@WCSLIB 7.6 development branch.
@
text
@d77 1
a77 1
# $Id: makedefs.in,v 7.6 2021/04/13 12:57:02 mcalabre Exp $
@


7.5
log
@WCSLIB 7.5
@
text
@d2 1
a2 1
# GNU makefile definitions for building WCSLIB 7.5
d42 1
a42 1
#      libwcs.so.7.5 or libwcs.7.5.dylib with or without the symlink
d46 1
a46 1
#      still link dynamically by using -lwcs.7.5.
d77 1
a77 1
# $Id: makedefs.in,v 7.4.1.2 2021/03/20 05:52:44 mcalabre Exp mcalabre $
@


7.5.1.1
log
@WCSLIB 7.5 development branch.
@
text
@d77 1
a77 1
# $Id: makedefs.in,v 7.5 2021/03/20 05:54:59 mcalabre Exp $
@


7.4
log
@WCSLIB 7.4
@
text
@d2 1
a2 1
# GNU makefile definitions for building WCSLIB 7.4
d42 1
a42 1
#      libwcs.so.7.4 or libwcs.7.4.dylib with or without the symlink
d46 1
a46 1
#      still link dynamically by using -lwcs.7.4.
d77 1
a77 1
# $Id: makedefs.in,v 7.3.1.1 2020/06/03 03:38:11 mcalabre Exp mcalabre $
d171 6
d253 5
@


7.4.1.1
log
@WCSLIB 7.4 development branch.
@
text
@d77 1
a77 1
# $Id: makedefs.in,v 7.4 2021/01/31 02:24:52 mcalabre Exp $
@


7.4.1.2
log
@Set OBSLNG, OBSLAT, and OBSTZ for sundazel.
@
text
@d77 1
a77 1
# $Id: makedefs.in,v 7.4.1.1 2021/01/31 02:26:24 mcalabre Exp mcalabre $
a170 6
# Default observer coordinates for sundazel.  May be set as environment
# variables, either generally or in $HOME/.sundazelrc, which is read by
# configure.
  OBSLNG := @@OBSLNG@@
  OBSLAT := @@OBSLAT@@
  OBSTZ  := @@OBSTZ@@
a246 5
	-@@ echo ''
	-@@ echo 'Default observer coordinates for sundazel...'
	-@@ echo '  OBSLNG      := $(OBSLNG)'
	-@@ echo '  OBSLAT      := $(OBSLAT)'
	-@@ echo '  OBSTZ       := $(OBSTZ)'
@


7.3
log
@WCSLIB 7.3
@
text
@d2 1
a2 1
# GNU makefile definitions for building WCSLIB 7.3
d42 1
a42 1
#      libwcs.so.7.3 or libwcs.7.3.dylib with or without the symlink
d46 1
a46 1
#      still link dynamically by using -lwcs.7.3.
d77 1
a77 1
# $Id: makedefs.in,v 7.2.1.1 2020/03/09 07:34:50 mcalabre Exp mcalabre $
@


7.3.1.1
log
@WCSLIB 7.3 development branch.
@
text
@d77 1
a77 1
# $Id: makedefs.in,v 7.3 2020/06/03 03:37:03 mcalabre Exp $
@


7.2
log
@WCSLIB 7.2
@
text
@d2 1
a2 1
# GNU makefile definitions for building WCSLIB 7.2
d42 1
a42 1
#      libwcs.so.7.2 or libwcs.7.2.dylib with or without the symlink
d46 1
a46 1
#      still link dynamically by using -lwcs.7.2.
d77 1
a77 1
# $Id: makedefs.in,v 7.1.1.1 2019/12/31 13:28:19 mcalabre Exp mcalabre $
@


7.2.1.1
log
@WCSLIB 7.2 development branch.
@
text
@d77 1
a77 1
# $Id: makedefs.in,v 7.2 2020/03/09 07:31:24 mcalabre Exp $
@


7.1
log
@WCSLIB 7.1
@
text
@d2 1
a2 1
# GNU makefile definitions for building WCSLIB 7.1
d42 1
a42 1
#      libwcs.so.7.1 or libwcs.7.1.dylib with or without the symlink
d46 1
a46 1
#      still link dynamically by using -lwcs.7.1.
d77 1
a77 1
# $Id: makedefs.in,v 6.4.1.1 2019/08/15 09:31:29 mcalabre Exp mcalabre $
@


7.1.1.1
log
@WCSLIB 7.1 development branch.
@
text
@d77 1
a77 1
# $Id: makedefs.in,v 7.1 2019/12/31 13:25:19 mcalabre Exp $
@


6.4
log
@WCSLIB 6.4
@
text
@d2 1
a2 1
# GNU makefile definitions for building WCSLIB 6.4
d42 1
a42 1
#      libwcs.so.6.4 or libwcs.6.4.dylib with or without the symlink
d46 1
a46 1
#      still link dynamically by using -lwcs.6.4.
d77 1
a77 1
# $Id: makedefs.in,v 6.3.1.1 2019/07/12 07:34:37 mcalabre Exp mcalabre $
@


6.4.1.1
log
@WCSLIB 6.4 development branch.
@
text
@d77 1
a77 1
# $Id: makedefs.in,v 6.4 2019/08/15 09:30:18 mcalabre Exp $
@


6.3
log
@WCSLIB 6.3
@
text
@d2 1
a2 1
# GNU makefile definitions for building WCSLIB 6.3
d42 1
a42 1
#      libwcs.so.6.3 or libwcs.6.3.dylib with or without the symlink
d46 1
a46 1
#      still link dynamically by using -lwcs.6.3.
d77 1
a77 1
# $Id: makedefs.in,v 6.2.1.2 2019/07/08 09:15:37 mcalabre Exp mcalabre $
@


6.3.1.1
log
@WCSLIB 6.3 development branch.
@
text
@d77 1
a77 1
# $Id: makedefs.in,v 6.3 2019/07/12 07:33:40 mcalabre Exp $
@


6.2
log
@WCSLIB 6.2
@
text
@d2 1
a2 1
# GNU makefile definitions for building WCSLIB 6.2
d42 1
a42 1
#      libwcs.so.6.2 or libwcs.6.2.dylib with or without the symlink
d46 1
a46 1
#      still link dynamically by using -lwcs.6.2.
d77 1
a77 1
# $Id: makedefs.in,v 6.1.1.1 2018/10/19 08:36:15 mcalabre Exp mcalabre $
d91 1
a91 1
  FLFLAGS  :=
@


6.2.1.1
log
@WCSLIB 6.2 development branch.
@
text
@d77 1
a77 1
# $Id: makedefs.in,v 6.2 2018/10/20 10:03:14 mcalabre Exp $
@


6.2.1.2
log
@FLFLAGS is now set by configure.
@
text
@d77 1
a77 1
# $Id: makedefs.in,v 6.2.1.1 2018/10/20 10:04:15 mcalabre Exp mcalabre $
d91 1
a91 1
  FLFLAGS  := @@FLFLAGS@@
@


6.1
log
@WCSLIB 6.1
@
text
@d2 1
a2 1
# GNU makefile definitions for building WCSLIB 6.1
d42 1
a42 1
#      libwcs.so.6.1 or libwcs.6.1.dylib with or without the symlink
d46 1
a46 1
#      still link dynamically by using -lwcs.6.1.
d77 1
a77 1
# $Id: makedefs.in,v 5.20.1.2 2018/10/19 03:41:56 mcalabre Exp mcalabre $
@


6.1.1.1
log
@WCSLIB 6.1 development branch.
@
text
@d77 1
a77 1
# $Id: makedefs.in,v 6.1 2018/10/19 08:35:17 mcalabre Exp $
@


5.20
log
@WCSLIB 5.20
@
text
@d2 1
a2 1
# GNU makefile definitions for building WCSLIB 5.20
d42 1
a42 1
#      libwcs.so.5.20 or libwcs.5.20.dylib with or without the symlink
d46 1
a46 1
#      still link dynamically by using -lwcs.5.20.
d77 1
a77 1
# $Id: makedefs.in,v 5.19.1.2 2018/10/05 05:06:56 mcalabre Exp mcalabre $
d83 3
d198 1
d250 1
@


5.20.1.1
log
@WCSLIB 5.20 development branch.
@
text
@d77 1
a77 1
# $Id: makedefs.in,v 5.20 2018/10/05 05:32:42 mcalabre Exp $
@


5.20.1.2
log
@MAKEFLAGS and FLAVOUR are now set by configure.  The 'show' target now reports
the value of SUBDIR.
@
text
@d77 1
a77 1
# $Id: makedefs.in,v 5.20.1.1 2018/10/05 05:33:33 mcalabre Exp mcalabre $
a82 3
# Additional options for GNU make added by configure.
  MAKEFLAGS += @@MAKEFLAGS@@

a194 1
	-@@ echo '  SUBDIR      := $(SUBDIR)'
a245 1
FLAVOUR := @@FLAVOUR@@
@


5.19
log
@WCSLIB 5.19
@
text
@d2 1
a2 1
# GNU makefile definitions for building WCSLIB 5.19
d42 1
a42 1
#      libwcs.so.5.19 or libwcs.5.19.dylib with or without the symlink
d46 1
a46 1
#      still link dynamically by using -lwcs.5.19.
d77 1
a77 1
# $Id: makedefs.in,v 5.18.1.1 2018/01/10 08:33:04 mcalabre Exp mcalabre $
d177 1
a177 1
.PHONY : all build printenv show
d179 5
a183 1
all : show build
@


5.19.1.1
log
@WCSLIB 5.19 development branch.
@
text
@d77 1
a77 1
# $Id: makedefs.in,v 5.19 2018/07/26 15:37:05 mcalabre Exp $
@


5.19.1.2
log
@Modified the 'all' target to force sequential execution of 'show' and
'build' so that progress messages would not be interleaved.
@
text
@d77 1
a77 1
# $Id: makedefs.in,v 5.19.1.1 2018/07/26 15:41:42 mcalabre Exp mcalabre $
d177 1
a177 1
.PHONY : all build FORCE printenv show
d179 1
a179 5
all : show
	-@@ echo ''
	 @@ $(MAKE) build

FORCE :
@


5.18
log
@WCSLIB 5.18
@
text
@d2 1
a2 1
# GNU makefile definitions for building WCSLIB 5.18
d42 1
a42 1
#      libwcs.so.5.18 or libwcs.5.18.dylib with or without the symlink
d46 1
a46 1
#      still link dynamically by using -lwcs.5.18.
d77 1
a77 1
# $Id: makedefs.in,v 5.17.1.2 2017/12/05 00:50:33 mcalabre Exp mcalabre $
@


5.18.1.1
log
@WCSLIB 5.18 development branch.
@
text
@d77 1
a77 1
# $Id: makedefs.in,v 5.18 2018/01/10 08:32:14 mcalabre Exp $
@


5.17
log
@WCSLIB 5.17
@
text
@d2 1
a2 1
# GNU makefile definitions for building WCSLIB 5.17
d42 1
a42 1
#      libwcs.so.5.17 or libwcs.5.17.dylib with or without the symlink
d46 1
a46 1
#      still link dynamically by using -lwcs.5.17.
d77 1
a77 1
# $Id: makedefs.in,v 5.16.1.1 2017/01/15 04:29:03 mcalabre Exp mcalabre $
d105 1
d205 1
@


5.17.1.1
log
@WCSLIB 5.17 development branch.
@
text
@d77 1
a77 1
# $Id: makedefs.in,v 5.17 2017/09/18 08:44:25 mcalabre Exp $
@


5.17.1.2
log
@Set and report the value of ARFLAGS.
@
text
@d77 1
a77 1
# $Id: makedefs.in,v 5.17.1.1 2017/09/18 08:46:00 mcalabre Exp mcalabre $
a104 1
  ARFLAGS  := @@ARFLAGS@@
a203 1
	-@@ echo '  ARFLAGS     := $(ARFLAGS)'
@


5.16
log
@WCSLIB 5.16
@
text
@d2 1
a2 1
# GNU makefile definitions for building WCSLIB 5.16
d42 1
a42 1
#      libwcs.so.5.16 or libwcs.5.16.dylib with or without the symlink
d46 1
a46 1
#      still link dynamically by using -lwcs.5.16.
d77 1
a77 1
# $Id: makedefs.in,v 5.15.1.1 2016/04/05 12:58:38 mcalabre Exp mcalabre $
@


5.16.1.1
log
@WCSLIB 5.16 development branch.
@
text
@d77 1
a77 1
# $Id: makedefs.in,v 5.16 2017/01/15 04:25:03 mcalabre Exp $
@


5.15
log
@WCSLIB 5.15
@
text
@d2 1
a2 1
# GNU makefile definitions for building WCSLIB 5.15
d42 1
a42 1
#      libwcs.so.5.15 or libwcs.5.15.dylib with or without the symlink
d46 1
a46 1
#      still link dynamically by using -lwcs.5.15.
d77 1
a77 1
# $Id: makedefs.in,v 5.14.1.1 2016/02/07 10:52:48 mcalabre Exp mcalabre $
@


5.15.1.1
log
@WCSLIB 5.15 development branch.
@
text
@d77 1
a77 1
# $Id: makedefs.in,v 5.15 2016/04/05 12:55:12 mcalabre Exp $
@


5.14
log
@WCSLIB 5.14
@
text
@d2 1
a2 1
# GNU makefile definitions for building WCSLIB 5.14
d42 1
a42 1
#      libwcs.so.5.14 or libwcs.5.14.dylib with or without the symlink
d46 1
a46 1
#      still link dynamically by using -lwcs.5.14.
d77 1
a77 1
# $Id: makedefs.in,v 5.13.1.1 2016/01/26 08:54:35 mcalabre Exp mcalabre $
@


5.14.1.1
log
@WCSLIB 5.14 development branch.
@
text
@d77 1
a77 1
# $Id: makedefs.in,v 5.14 2016/02/07 10:49:33 mcalabre Exp $
@


5.13
log
@WCSLIB 5.13
@
text
@d2 1
a2 1
# GNU makefile definitions for building WCSLIB 5.13
d42 1
a42 1
#      libwcs.so.5.13 or libwcs.5.13.dylib with or without the symlink
d46 1
a46 1
#      still link dynamically by using -lwcs.5.13.
d77 1
a77 1
# $Id: makedefs.in,v 5.12.1.1 2015/11/15 02:16:18 mcalabre Exp mcalabre $
@


5.13.1.1
log
@WCSLIB 5.13 development branch.
@
text
@d77 1
a77 1
# $Id: makedefs.in,v 5.13 2016/01/26 08:51:16 mcalabre Exp $
@


5.12
log
@WCSLIB 5.12
@
text
@d2 1
a2 1
# GNU makefile definitions for building WCSLIB 5.12
d42 1
a42 1
#      libwcs.so.5.12 or libwcs.5.12.dylib with or without the symlink
d46 1
a46 1
#      still link dynamically by using -lwcs.5.12.
d77 1
a77 1
# $Id: makedefs.in,v 5.11.1.1 2015/10/18 09:16:30 mcalabre Exp mcalabre $
@


5.12.1.1
log
@WCSLIB 5.12 development branch.
@
text
@d77 1
a77 1
# $Id: makedefs.in,v 5.12 2015/11/15 02:13:02 mcalabre Exp $
@


5.11
log
@WCSLIB 5.11
@
text
@d2 1
a2 1
# GNU makefile definitions for building WCSLIB 5.11
d42 1
a42 1
#      libwcs.so.5.11 or libwcs.5.11.dylib with or without the symlink
d46 1
a46 1
#      still link dynamically by using -lwcs.5.11.
d77 1
a77 1
# $Id: makedefs.in,v 5.10.1.1 2015/10/09 08:22:39 mcalabre Exp mcalabre $
@


5.11.1.1
log
@WCSLIB 5.11 development branch.
@
text
@d77 1
a77 1
# $Id: makedefs.in,v 5.11 2015/10/18 09:13:07 mcalabre Exp $
@


5.10
log
@WCSLIB 5.10
@
text
@d2 1
a2 1
# GNU makefile definitions for building WCSLIB 5.10
d42 1
a42 1
#      libwcs.so.5.10 or libwcs.5.10.dylib with or without the symlink
d46 1
a46 1
#      still link dynamically by using -lwcs.5.10.
d77 1
a77 1
# $Id: makedefs.in,v 5.9.1.1 2015/07/21 09:28:11 mcalabre Exp mcalabre $
@


5.10.1.1
log
@WCSLIB 5.10 development branch.
@
text
@d77 1
a77 1
# $Id: makedefs.in,v 5.10 2015/10/09 08:19:17 mcalabre Exp $
@


5.9
log
@WCSLIB 5.9
@
text
@d2 1
a2 1
# GNU makefile definitions for building WCSLIB 5.9
d42 1
a42 1
#      libwcs.so.5.9 or libwcs.5.9.dylib with or without the symlink
d46 1
a46 1
#      still link dynamically by using -lwcs.5.9.
d77 1
a77 1
# $Id: makedefs.in,v 5.8.1.1 2015/07/08 11:07:22 mcalabre Exp mcalabre $
@


5.9.1.1
log
@WCSLIB 5.9 development branch.
@
text
@d77 1
a77 1
# $Id: makedefs.in,v 5.9 2015/07/21 09:20:04 mcalabre Exp $
@


5.8
log
@WCSLIB 5.8
@
text
@d2 1
a2 1
# GNU makefile definitions for building WCSLIB 5.8
d42 1
a42 1
#      libwcs.so.5.8 or libwcs.5.8.dylib with or without the symlink
d46 1
a46 1
#      still link dynamically by using -lwcs.5.8.
d77 1
a77 1
# $Id: makedefs.in,v 5.7.1.1 2015/06/29 02:47:27 mcalabre Exp mcalabre $
@


5.8.1.1
log
@WCSLIB 5.8 development branch.
@
text
@d77 1
a77 1
# $Id: makedefs.in,v 5.8 2015/07/08 11:04:02 mcalabre Exp $
@


5.7
log
@WCSLIB 5.7
@
text
@d2 1
a2 1
# GNU makefile definitions for building WCSLIB 5.7
d42 1
a42 1
#      libwcs.so.5.7 or libwcs.5.7.dylib with or without the symlink
d46 1
a46 1
#      still link dynamically by using -lwcs.5.7.
d77 1
a77 1
# $Id: makedefs.in,v 5.6.1.1 2015/06/14 07:14:48 mcalabre Exp mcalabre $
@


5.7.1.1
log
@WCSLIB 5.7 development branch.
@
text
@d77 1
a77 1
# $Id: makedefs.in,v 5.7 2015/06/29 02:44:18 mcalabre Exp $
@


5.6
log
@WCSLIB 5.6
@
text
@d2 1
a2 1
# GNU makefile definitions for building WCSLIB 5.6
d42 1
a42 1
#      libwcs.so.5.6 or libwcs.5.6.dylib with or without the symlink
d46 1
a46 1
#      still link dynamically by using -lwcs.5.6.
d77 1
a77 1
# $Id: makedefs.in,v 5.5.1.1 2015/05/05 13:21:04 mcalabre Exp mcalabre $
@


5.6.1.1
log
@WCSLIB 5.6 development branch.
@
text
@d77 1
a77 1
# $Id: makedefs.in,v 5.6 2015/06/14 07:11:26 mcalabre Exp $
@


5.5
log
@WCSLIB 5.5
@
text
@d2 1
a2 1
# GNU makefile definitions for building WCSLIB 5.5
d42 1
a42 1
#      libwcs.so.5.5 or libwcs.5.5.dylib with or without the symlink
d46 1
a46 1
#      still link dynamically by using -lwcs.5.5.
d77 1
a77 1
# $Id: makedefs.in,v 5.4.1.1 2015/04/21 14:44:31 mcalabre Exp mcalabre $
@


5.5.1.1
log
@WCSLIB 5.5 development branch.
@
text
@d77 1
a77 1
# $Id: makedefs.in,v 5.5 2015/05/05 13:16:33 mcalabre Exp $
@


5.4
log
@WCSLIB 5.4
@
text
@d2 1
a2 1
# GNU makefile definitions for building WCSLIB 5.4
d42 1
a42 1
#      libwcs.so.5.4 or libwcs.5.4.dylib with or without the symlink
d46 1
a46 1
#      still link dynamically by using -lwcs.5.4.
d77 1
a77 1
# $Id: makedefs.in,v 5.3.1.1 2015/04/21 02:54:05 mcalabre Exp mcalabre $
@


5.4.1.1
log
@WCSLIB 5.4 development branch.
@
text
@d77 1
a77 1
# $Id: makedefs.in,v 5.4 2015/04/21 14:41:07 mcalabre Exp $
@


5.3
log
@WCSLIB 5.3
@
text
@d2 1
a2 1
# GNU makefile definitions for building WCSLIB 5.3
d42 1
a42 1
#      libwcs.so.5.3 or libwcs.5.3.dylib with or without the symlink
d46 1
a46 1
#      still link dynamically by using -lwcs.5.3.
d77 1
a77 1
# $Id: makedefs.in,v 5.2.1.1 2015/04/15 12:39:18 mcalabre Exp mcalabre $
@


5.3.1.1
log
@WCSLIB 5.3 development branch.
@
text
@d77 1
a77 1
# $Id: makedefs.in,v 5.3 2015/04/21 02:50:53 mcalabre Exp $
@


5.2
log
@WCSLIB 5.2
@
text
@d2 1
a2 1
# GNU makefile definitions for building WCSLIB 5.2
d42 1
a42 1
#      libwcs.so.5.2 or libwcs.5.2.dylib with or without the symlink
d46 1
a46 1
#      still link dynamically by using -lwcs.5.2.
d77 1
a77 1
# $Id: makedefs.in,v 5.1.1.1 2015/04/07 11:01:13 mcalabre Exp mcalabre $
@


5.2.1.1
log
@WCSLIB 5.2 development branch.
@
text
@d77 1
a77 1
# $Id: makedefs.in,v 5.2 2015/04/15 12:35:09 mcalabre Exp $
@


5.1
log
@WCSLIB 5.1
@
text
@d2 1
a2 1
# GNU makefile definitions for building WCSLIB 5.1
d42 1
a42 1
#      libwcs.so.5.1 or libwcs.5.1.dylib with or without the symlink
d46 1
a46 1
#      still link dynamically by using -lwcs.5.1.
d77 1
a77 1
# $Id: makedefs.in,v 5.0.1.2 2015/04/07 09:43:46 mcalabre Exp mcalabre $
@


5.1.1.1
log
@WCSLIB 5.1 development branch.
@
text
@d77 1
a77 1
# $Id: makedefs.in,v 5.1 2015/04/07 10:56:39 mcalabre Exp $
@


5.0
log
@WCSLIB 5.0
@
text
@d2 1
a2 1
# GNU makefile definitions for building WCSLIB 5.0
d42 1
a42 1
#      libwcs.so.5.0 or libwcs.5.0.dylib with or without the symlink
d46 1
a46 1
#      still link dynamically by using -lwcs.5.0.
d77 1
a77 1
# $Id: makedefs.in,v 4.25.1.1 2014/12/14 14:32:47 mcalabre Exp mcalabre $
d92 1
a92 1
  CPPFLAGS := @@DEFS@@
@


5.0.1.1
log
@WCSLIB 5.0 development branch.
@
text
@d77 1
a77 1
# $Id: makedefs.in,v 5.0 2015/04/05 12:25:02 mcalabre Exp $
@


5.0.1.2
log
@Patch provided by Ole Streicher to propagate user-defined CPPFLAGS.
@
text
@d77 1
a77 1
# $Id: makedefs.in,v 5.0.1.1 2015/04/05 12:28:04 mcalabre Exp mcalabre $
d92 1
a92 1
  CPPFLAGS := @@CPPFLAGS@@ @@DEFS@@
@


4.25
log
@WCSLIB 4.25
@
text
@d2 1
a2 1
# GNU makefile definitions for building WCSLIB 4.25
d42 1
a42 1
#      libwcs.so.4.25 or libwcs.4.25.dylib with or without the symlink
d46 1
a46 1
#      still link dynamically by using -lwcs.4.25.
d77 1
a77 1
# $Id: makedefs.in,v 4.24.1.1 2014/09/18 15:28:12 mcalabre Exp mcalabre $
@


4.25.1.1
log
@WCSLIB 4.25 development branch.
@
text
@d77 1
a77 1
# $Id: makedefs.in,v 4.25 2014/12/14 14:29:38 mcalabre Exp $
@


4.24
log
@WCSLIB 4.24
@
text
@d2 1
a2 1
# GNU makefile definitions for building WCSLIB 4.24
d42 1
a42 1
#      libwcs.so.4.24 or libwcs.4.24.dylib with or without the symlink
d46 1
a46 1
#      still link dynamically by using -lwcs.4.24.
d77 1
a77 1
# $Id: makedefs.in,v 4.23.1.1 2014/05/13 05:53:52 mcalabre Exp mcalabre $
@


4.24.1.1
log
@WCSLIB 4.24 development branch.
@
text
@d77 1
a77 1
# $Id: makedefs.in,v 4.24 2014/09/18 15:25:02 mcalabre Exp $
@


4.23
log
@WCSLIB 4.23
@
text
@d2 1
a2 1
# GNU makefile definitions for building WCSLIB 4.23
d42 1
a42 1
#      libwcs.so.4.23 or libwcs.4.23.dylib with or without the symlink
d46 1
a46 1
#      still link dynamically by using -lwcs.4.23.
d77 1
a77 1
# $Id: makedefs.in,v 4.22.1.1 2014/04/12 15:06:34 mcalabre Exp mcalabre $
@


4.23.1.1
log
@WCSLIB 4.23 development branch.
@
text
@d77 1
a77 1
# $Id: makedefs.in,v 4.23 2014/05/13 05:50:53 mcalabre Exp $
@


4.22
log
@WCSLIB 4.22
@
text
@d2 1
a2 1
# GNU makefile definitions for building WCSLIB 4.22
d42 1
a42 1
#      libwcs.so.4.22 or libwcs.4.22.dylib with or without the symlink
d46 1
a46 1
#      still link dynamically by using -lwcs.4.22.
d77 1
a77 1
# $Id: makedefs.in,v 4.21.1.1 2014/03/24 05:15:30 mcalabre Exp mcalabre $
@


4.22.1.1
log
@WCSLIB 4.22 development branch.
@
text
@d77 1
a77 1
# $Id: makedefs.in,v 4.22 2014/04/12 15:03:54 mcalabre Exp $
@


4.21
log
@WCSLIB 4.21
@
text
@d2 1
a2 1
# GNU makefile definitions for building WCSLIB 4.21
d42 1
a42 1
#      libwcs.so.4.21 or libwcs.4.21.dylib with or without the symlink
d46 1
a46 1
#      still link dynamically by using -lwcs.4.21.
d77 1
a77 1
# $Id: makedefs.in,v 4.20.1.1 2013/12/18 05:46:57 mcalabre Exp mcalabre $
@


4.21.1.1
log
@WCSLIB 4.21 development branch.
@
text
@d77 1
a77 1
# $Id: makedefs.in,v 4.21 2014/03/24 05:12:29 mcalabre Exp $
@


4.20
log
@WCSLIB 4.20
@
text
@d2 1
a2 1
# GNU makefile definitions for building WCSLIB 4.20
d42 1
a42 1
#      libwcs.so.4.20 or libwcs.4.20.dylib with or without the symlink
d46 1
a46 1
#      still link dynamically by using -lwcs.4.20.
d77 1
a77 1
# $Id: makedefs.in,v 4.19.1.1 2013/09/29 14:20:41 mcalabre Exp mcalabre $
@


4.20.1.1
log
@WCSLIB 4.20 development branch.
@
text
@d77 1
a77 1
# $Id: makedefs.in,v 4.20 2013/12/18 05:42:50 mcalabre Exp $
@


4.19
log
@WCSLIB 4.19
@
text
@d2 1
a2 1
# GNU makefile definitions for building WCSLIB 4.19
d42 1
a42 1
#      libwcs.so.4.19 or libwcs.4.19.dylib with or without the symlink
d46 1
a46 1
#      still link dynamically by using -lwcs.4.19.
d77 1
a77 1
# $Id: makedefs.in,v 4.18.1.1 2013/07/13 10:02:39 mcalabre Exp mcalabre $
@


4.19.1.1
log
@WCSLIB 4.19 development branch.
@
text
@d77 1
a77 1
# $Id: makedefs.in,v 4.19 2013/09/29 14:17:53 mcalabre Exp $
@


4.18
log
@WCSLIB 4.18
@
text
@d2 1
a2 1
# GNU makefile definitions for building WCSLIB 4.18
d42 1
a42 1
#      libwcs.so.4.18 or libwcs.4.18.dylib with or without the symlink
d46 1
a46 1
#      still link dynamically by using -lwcs.4.18.
d77 1
a77 1
# $Id: makedefs.in,v 4.17.1.1 2013/01/29 05:32:33 cal103 Exp cal103 $
@


4.18.1.1
log
@WCSLIB 4.18 development branch.
@
text
@d77 1
a77 1
# $Id: makedefs.in,v 4.18 2013/07/13 10:00:06 mcalabre Exp $
@


4.17
log
@WCSLIB 4.17
@
text
@d2 1
a2 1
# GNU makefile definitions for building WCSLIB 4.17
d42 1
a42 1
#      libwcs.so.4.17 or libwcs.4.17.dylib with or without the symlink
d46 1
a46 1
#      still link dynamically by using -lwcs.4.17.
d77 1
a77 1
# $Id: makedefs.in,v 4.16.1.1 2012/11/07 04:45:57 cal103 Exp cal103 $
@


4.17.1.1
log
@WCSLIB 4.17 development branch.
@
text
@d77 1
a77 1
# $Id: makedefs.in,v 4.17 2013/01/29 05:29:22 cal103 Exp $
@


4.16
log
@WCSLIB 4.16
@
text
@d2 1
a2 1
# GNU makefile definitions for building WCSLIB 4.16
d42 1
a42 1
#      libwcs.so.4.16 or libwcs.4.16.dylib with or without the symlink
d46 1
a46 1
#      still link dynamically by using -lwcs.4.16.
d77 1
a77 1
# $Id: makedefs.in,v 4.15.1.1 2012/09/26 14:27:52 cal103 Exp cal103 $
@


4.16.1.1
log
@WCSLIB 4.16 development branch.
@
text
@d77 1
a77 1
# $Id: makedefs.in,v 4.16 2012/11/07 04:42:45 cal103 Exp $
@


4.15
log
@WCSLIB 4.15
@
text
@d2 1
a2 1
# GNU makefile definitions for building WCSLIB 4.15
d42 1
a42 1
#      libwcs.so.4.15 or libwcs.4.15.dylib with or without the symlink
d46 1
a46 1
#      still link dynamically by using -lwcs.4.15.
d77 1
a77 1
# $Id: makedefs.in,v 4.14.1.1 2012/07/13 10:04:59 cal103 Exp cal103 $
@


4.15.1.1
log
@WCSLIB 4.15 development branch.
@
text
@d77 1
a77 1
# $Id: makedefs.in,v 4.15 2012/09/26 14:26:06 cal103 Exp $
@


4.14
log
@WCSLIB 4.14
@
text
@d2 1
a2 1
# GNU makefile definitions for building WCSLIB 4.14
d42 1
a42 1
#      libwcs.so.4.14 or libwcs.4.14.dylib with or without the symlink
d46 1
a46 1
#      still link dynamically by using -lwcs.4.14.
d77 1
a77 1
# $Id: makedefs.in,v 4.13.1.2 2012/07/13 03:29:06 cal103 Exp cal103 $
@


4.14.1.1
log
@WCSLIB 4.14 development branch.
@
text
@d77 1
a77 1
# $Id: makedefs.in,v 4.14 2012/07/13 10:02:44 cal103 Exp $
@


4.13
log
@WCSLIB 4.13
@
text
@d2 1
a2 1
# GNU makefile definitions for building WCSLIB 4.13
d42 1
a42 1
#      libwcs.so.4.13 or libwcs.4.13.dylib with or without the symlink
d46 1
a46 1
#      still link dynamically by using -lwcs.4.13.
d75 3
a77 3
# Author: Mark Calabretta, Australia Telescope National Facility
# http://www.atnf.csiro.au/~mcalabre/index.html
# $Id: makedefs.in,v 4.12.1.2 2012/03/14 07:37:39 cal103 Exp cal103 $
@


4.13.1.1
log
@WCSLIB 4.13 development branch.
@
text
@d77 1
a77 1
# $Id: makedefs.in,v 4.13 2012/03/14 07:39:31 cal103 Exp $
@


4.13.1.2
log
@Changed contact details.
@
text
@d75 3
a77 3
# Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
# http://www.atnf.csiro.au/people/Mark.Calabretta
# $Id: makedefs.in,v 4.13.1.1 2012/03/14 07:40:38 cal103 Exp cal103 $
@


4.12
log
@WCSLIB 4.12
@
text
@d2 1
a2 1
# GNU makefile definitions for building WCSLIB 4.12
d42 1
a42 1
#      libwcs.so.4.12 or libwcs.4.12.dylib with or without the symlink
d46 1
a46 1
#      still link dynamically by using -lwcs.4.12.
d77 1
a77 1
# $Id: makedefs.in,v 4.11.1.1 2012/02/20 23:31:14 cal103 Exp cal103 $
d137 1
d217 1
@


4.12.1.1
log
@WCSLIB 4.12 development branch.
@
text
@d77 1
a77 1
# $Id: makedefs.in,v 4.12 2012/02/29 07:57:57 cal103 Exp $
@


4.12.1.2
log
@Added DOCLINK.
@
text
@d77 1
a77 1
# $Id: makedefs.in,v 4.12.1.1 2012/02/29 07:59:11 cal103 Exp cal103 $
a136 1
  DOCLINK  := $(dir $(DESTDIR)@@docdir@@)wcslib
a215 1
	-@@ echo '  DOCLINK     := $(DOCLINK)'
@


4.11
log
@WCSLIB 4.11
@
text
@d2 1
a2 1
# GNU makefile definitions for building WCSLIB 4.11
d42 1
a42 1
#      libwcs.so.4.11 or libwcs.4.11.dylib with or without the symlink
d46 1
a46 1
#      still link dynamically by using -lwcs.4.11.
d77 1
a77 1
# $Id: makedefs.in,v 4.10.1.1 2012/02/05 23:42:47 cal103 Exp cal103 $
@


4.11.1.1
log
@WCSLIB 4.11 development branch.
@
text
@d77 1
a77 1
# $Id: makedefs.in,v 4.11 2012/02/20 23:30:03 cal103 Exp $
@


4.10
log
@WCSLIB 4.10
@
text
@d2 1
a2 1
# GNU makefile definitions for building WCSLIB 4.10
d42 1
a42 1
#      libwcs.so.4.10 or libwcs.4.10.dylib with or without the symlink
d46 1
a46 1
#      still link dynamically by using -lwcs.4.10.
d77 1
a77 1
# $Id: makedefs.in,v 4.9.1.1 2012/01/24 05:41:46 cal103 Exp cal103 $
@


4.10.1.1
log
@WCSLIB 4.10 development branch.
@
text
@d77 1
a77 1
# $Id: makedefs.in,v 4.10 2012/02/05 23:41:45 cal103 Exp $
@


4.9
log
@WCSLIB 4.9
@
text
@d2 1
a2 1
# GNU makefile definitions for building WCSLIB 4.9
d42 1
a42 1
#      libwcs.so.4.9 or libwcs.4.9.dylib with or without the symlink
d46 1
a46 1
#      still link dynamically by using -lwcs.4.9.
d77 1
a77 1
# $Id: makedefs.in,v 4.8.1.3 2011/10/04 07:55:20 cal103 Exp cal103 $
@


4.9.1.1
log
@WCSLIB 4.9 development branch.
@
text
@d77 1
a77 1
# $Id: makedefs.in,v 4.9 2012/01/24 05:40:30 cal103 Exp $
@


4.8
log
@WCSLIB 4.8
@
text
@d2 1
a2 1
# GNU makefile definitions for building WCSLIB 4.8
d42 1
a42 1
#      libwcs.so.4.8 or libwcs.4.8.dylib with or without the symlink
d46 1
a46 1
#      still link dynamically by using -lwcs.4.8.
d77 1
a77 1
# $Id: makedefs.in,v 4.7.1.1 2011/02/07 07:04:23 cal103 Exp cal103 $
d109 1
d139 1
d205 1
d218 1
@


4.8.1.1
log
@WCSLIB 4.8 development branch.
@
text
@d77 1
a77 1
# $Id: makedefs.in,v 4.8 2011/08/15 08:05:55 cal103 Exp $
@


4.8.1.2
log
@SONAME set by configure.
@
text
@d77 1
a77 1
# $Id: makedefs.in,v 4.8.1.1 2011/08/15 08:07:07 cal103 Exp cal103 $
a108 1
  SONAME   := @@SONAME@@
a202 1
	-@@ echo '  SONAME      := $(SONAME)'
@


4.8.1.3
log
@Added MANDIR.
@
text
@d77 1
a77 1
# $Id: makedefs.in,v 4.8.1.2 2011/09/16 04:39:36 cal103 Exp cal103 $
a138 1
  MANDIR   := $(DESTDIR)@@mandir@@
a216 1
	-@@ echo '  MANDIR      := $(MANDIR)'
@


4.7
log
@WCSLIB 4.7
@
text
@d2 1
a2 1
# GNU makefile definitions for building WCSLIB 4.7
d42 1
a42 1
#      libwcs.so.4.7 or libwcs.4.7.dylib with or without the symlink
d46 1
a46 1
#      still link dynamically by using -lwcs.4.7.
d77 1
a77 1
# $Id: makedefs.in,v 4.6.1.6 2011/01/18 04:12:41 cal103 Exp cal103 $
@


4.7.1.1
log
@WCSLIB 4.7 development branch.
@
text
@d77 1
a77 1
# $Id: makedefs.in,v 4.7 2011/02/07 07:03:43 cal103 Exp $
@


4.6
log
@WCSLIB 4.6
@
text
@d2 1
a2 1
# GNU makefile definitions for building WCSLIB 4.6
d42 1
a42 1
#      libwcs.so.4.6 or libwcs.4.6.dylib with or without the symlink
d46 1
a46 1
#      still link dynamically by using -lwcs.4.6.
d77 1
a77 1
# $Id: makedefs.in,v 4.5.1.3 2010/10/27 04:52:15 cal103 Exp cal103 $
d80 2
a81 2
  V := @@PACKAGE_VERSION@@
  WCSLIBV  := wcslib-$V
d104 1
a104 1
  LIBWCS   := libwcs-$V.a
d124 14
a137 7
  prefix   := @@prefix@@
  exec_prefix := @@exec_prefix@@

  LIBDIR   := @@libdir@@
  BINDIR   := @@bindir@@
  INCDIR   := @@includedir@@/$(WCSLIBV)
  INCLINK  := @@includedir@@/wcslib
d189 1
a189 1
	-@@ echo 'For building and installing $(WCSLIBV)...'
d200 1
a200 1
	-@@ echo '  LIBWCS      := $(LIBWCS)'
d212 3
@


4.6.1.1
log
@WCSLIB 4.6 development branch.
@
text
@d77 1
a77 1
# $Id: makedefs.in,v 4.6 2010/11/16 06:15:32 cal103 Exp $
@


4.6.1.2
log
@Define DOCDIR, and prefix all installation directories with $(DESTDIR).
@
text
@d77 1
a77 1
# $Id: makedefs.in,v 4.6.1.1 2010/11/16 06:16:20 cal103 Exp cal103 $
d127 4
a130 8
  # Needed by the DOCDIR definition.
  PACKAGE_TARNAME := @@PACKAGE_TARNAME@@

  LIBDIR   := $(DESTDIR)@@libdir@@
  BINDIR   := $(DESTDIR)@@bindir@@
  INCDIR   := $(DESTDIR)@@includedir@@/$(WCSLIBV)
  INCLINK  := $(DESTDIR)@@includedir@@/wcslib
  DOCDIR   := $(DESTDIR)@@docdir@@
a204 1
	-@@ echo '  DOCDIR      := $(DOCDIR)'
@


4.6.1.3
log
@Use datarootdir provided by autoconf, and define HTMLDIR and PDFDIR.
@
text
@d77 1
a77 1
# $Id: makedefs.in,v 4.6.1.2 2010/12/14 03:07:13 cal103 Exp cal103 $
d124 4
a127 4
  # Needed for the definitions provided by autoconf.
  prefix          := @@prefix@@
  exec_prefix     := @@exec_prefix@@
  datarootdir     := @@datarootdir@@
a128 1
  docdir          := @@docdir@@
d134 1
a134 3
  DOCDIR   := $(DESTDIR)${docdir}
  HTMLDIR  := $(DESTDIR)@@htmldir@@
  PDFDIR   := $(DESTDIR)@@pdfdir@@
a209 2
	-@@ echo '  HTMLDIR     := $(HTMLDIR)'
	-@@ echo '  PDFDIR      := $(PDFDIR)'
@


4.6.1.4
log
@LIBWCS -> WCSLIB.
@
text
@d77 1
a77 1
# $Id: makedefs.in,v 4.6.1.3 2010/12/14 04:38:20 cal103 Exp cal103 $
d104 1
a104 1
  WCSLIB   := libwcs-$V.a
d200 1
a200 1
	-@@ echo '  WCSLIB      := $(WCSLIB)'
@


4.6.1.5
log
@Abbreviated version number used for installed library and headers.
WCSLIBV -> WCSLIBPKG.
@
text
@d77 1
a77 1
# $Id: makedefs.in,v 4.6.1.4 2011/01/18 03:27:23 cal103 Exp cal103 $
d80 2
a81 1
  WCSLIBPKG := wcslib-@@PACKAGE_VERSION@@
d104 1
a104 1
  WCSLIB   := libwcs-$(LIBVER).a
d133 1
a133 1
  INCDIR   := $(DESTDIR)@@includedir@@/wcslib-$(LIBVER)
d189 1
a189 1
	-@@ echo 'For building and installing $(WCSLIBPKG)...'
@


4.6.1.6
log
@Define LIBDIR from configure.
@
text
@d77 1
a77 1
# $Id: makedefs.in,v 4.6.1.5 2011/01/18 03:59:47 cal103 Exp cal103 $
a79 1
  LIBVER    := @@LIBVER@@
d134 1
a134 1
  DOCDIR   := $(DESTDIR)@@docdir@@
@


4.5
log
@WCSLIB 4.5
@
text
@d2 1
a2 1
# GNU makefile definitions for building WCSLIB 4.5.
d10 1
a10 1
#   show_all:  Print the values of all makefile variables used.
d42 1
a42 1
#      libwcs.so.4.5 or libwcs.4.5.dylib with or without the symlink
d45 2
a46 2
#      existence precludes static linking with the cctools linker.
#      Instead, you could link dynamically by using -lwcs.4.5.
d50 3
a52 3
#      test programs that plot test grids (tprj2, tcel1, tcel2, tspc, ttab2,
#      ttab3, twcsmix, and tpih2).  You can skip these by setting PGPLOTLIB
#      to blank.
d63 7
a69 6
#      CFITSIO is required to compile test programs twcstab and twcshdr.
#      These use fits_read_wcstab() which is implemented by getwcstab.c.
#      However, this implementation is included in CFITSIO post 3.004beta,
#      so getwcstab.c is required here only for older releases (controlled
#      by variable GETWCSTAB).  getwcstab.o itself is not inserted into the
#      WCSLIB object library.
d77 1
a77 1
# $Id: makedefs.in,v 4.4.1.5 2010/07/15 07:15:02 cal103 Exp cal103 $
d166 1
a166 1
.PHONY : all build printenv show_all
d168 1
a168 1
all : show_all build
d170 1
d174 2
a175 1
show_all :: wcsconfig.h
@


4.5.1.1
log
@WCSLIB 4.5 development branch.
@
text
@d76 1
a76 1
# $Id: makedefs.in,v 4.5 2010/07/16 07:01:26 cal103 Exp $
@


4.5.1.2
log
@Renamed 'show_all' to 'show'.
@
text
@d10 1
a10 1
#   show:      Print the values of all makefile variables used.
d45 2
a46 2
#      existence precludes static linking with the cctools linker.  You can
#      still link dynamically by using -lwcs.4.5.
d76 1
a76 1
# $Id: makedefs.in,v 4.5.1.1 2010/07/16 07:05:32 cal103 Exp cal103 $
d165 1
a165 1
.PHONY : all build printenv show
d167 1
a167 1
all : show build
a168 1
# Print the environment as seen by makefile rules.
d172 1
a172 2
# Print variable definitions.
show :: wcsconfig.h
@


4.5.1.3
log
@In the prologue, mention the dependence of the utility programs on
PGPLOT and CFITSIO.
@
text
@d50 3
a52 3
#      one utility, wcsgrid, and the test programs that plot test grids
#      (tprj2, tcel1, tcel2, tspc, ttab2, ttab3, twcsmix, and tpih2).  You can
#      skip these by setting PGPLOTLIB to blank.
d63 6
a68 7
#      CFITSIO is required by three utilities, HPXcvt, wcsgrid, and wcsware,
#      and also by the test programs twcstab and twcshdr.  wcsware and the
#      test programs use fits_read_wcstab() which is implemented by
#      getwcstab.c.  However, this implementation is included in CFITSIO post
#      3.004beta, so getwcstab.c is required here only for older releases
#      (controlled by variable GETWCSTAB).  getwcstab.o itself is not inserted
#      into the WCSLIB object library.
d76 1
a76 1
# $Id: makedefs.in,v 4.5.1.2 2010/10/13 23:59:09 cal103 Exp cal103 $
@


4.4
log
@WCSLIB 4.4
@
text
@d2 1
a2 1
# GNU makefile definitions for building WCSLIB 4.4.
d37 1
a37 1
#      Shared libraries require position-indepent code (PIC) which imposes
d42 1
a42 1
#      libwcs.so.4.4 or libwcs.4.4.dylib with or without the symlink
d46 1
a46 1
#      Instead, you could link dynamically by using -lwcs.4.4.
d76 1
a76 1
# $Id: makedefs.in,v 4.3.1.3 2009/07/27 07:32:06 cal103 Exp cal103 $
d112 7
d162 1
d172 1
a172 1
show_all ::
d205 2
a206 2
	-@@ echo "  `grep HAVE_SINCOS wcsconfig.h`"
	-@@ echo "  `grep WCSLIB_INT64 wcsconfig.h`"
@


4.4.1.1
log
@WCSLIB 4.4 development branch.
@
text
@d76 1
a76 1
# $Id: makedefs.in,v 4.4 2009/08/06 07:27:24 cal103 Exp $
@


4.4.1.2
log
@SUBDIRS, TSTDIRS, and INSTDIR are now set via configure.
@
text
@d76 1
a76 1
# $Id: makedefs.in,v 4.4.1.1 2009/08/10 08:42:06 cal103 Exp cal103 $
a111 7
# What subdirectories to build.
  SUBDIRS  := @@SUBDIRS@@
  TSTDIRS  := @@TSTDIRS@@

# Top of the 'make install' hierarchy: pgsbox -> Fortran -> C.
  INSTDIR  := @@INSTDIR@@

@


4.4.1.3
log
@Fixed reporting of wcsconfig.h defines for show_all in subdirectories.
@
text
@d76 1
a76 1
# $Id: makedefs.in,v 4.4.1.2 2009/09/14 06:50:08 cal103 Exp cal103 $
d171 1
a171 1
show_all :: wcsconfig.h
d204 2
a205 2
	-@@ echo "  `grep HAVE_SINCOS $<`"
	-@@ echo "  `grep WCSLIB_INT64 $<`"
@


4.4.1.4
log
@Fixed typo in prologue.
@
text
@d37 1
a37 1
#      Shared libraries require position-independent code (PIC) which imposes
d76 1
a76 1
# $Id: makedefs.in,v 4.4.1.3 2010/07/14 12:53:12 cal103 Exp cal103 $
@


4.4.1.5
log
@Defined default VPATH for wcsconfig.h in show_all.
@
text
@d76 1
a76 1
# $Id: makedefs.in,v 4.4.1.4 2010/07/14 14:24:20 cal103 Exp cal103 $
a161 1
VPATH := ..
@


4.3
log
@WCSLIB 4.3
@
text
@d2 1
a2 1
#   GNU makefile definitions for building WCSLIB 4.3.
d4 2
a5 2
#   makedefs is generated from makedefs.in by configure.  It contains variable
#   definitions and some general-purpose rules for building WCSLIB.
d7 70
a76 71
#   Targets defined here
#   --------------------
#      printenv:  Print the environment as seen within makefile rules.
#      show_all:  Print the values of all makefile variables used.
#
#   Notes:
#      1) If you need to make changes then it may be preferable to modify
#         makedefs.in (not makedefs).  The makefile will detect this and
#         automatically re-run config.status to regenerate makedefs.
#
#      2) There are three choices for trigd functions - cosd(), sind(),
#         tand(), acosd(), asind(), atand(), and atan2d(), made by setting
#         WCSTRIG:
#
#         1: Use the wrapper functions supplied with WCSLIB (default):
#            WCSTRIG := WRAPPER
#
#         2: Use native trigd functions supplied in a mathematics library such
#            as libsunmath (you will also need to add the library to the LIBS
#            variable below):
#            WCSTRIG := NATIVE
#
#         3: Use C preprocessor macro implementations of the trigd functions
#            (this method is typically 20% faster but may lead to rounding
#            errors near the poles):
#            WCSTRIG := MACRO
#
#      3) Variables for creating the shared (dynamic) library are currently
#         only set by 'configure' if the GNU C compiler is used.  However,
#         you can set these variables by hand, preferably in makedefs.in.
#
#         Shared libraries require position-indepent code (PIC) which imposes
#         a performance overhead.  Consequently the static libraries are
#         compiled separately without this option.
#
#         The shared library will be installed with version number, e.g. as
#         libwcs.so.4.3 or libwcs.4.3.dylib with or without the symlink
#         required to make it visible to the linker (controlled by the SHRLN
#         variable).  On Macs it is deliberately not created because its very
#         existence precludes static linking with the cctools linker.
#         Instead, you could link dynamically by using -lwcs.4.3.
#
#      4) PGPLOT is Tim Pearson's Fortran graphics library with separate C
#         interface available from astro.caltech.edu.  It is only required by
#         test programs that plot test grids (tprj2, tcel1, tcel2, tspc,
#         ttab2, ttab3, twcsmix, and tpih2).  You can skip these by setting
#         PGPLOTLIB to blank.  
#
#         It is difficult for configure to deduce what auxiliary graphics
#         libraries may be needed for PGPLOT since it depends on which of many
#         possible graphics drivers were selected when PGPLOT was installed.
#         Therefore it is quite likely that you will need to add additional
#         libraries to PGPLOTLIB.
#
#      5) CFITSIO is Bill Pence's FITS I/O library written in C with Fortran
#         wrappers, available from http://heasarc.gsfc.nasa.gov/fitsio.
#
#         CFITSIO is required to compile test programs twcstab and twcshdr.
#         These use fits_read_wcstab() which is implemented by getwcstab.c.
#         However, this implementation is included in CFITSIO post 3.004beta,
#         so getwcstab.c is required here only for older releases (controlled
#         by variable GETWCSTAB).  getwcstab.o itself is not inserted into the
#         WCSLIB object library.
#
#         If available, CFITSIO is also optionally used for test programs
#         tfitshdr, tbth1, tpih1 and tpih2 by setting preprocessor macro
#         -DDO_CFITSIO.
#
#   Author: Mark Calabretta, Australia Telescope National Facility
#   http://www.atnf.csiro.au/~mcalabre/index.html
#   $Id: makedefs.in,v 4.2.1.11 2007/07/12 01:09:06 cal103 Exp cal103 $
d196 4
@


4.3.1.1
log
@WCSLIB 4.3 development branch.
@
text
@d2 1
a2 1
#   GNU makefile definitions for building WCSLIB 4.4.
d43 1
a43 1
#         libwcs.so.4.4 or libwcs.4.4.dylib with or without the symlink
d47 1
a47 1
#         Instead, you could link dynamically by using -lwcs.4.4.
d77 1
a77 1
#   $Id: makedefs.in,v 4.3 2007/12/27 05:57:06 cal103 Exp cal103 $
@


4.3.1.2
log
@Whitespace changes.
@
text
@d2 1
a2 1
# GNU makefile definitions for building WCSLIB 4.4.
d4 2
a5 2
# makedefs is generated from makedefs.in by configure.  It contains variable
# definitions and some general-purpose rules for building WCSLIB.
d7 71
a77 70
# Targets defined here
# --------------------
#   printenv:  Print the environment as seen within makefile rules.
#   show_all:  Print the values of all makefile variables used.
#
# Notes:
#   1) If you need to make changes then it may be preferable to modify
#      makedefs.in (not makedefs).  The makefile will detect this and
#      automatically re-run config.status to regenerate makedefs.
#
#   2) There are three choices for trigd functions - cosd(), sind(), tand(),
#      acosd(), asind(), atand(), and atan2d(), made by setting WCSTRIG:
#
#      1: Use the wrapper functions supplied with WCSLIB (default):
#         WCSTRIG := WRAPPER
#
#      2: Use native trigd functions supplied in a mathematics library such
#         as libsunmath (you will also need to add the library to the LIBS
#         variable below):
#         WCSTRIG := NATIVE
#
#      3: Use C preprocessor macro implementations of the trigd functions
#         (this method is typically 20% faster but may lead to rounding
#         errors near the poles):
#         WCSTRIG := MACRO
#
#   3) Variables for creating the shared (dynamic) library are currently
#      only set by 'configure' if the GNU C compiler is used.  However,
#      you can set these variables by hand, preferably in makedefs.in.
#
#      Shared libraries require position-indepent code (PIC) which imposes
#      a performance overhead.  Consequently the static libraries are
#      compiled separately without this option.
#
#      The shared library will be installed with version number, e.g. as
#      libwcs.so.4.4 or libwcs.4.4.dylib with or without the symlink
#      required to make it visible to the linker (controlled by the SHRLN
#      variable).  On Macs it is deliberately not created because its very
#      existence precludes static linking with the cctools linker.
#      Instead, you could link dynamically by using -lwcs.4.4.
#
#   4) PGPLOT is Tim Pearson's Fortran graphics library with separate C
#      interface available from astro.caltech.edu.  It is only required by
#      test programs that plot test grids (tprj2, tcel1, tcel2, tspc, ttab2,
#      ttab3, twcsmix, and tpih2).  You can skip these by setting PGPLOTLIB
#      to blank.
#
#      It is difficult for configure to deduce what auxiliary graphics
#      libraries may be needed for PGPLOT since it depends on which of many
#      possible graphics drivers were selected when PGPLOT was installed.
#      Therefore it is quite likely that you will need to add additional
#      libraries to PGPLOTLIB.
#
#   5) CFITSIO is Bill Pence's FITS I/O library written in C with Fortran
#      wrappers, available from http://heasarc.gsfc.nasa.gov/fitsio.
#
#      CFITSIO is required to compile test programs twcstab and twcshdr.
#      These use fits_read_wcstab() which is implemented by getwcstab.c.
#      However, this implementation is included in CFITSIO post 3.004beta,
#      so getwcstab.c is required here only for older releases (controlled
#      by variable GETWCSTAB).  getwcstab.o itself is not inserted into the
#      WCSLIB object library.
#
#      If available, CFITSIO is also optionally used for test programs
#      tfitshdr, tbth1, tpih1 and tpih2 by setting preprocessor macro
#      -DDO_CFITSIO.
#
# Author: Mark Calabretta, Australia Telescope National Facility
# http://www.atnf.csiro.au/~mcalabre/index.html
# $Id: makedefs.in,v 4.3.1.1 2007/12/27 13:22:58 cal103 Exp cal103 $
@


4.3.1.3
log
@Report the entries for HAVE_SINCOS and WCSLIB_INT64 from wcsconfig.h.
@
text
@d76 1
a76 1
# $Id: makedefs.in,v 4.3.1.2 2009/07/21 07:21:14 cal103 Exp cal103 $
a195 4
	-@@ echo 'Important wcsconfig.h defines...'
	-@@ echo "  `grep HAVE_SINCOS wcsconfig.h`"
	-@@ echo "  `grep WCSLIB_INT64 wcsconfig.h`"
	-@@ echo ''
@


4.2
log
@WCSLIB 4.2: initial revision.
@
text
@d2 1
a2 1
#   GNU makefile definitions for building WCSLIB 4.2.
d4 2
a5 1
#   makedefs is generated from makedefs.in by configure.
d9 2
a10 1
#      show_all:  Print the values of all variables used.
d25 2
a26 1
#            as libsunmath (also add the library to the LIBS variable):
d32 1
a32 1
#            WCSTRIG := MACRO0
d34 16
a49 1
#      3) PGPLOT is Tim Pearson's FORTRAN graphics library with separate C
d61 1
a61 1
#      4) CFITSIO is Bill Pence's FITS I/O library written in C with FORTRAN
d64 6
a69 5
#         CFITSIO is required to compile getwcstab.c which contains an
#         implementation of fits_read_wcstab().  However, this function is
#         included in the latest releases of CFITSIO (post 3.004beta).  It is
#         required here only for test programs twcstab and twcshdr, and is not
#         inserted into the WCSLIB object library.
d72 1
a72 1
#         tfitshdr, tpih1 and tpih2 by setting preprocessor macro
d77 1
a77 1
#   $Id$
d83 9
a91 1
# C preprocessor options.
d96 2
a97 2
  CC      := @@CC@@
  CFLAGS  := @@CFLAGS@@
d99 13
a111 7
# FORTRAN compiler and options.
  FC      := @@F77@@
  FFLAGS  := @@FFLAGS@@

# Object library.
  LIBWCS  := libwcs-$V.a
  RANLIB  := @@RANLIB@@
d114 2
a115 2
  LN_S    := @@LN_S@@
  INSTALL := @@INSTALL@@
d117 1
a117 1
  prefix  := @@prefix@@
d120 4
a123 3
  LIBDIR  := @@libdir@@
  INCDIR  := @@includedir@@/$(WCSLIBV)
  INCLINK := @@includedir@@/wcslib
d126 1
a126 1
  TIMER   := date +"%a %Y/%m/%d %X %z, executing on $$HOST"
d129 2
a130 2
# The remaining options are only required for building the test suite.
# --------------------------------------------------------------------
d135 1
a135 1
# PGPLOT (see note 3 above).
d139 1
a139 1
# CFITSIO (see note 4 above).
d142 4
a153 3
# Flex (generated .c files are distributed); add -d to FLFLAGS for debugging.
FLEX    := flex
FLFLAGS :=
a156 103
#-----------------------------------------------------------------------------
# Makefile overrides for various combinations of architecture, operating
# system and compiler (used for WCSLIB development and testing).
#-----------------------------------------------------------------------------

# The list of FLAVOURs can be set on the command line.
F := $(shell echo $(FLAVOURS) | tr a-z A-Z)
ifeq "$F" ""
  F := ""
  FLAVOURS := ""
endif

ifeq "$F" "LINUX"
  override FLAVOURS := "" Linux Linuxp
endif

ifeq "$F" "SUN"
  override FLAVOURS := "" SUN/GNU SUN/GNU3 SUN/GNUp SUN/ANSI
endif

ifeq "$F" "PURE"
  override FLAVOURS := SUN/Pure SUN/Quant
endif


ifeq "$(PIC)" "TRUE"
  GPIC := -fPIC
  KPIC := -KPIC
endif


# Linux with gcc/g77.
ifeq "$(FLAVOUR)" "Linux"
  CC      := gcc -ansi -pedantic
  CFLAGS  := -g $(GPIC) -Wall -Wno-parentheses -Wno-long-long
  FFLAGS  := -g $(GPIC) -Wimplicit -Wno-globals -I.
endif

ifeq "$(FLAVOUR)" "Linuxp"
  CC      := gcc -ansi -pedantic
  CFLAGS  := -pg -a -g -O -Wall -Wno-parentheses -Wno-long-long
  FFLAGS  := -pg -a -g -O -Wimplicit -Wuninitialized -Wno-globals -I.
  LDFLAGS := -pg -a -g $(filter -L%, $(LDFLAGS))
  override EXTRA_CLEAN := gmon.out bb.out
endif


# Solaris with gcc/g77.
ifeq "$(FLAVOUR)" "SUN/GNU"
  CC      := gcc -ansi -pedantic
  CFLAGS  := -g $(GPIC) -Wall -Wno-parentheses -Wno-long-long
  FFLAGS  := -g $(GPIC) -Wimplicit -Wno-globals -I.
endif

ifeq "$(FLAVOUR)" "SUN/GNU3"
  CC      := gcc-3.1.1 -ansi
  CFLAGS  := -g -Wall -Wno-parentheses -Wno-long-long
  CFLAGS  := -g -Wall -Wno-parentheses -Wno-long-long
  FC      := g77-3.1.1
  FFLAGS  := -g -Wimplicit -Wno-globals -I.
  LD      := gcc-3.1.1
endif

ifeq "$(FLAVOUR)" "SUN/GNUp"
  CFLAGS  := -pg -a -g -O -Wall -Wno-parentheses -Wno-long-long
  FFLAGS  := -pg -a -g -O -Wimplicit -Wuninitialized -Wno-globals -I.
  LDFLAGS := -pg -a -g $(filter -L%, $(LDFLAGS))
  override EXTRA_CLEAN := gmon.out bb.out
endif


# Solaris with SUN cc/f77.
ifeq "$(FLAVOUR)" "SUN/ANSI"
  WCSTRIG := NATIVE
  CC      := cc
  CFLAGS  := -g $(KPIC) -I/usr/local/include
  FC      := f77 -erroff=WDECL_LOCAL_NOTUSED
  FFLAGS  := -g $(KPIC) -erroff=WDECL_LOCAL_NOTUSED
  LD      := f77
endif


# Purify and quantify in Solaris.
ifeq "$(FLAVOUR)" "SUN/Pure"
  WCSTRIG := NATIVE
  CC      := purify gcc
  CFLAGS  := -g
  FC      := purify gcc
  FFLAGS  := -g -Wimplicit -Wno-globals -I.
  LDFLAGS := $(filter -L%, $(LDFLAGS))
  override EXTRA_CLEAN := *_pure_p*.[ao] *.pcv .pure ../C/*_pure_p*.[ao]
endif

ifeq "$(FLAVOUR)" "SUN/Quant"
  WCSTRIG := NATIVE
  CC      := quantify gcc
  CFLAGS  := -g
  FC      := quantify gcc
  FFLAGS  := -g -Wimplicit -Wno-globals -I.
  LDFLAGS := $(filter -L%, $(LDFLAGS))
  override EXTRA_CLEAN := *_pure_q*.[ao] .pure
endif

d158 1
d160 1
a160 1
.PHONY : all show_all
d162 2
a163 1
all :
d167 5
d173 4
d185 4
d192 1
d197 1
a197 1
	-@@ echo 'For testing only...'
d204 2
d208 3
a210 6
	-@@ echo 'For code development...'
	-@@ echo '  FLEX        := $(FLEX)'
	-@@ echo '  FLFLAGS     := $(FLFLAGS)'
	-@@ echo '  FLAVOUR     := $(FLAVOUR)'
	-@@ echo '  EXTRA_CLEAN := $(EXTRA_CLEAN)'
	-@@ echo ''
@


4.2.1.1
log
@WCSLIB 4.2 development branch.
@
text
@d2 1
a2 1
#   GNU makefile definitions for building WCSLIB 4.3.
d58 1
a58 1
#   $Id: makedefs.in,v 4.2 2005/09/23 04:55:25 cal103 Exp cal103 $
@


4.2.1.2
log
@In show_all, report 'uname -a' and the version of gmake.
@
text
@d58 1
a58 1
#   $Id: makedefs.in,v 4.2.1.1 2005/12/05 03:12:44 cal103 Exp cal103 $
a231 4
	-@@ echo ''
	-@@ uname -a
	-@@ echo ''
	-@@ $(MAKE) --version | head -1
@


4.2.1.3
log
@Added an ARCH variable set from configure, reported but not used as yet;
FORTRAN -> Fortran.
@
text
@d31 1
a31 1
#      3) PGPLOT is Tim Pearson's Fortran graphics library with separate C
d43 1
a43 1
#      4) CFITSIO is Bill Pence's FITS I/O library written in C with Fortran
d58 1
a58 1
#   $Id: makedefs.in,v 4.2.1.2 2005/12/15 03:07:49 cal103 Exp cal103 $
a63 3
# System architecture.
  ARCH     := @@ARCH@@

d72 1
a72 1
# Fortran compiler and options.
a237 1
	-@@ echo '  ARCH        := $(ARCH)'
@


4.2.1.4
log
@Define the default target, 'all', with 'show_all' and 'build' as
dependencies, this is a simpler way of ensuring that 'show_all' is done
exactly once in a recursive build from the top level, or a partial build
launched in a subdirectory.  Define BINDIR for installing utilities.
CFITSIO and PGPLOT may now also be used for building utilities as well as
the test programs.
@
text
@d58 1
a58 1
#   $Id: makedefs.in,v 4.2.1.3 2007/06/29 06:58:32 cal103 Exp cal103 $
a90 1
  BINDIR  := @@bindir@@
d98 2
a99 2
# The remaining options are only for building utilities and test programs.
# ------------------------------------------------------------------------
d230 1
a230 1
.PHONY : all build show_all
d232 1
a232 1
all : show_all build
a252 1
	-@@ echo '  BINDIR      := $(BINDIR)'
d257 1
a257 1
	-@@ echo 'To build utilities and test programs...'
@


4.2.1.5
log
@Moved the FLAVOUR overrides into a separate file.  Moved the Flex-related
variables up into the main section as Flex is now required.  Added a
printenv target.
@
text
@d58 1
a58 1
#   $Id: makedefs.in,v 4.2.1.4 2007/07/03 08:47:20 cal103 Exp cal103 $
a66 4
# Flex and options.
  FLEX     := flex
  FLFLAGS  :=

d120 3
d126 103
d230 2
a231 1
.PHONY : all build printenv show_all
a234 3
printenv :
	-@@ printenv | sort

a242 2
	-@@ echo '  FLEX        := $(FLEX)'
	-@@ echo '  FLFLAGS     := $(FLFLAGS)'
d268 6
a273 3

# Code development overrides, for use in the code subdirectories.
-include ../flavours
@


4.2.1.6
log
@Added definitions for building shared libraries with accompanying prologue
notes.
@
text
@d8 1
a8 2
#      printenv:  Print the environment as seen within makefile rules.
#      show_all:  Print the values of all makefile variables used.
d23 1
a23 2
#            as libsunmath (you will also need to add the library to the LIBS
#            variable below):
d29 1
a29 1
#            WCSTRIG := MACRO
d31 1
a31 16
#      3) Variables for creating the shared (dynamic) library are currently
#         only set by 'configure' if the GNU C compiler is used.  However,
#         you can set these variables by hand, preferably in makedefs.in.
#
#         Shared libraries require position-indepent code (PIC) which imposes
#         a performance overhead.  Consequently the static libraries are
#         compiled separately without this option.
#
#         The shared library will be installed with version number, e.g. as
#         libwcs.so.4.3 or libwcs.4.3.dylib with or without the symlink
#         required to make it visible to the linker (controlled by the SHRLN
#         variable).  On Macs it is deliberately not created because its very
#         existence precludes static linking with the cctools linker.
#         Instead, you could link dynamically by using -lwcs.4.3.
#
#      4) PGPLOT is Tim Pearson's Fortran graphics library with separate C
d43 1
a43 1
#      5) CFITSIO is Bill Pence's FITS I/O library written in C with Fortran
d58 1
a58 1
#   $Id: makedefs.in,v 4.2.1.5 2007/07/04 06:30:21 cal103 Exp cal103 $
d76 2
a77 2
  CC       := @@CC@@
  CFLAGS   := @@CFLAGS@@
d80 2
a81 2
  FC       := @@F77@@
  FFLAGS   := @@FFLAGS@@
d83 3
a85 9
# Static object library.
  LIBWCS   := libwcs-$V.a
  RANLIB   := @@RANLIB@@

# Shared (dynamic) library (see note 3 above).
  SHRLIB   := @@SHRLIB@@
  SHRFLAGS := @@SHRFLAGS@@
  SHRLD    := @@SHRLD@@
  SHRLN    := @@SHRLN@@
d88 2
a89 2
  LN_S     := @@LN_S@@
  INSTALL  := @@INSTALL@@
d91 1
a91 1
  prefix   := @@prefix@@
d94 4
a97 4
  LIBDIR   := @@libdir@@
  BINDIR   := @@bindir@@
  INCDIR   := @@includedir@@/$(WCSLIBV)
  INCLINK  := @@includedir@@/wcslib
d100 1
a100 1
  TIMER    := date +"%a %Y/%m/%d %X %z, executing on $$HOST"
d103 2
a104 2
# The remaining options are for building utilities and test programs.
# -------------------------------------------------------------------
d109 1
a109 1
# PGPLOT (see note 4 above).
d113 1
a113 1
# CFITSIO (see note 5 above).
a152 4
	-@@ echo '  SHRLIB      := $(SHRLIB)'
	-@@ echo '  SHRFLAGS    := $(SHRFLAGS)'
	-@@ echo '  SHRLD       := $(SHRLD)'
	-@@ echo '  SHRLN       := $(SHRLN)'
@


4.2.1.7
log
@Define FLIBS.
@
text
@d75 1
a75 1
#   $Id: makedefs.in,v 4.2.1.6 2007/07/05 04:37:25 cal103 Exp cal103 $
a139 3
# Libraries required by the above Fortran compiler.
  FLIBS := @@FLIBS@@

a194 1
	-@@ echo '  FLIBS       := $(FLIBS)'
@


4.2.1.8
log
@Define GETWCSTAB and updated the prologue notes for CFITSIO.
@
text
@d4 1
a4 2
#   makedefs is generated from makedefs.in by configure.  It contains variable
#   definitions and some general-purpose rules for building WCSLIB.
d63 5
a67 6
#         CFITSIO is required to compile test programs twcstab and twcshdr.
#         These use fits_read_wcstab() which is implemented by getwcstab.c.
#         However, this implementation is included in CFITSIO post 3.004beta,
#         so getwcstab.c is required here only for older releases (controlled
#         by variable GETWCSTAB).  getwcstab.o itself is not inserted into the
#         WCSLIB object library.
d70 1
a70 1
#         tfitshdr, tbth1, tpih1 and tpih2 by setting preprocessor macro
d75 1
a75 1
#   $Id: makedefs.in,v 4.2.1.7 2007/07/05 07:19:26 cal103 Exp cal103 $
a138 1
  GETWCSTAB  := @@GETWCSTAB@@
a197 1
	-@@ echo '  GETWCSTAB   := $(GETWCSTAB)'
@


4.2.1.9
log
@FLEX is now set by 'configure'.
@
text
@d77 1
a77 1
#   $Id: makedefs.in,v 4.2.1.8 2007/07/06 07:12:05 cal103 Exp cal103 $
d87 1
a87 1
  FLEX     := @@FLEX@@
@


4.2.1.10
log
@Report the value of MAKEFLAGS in 'show_all'.
@
text
@d77 1
a77 1
#   $Id: makedefs.in,v 4.2.1.9 2007/07/09 06:51:43 cal103 Exp cal103 $
a168 1
	-@@ echo '  MAKEFLAGS   := $(MAKEFLAGS)'
@


4.2.1.11
log
@CPP is now set by 'configure'.
@
text
@d77 1
a77 1
#   $Id: makedefs.in,v 4.2.1.10 2007/07/11 02:24:03 cal103 Exp cal103 $
d90 1
a90 2
# C preprocessor and options.
  CPP      := @@CPP@@
a174 1
	-@@ echo '  CPP         := $(CPP)'
@


0.0
log
@Empty revision
@
text
@d1 263
@
