File: Imakefile

package info (click to toggle)
dpm-postgres 1.7.4.7-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 13,788 kB
  • ctags: 10,782
  • sloc: ansic: 146,136; sh: 13,362; perl: 11,142; python: 5,529; cpp: 5,113; sql: 1,790; makefile: 955; fortran: 113
file content (89 lines) | stat: -rw-r--r-- 2,284 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
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
COMM
COMM  Copyright (C) 2004-2007 by CERN/IT/GD/CT & CNRS/IN2P3/LAL
COMM  All rights reserved
COMM
COMM  @(#)$RCSfile: Imakefile,v $ $Revision: 1.16 $ $Date: 2008/04/14 20:54:51 $ CERN Jean-Philippe Baud
COMM  $Id: Imakefile,v 1.16 2008/04/14 20:54:51 szamsu Exp $

COMM    Make srmv2 tests

GLOBUS_LOCATION=GlobusLocation
#if defined(__STDC__)
GLOBUS_FLAVOUR=GlobusFlavour##pthr
#else
GLOBUS_FLAVOUR=GlobusFlavour/**/pthr
#endif
GLOBUS_LIBS=-lglobus_gssapi_gsi -lglobus_gss_assist
GSOAP_LOCATION=GsoapLocation
GSOAP_VERSION=GsoapVersion
WSDL2H_FLAGS=GsoapWsdl2hFlags
CGSI_GSOAP_LOCATION=CgsiGsoapLocation
SECFLG = -DGFAL_SECURE
SECLIB = -lcgsi_plugin
SOAPFLG = -DWITH_IPV6
RFIOFLG = -DGFAL_ENABLE_RFIO

prefixsrmv2 = 	$(prefix)/test/sbin/

INCLUDES = 	./

COMM######################### FLAGS ##############################

CFLAGS =        $(SECFLG) $(RFIOFLG) $(SOAP_FLG) -I$(INCLUDES)

COMM######################### RULES ##############################

PROGS = 	$(patsubst %.c,%,$(wildcard srm2_test[A-Z]*.c))
PROGOS = 	$(patsubst %.c,%.Osuf,$(wildcard srm2_test[A-Z]*.c))

SCRIPTS = 	srmv2Suite \
		srmv2Stress

SOAP_OBJS =	srmv2C.Osuf \
		srmv2Client.Osuf

PROGSBIN =	$(addprefix $(prefixsrmv2),$(PROGS) $(SCRIPTS))

all: $(PROGS)

srmv2H.h srmv2Stub.h srmv2C.c srmv2Client.c srmSoapBinding.nsmap: srm.v2.1.1.h
	$(GSOAP_LOCATION)/bin/soapcpp2 -c -p srmv2 srm.v2.1.1.h
srm.v2.1.1.h: srm.v2.1.1.wsdl
	$(GSOAP_LOCATION)/bin/wsdl2h $(WSDL2H_FLAGS) -c -e -y -t typemap.dat srm.v2.1.1.wsdl

install:	$(PROGSBIN)

install.man:

$(prefixsrmv2)%: %
	cp $? $@

$(PROGS): %: %.Osuf $(SOAP_OBJS) $(DEPLIBS)
###	@echo "========================g" $@
	$(CC) -o $@ $(LDFLAGS) $< $(SOAP_OBJS) $(LIBS) $(SECLIB) -lgsoap

COMM###################### CLEANING RULES ########################

clean:
	-@RemoveFiles(*.Osuf *H.h *Object.h *Proxy.h *Stub.h *C.c *Client.c *Lib.c *Server.c *.nsmap *.xml srm.v2.1.1.h)

clobber: clean
	-@RemoveFiles($(PROGS))

#if _WIN32
depend:
	@echo Not supported on this platform
#else
depend:
	makedepend -Y$(INCLUDES) *.c 2> /dev/null
#endif

Makefiles:

FORCE:

COMM###################### DEPENDENCIES ##########################

$(PROGOS): srmv2H.h srmSoapBinding.nsmap parsesurl.ic soapcallns1.ic

COMM DO NOT DELETE THIS LINE -- make  depend  depends  on  it.