-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathGNUmakefile.am
More file actions
44 lines (40 loc) · 976 Bytes
/
GNUmakefile.am
File metadata and controls
44 lines (40 loc) · 976 Bytes
1
2
3
4
5
6
7
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
# G N U m a k e f i le . a m
#+
# File:
# GNUmakefile.am
#
# Function:
# Gnu automake source file for nswc.
#
# Description:
# This file is an experimental GNU automake source for the 2dFdr
# nswc library.
#
# Builds the libnswc.a library.
#
# Author: Tony Farrell
#
# Copyright (c) Anglo-Australian Telescope Board, 2009.
# Not to be used for commercial purposes without AATB permission.
#
# @(#) $Id$
#
# History:
# 25-Aug-2009 - TJF - Original version.
# 24-Jan-2011 - TJF - Include Makefile.2dfdr_rules, to pick up
# fortran rules.
#
#-
include ../Makefile.2dfdr_rules
AM_FFLAGS += -std=legacy
# Enable -fPIC to support twodfdr Python module
AM_FCFLAGS += -fPIC
AM_CFLAGS += -fPIC
AM_CXXFLAGS += -fPIC
AM_FFLAGS += -fPIC
#
# Build the nswc library. We don't want to install it - 2dFdr will link
# to the version built in this directory
#
noinst_LIBRARIES=libnswc.a
libnswc_a_SOURCES=nswclibr.f