File: Makefile.am

package info (click to toggle)
lcmaps 1.6.6-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 4,016 kB
  • ctags: 1,428
  • sloc: sh: 11,191; ansic: 9,519; makefile: 530; lex: 184; perl: 92; yacc: 60
file content (128 lines) | stat: -rw-r--r-- 5,114 bytes parent folder | download | duplicates (5)
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
#       Copyright (c) Members of the EGEE Collaboration. 2004.
#       See http://eu-egee.org/partners/ for details on the copyright holders.
#       For license conditions see the license file or
#       http://eu-egee.org/license.html
#
#       Authors: Martijn Steenbakkers <martijn@nikhef.nl>
#
#       Version info: $Id: Makefile.am 16922 2013-02-27 13:09:12Z msalle $
#       Release: $Name: not supported by cvs2svn $
#
#       Revision history:
#       $Log: not supported by cvs2svn $
#       Revision 1.15  2010/08/05 21:04:16  okoeroo
#       Restored the configure.ac and Makefile.am to a working state. The --with-headers-only configure option is not functional in this check-in.
#
#       Added the optional define (disabled by default) DEPRECATED_VOMS_VERSION_CHECK. The define will be removed eventually including the code it encapsulates.
#       When enabled LCMAPS will try to call the removed get*VersionNumber() functions from the vomsapi. This is not the case as there is a name clash with the same function names exposed by the LCAS framework.
#
#       The version check was used to determine if the VOMS api version was higher then 1.7.0 at run-time, and if true LCMAPS would also extract the VOMS Generic Attributes from the VOMS ACs. As we've progressed well passed the 1.7.0 version of the VOMS api, the deprication of the function in the VOMS api and the fact that in its absence the LCAS version of the function could have screwed up with this check in random cases, this code is now made depricated.
#
#       Revision 1.14  2006/09/21 14:11:51  okoeroo
#       *** Don't use this version in Tagging ***
#
#
#       For OSG:
#
#       Searching the environment for the "LCMAPS_VOMS_EXTRACT" and the "disabled" value this will not kill the VOMS parsing all together (or actually bypassing the routines).
#       Instead it will gently extract all the VOMS Attributes and set the VOMS_SetVerificationType(VERIFY_NONE, vd, &errNo) to not verify the credentials.
#
#
#       Thus offloading the trust in the credentials to be checked elsewhere in a database that has extracted a VOMS Database in great detail (The GUMS system) giving the mapping controle to a site operator in a totally different way as we do in LCMAPS.
#
#       Revision 1.13  2004/10/13 16:37:57  msteenba
#       Hopefully added all license lines in lcmaps sources
#
#       Revision 1.12  2004/10/08 16:33:19  msteenba
#       Version 1.0 --> 1.1
#       Moved the globus_gss_assist_gridmap() legacy interface to lcmaps-interface
#       Cleaned up (interface) code
#       Moved the (plugin) headers from lcmaps-interface to lcmaps
#
#       Revision 1.11  2004/09/17 15:14:39  msteenba
#       Added LICENSE files, READMEs etc. to the package
#
#       Revision 1.10  2004/09/14 14:32:11  msteenba
#       added project directory
#       added LICENSE, configure.ac, bootstrap files
#       moved example plugin
#       cleaned up Makefile.am files
#
#
#

## Default flags to run aclocal
ACLOCAL_AMFLAGS = -I project


## Process this file with automake to produce Makefile.in

## Subdirectories list
if ENABLE_HEADERS
SUBDIRS = interface doc
else
SUBDIRS = src examples doc interface etc
endif

EXTRA_DIST = \
	bootstrap \
	BUGS \
	Doxyfile


# AM_CFLAGS += "-D osggums";


stage:
	@set fnord $(MAKEFLAGS); amf=$$2; \
	dot_seen=no; \
        target="install"; \
	prefix_arg="prefix=$(WORKDIR)/../../stage"; \
        list='$(SUBDIRS)'; for subdir in $$list; do \
          echo "Making $$target $$prefix_arg in $$subdir"; \
          if test "$$subdir" = "."; then \
            dot_seen=yes; \
            local_target="$$target-am"; \
          else \
            local_target="$$target"; \
          fi; \
          (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target $$prefix_arg) \
           || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
        done; \
        if test "$$dot_seen" = "no"; then \
          $(MAKE) $(AM_MAKEFLAGS) "$$target-am" $$prefix_arg || exit 1; \
        fi; test -z "$$fail"

distsrc: dist
	mv $(distdir).tar.gz $(DISTBIN)/$(distdir)_src.tar.gz

distbin:
	@set fnord $(MAKEFLAGS); amf=$$2; \
        dot_seen=no; \
        target="install"; \
	tmpdistbin="$(WORKDIR)/dist_bin"; \
        prefix_arg="prefix=$$tmpdistbin"; \
        list='$(SUBDIRS)'; for subdir in $$list; do \
          echo "Making $$target $$prefix_arg in $$subdir"; \
          if test "$$subdir" = "."; then \
            dot_seen=yes; \
            local_target="$$target-am"; \
          else \
            local_target="$$target"; \
          fi; \
          (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target $$prefix_arg) \
           || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
        done; \
        if test "$$dot_seen" = "no"; then \
          $(MAKE) $(AM_MAKEFLAGS) "$$target-am" $$prefix_arg || exit 1; \
        fi; test -z "$$fail"; \
	pushd $$tmpdistbin; \
	$(AMTAR) -zcf $(DISTBIN)/$(distdir)_bin.tar.gz .; \
	popd; \
	rm -rf $$tmpdistbin

doc: Doxyfile
	@if [ ! -d doc/autogen ]; then \
		mkdir -p doc/apidoc; \
	fi;
	doxygen Doxyfile