File: Makefile.am

package info (click to toggle)
mpsolve 3.2.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 13,100 kB
  • sloc: ansic: 25,748; sh: 4,925; cpp: 3,155; makefile: 914; python: 407; yacc: 158; lex: 85; xml: 41
file content (32 lines) | stat: -rw-r--r-- 823 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
if BUILD_EXAMPLES

#
# FORTRAN library
#
lib_LTLIBRARIES = libmps-fortran.la
libmps_fortran_la_FCFLAGS  = -I${top_srcdir}/include -I${top_builddir}/include -fPIC
libmps_fortran_la_CFLAGS  = -I${top_srcdir}/include -I${top_builddir}/include -fPIC
libmps_fortran_la_SOURCES = mps_impl.c 
libmps_fortran_la_LIBADD = ${top_builddir}/src/libmps/libmps.la
libmps_fortran_la_LDFLAGS = \
	-version-info 0:1:0 \
	-no-undefined

# include_HEADERS = mps.mod

# CLEANFILES = *.mod

#
# Simple example to check if the library works OK
#
if WINDOWS_BUILD
	noinst_PROGRAMS = roots_of_unity
	roots_of_unity_SOURCES = roots_of_unity.f90 dummy.cpp
	roots_of_unity_LDADD = libmps-fortran.la -lgfortran
else
	noinst_PROGRAMS = roots_of_unity
	roots_of_unity_SOURCES = roots_of_unity.f90
	roots_of_unity_LDADD = libmps-fortran.la 
endif

endif