File: psml.mk.in

package info (click to toggle)
libpsml 2.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,048 kB
  • sloc: f90: 3,888; makefile: 211; pascal: 166; sh: 76
file content (35 lines) | stat: -rw-r--r-- 1,008 bytes parent folder | download
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
ifdef PSML_H__
$(info multiple inclusion of psml.mk...)
else
  PSML_H__=1

# libPSML helper mk
#
# In order to hide the structure of this hierarchy, this file
# will export the needed symbols for a client.
#
# All you need is to define PSML_ROOT in your makefile
# to point to your installation of the libPSML library.
#
#----------------------------------------------------------
#
# Include a pointer to the XMLF90 libs.
# This is the actual xmlf90 library present at the time of
# compilation of libPSML if the client program does not
# define the XMLF90_ROOT variable. Otherwise, it is the
# library in the user-specified directory
#
PSML_XMLF90_ROOT = NONE
PSML_ROOT_BUILD  = @prefix@
#
ifndef XMLF90_ROOT
 XMLF90_ROOT = $(PSML_XMLF90_ROOT)
 include $(XMLF90_ROOT)/xmlf90.mk
 PSML_INCFLAGS = -I$(PSML_ROOT_BUILD)/include 
 PSML_LIBS     = $(PSML_ROOT_BUILD)/lib/libpsml.a $(XMLF90_LIBS)
else
 PSML_INCFLAGS = -I$(PSML_ROOT_BUILD)/include 
 PSML_LIBS     = $(PSML_ROOT_BUILD)/lib/libpsml.a
endif
#
endif