File: Makefile.am

package info (click to toggle)
netcdf-parallel 1%3A4.9.3-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 116,192 kB
  • sloc: ansic: 279,265; sh: 14,143; cpp: 5,971; yacc: 2,612; makefile: 2,075; lex: 1,218; javascript: 280; xml: 173; awk: 2
file content (44 lines) | stat: -rw-r--r-- 1,199 bytes parent folder | download | duplicates (4)
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
# Copyright 2009, UCAR/Unidata
# See the COPYRIGHT file for more information.

# Use automake or CMake for building under nix
# Use CMake for building under windows

# Get AM_CPPFLAGS and AM_LDFLAGS
include $(top_srcdir)/lib_flags.am
#AM_CPPFLAGS += -D_LARGEFILE_SOURCE
#AM_CPPFLAGS += -I$(top_srcdir)/libsrc4 -I$(top_srcdir)/libdap4
#libnczarr_la_CPPFLAGS = ${AM_CPPFLAGS}
AM_CXXFLAGS = 

# This is our output. The ZARR convenience library.
noinst_LTLIBRARIES = libncpoco.la
libncpoco_la_LIBADD =
libncpoco_la_LDFLAGS =

libncpoco_la_SOURCES = ncpoco.c ncpoco.h
if ! ISMSVC 
if ! ISMINGW 
libncpoco_la_SOURCES += cp_unix.c
else
libncpoco_la_SOURCES += cp_win32.c
endif
else
libncpoco_la_SOURCES += cp_win32.c
endif

EXTRA_DIST = CMakeLists.txt README.md COPYRIGHT

##################################################
# Testing
# check_LTLIBRARIES = libcpt.la
# libcpt_la_SOURCES = cptestlib.c
# 
# # Normally check libraries are created only as archives,
# # but we need a shared lib. This appears to do the trick
# libcpt_la_LDFLAGS = -module -avoid-version -shared -export-dynamic -no-undefined -rpath ${abs_builddir}
# 
# AM_LDFLAGS += libcpoco.la
# check_PROGRAMS = cp_test
# TESTS = cp_test
#