X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=Makefile;h=2fc4409a89ff5818cf3f870fe4dcb71601f59550;hb=b7acbd2d6232f77f6a682b1966acd37e61b9b7b3;hp=09ab7727a193eed813a3cf3c9026336f24c14454;hpb=7e1d74475eeeaace32a4be23e679cca6b3780b74;p=plcapi.git diff --git a/Makefile b/Makefile index 09ab772..2fc4409 100644 --- a/Makefile +++ b/Makefile @@ -4,24 +4,25 @@ # Mark Huang # Copyright (C) 2005 The Trustees of Princeton University # -# $Id: Makefile 793 2007-08-28 15:21:17Z thierry $ +# $Id$ # # Metafiles init := PLC/__init__.py PLC/Methods/__init__.py # Python modules -modules := psycopg2 - -# Temporarily until we can kill the Fedora Core 2 build -curl_vernum := $(shell printf %d 0x$(shell curl-config --vernum)) -pycurl_vernum := $(shell printf %d 0x070d01) # 7.13.1 -pycurl_incompatnum := $(shell printf %d 0x071000) # 7.16.0 -ifeq ($(shell test $(curl_vernum) -ge $(pycurl_vernum) && echo 1),1) -ifeq ($(shell test $(curl_vernum) -ge $(pycurl_incompatnum) && echo 0),1) -modules += pycurl -endif -endif +# see PLCAPI.spec for the settings of modules +# default is : no extra module get built + +## Temporarily until we can kill the Fedora Core 2 build +#curl_vernum := $(shell printf %d 0x$(shell curl-config --vernum)) +#pycurl_vernum := $(shell printf %d 0x070d01) # 7.13.1 +#pycurl_incompatnum := $(shell printf %d 0x071000) # 7.16.0 +#ifeq ($(shell test $(curl_vernum) -ge $(pycurl_vernum) && echo 1),1) +#ifeq ($(shell test $(curl_vernum) -ge $(pycurl_incompatnum) && echo 0),1) +#modules += pycurl +#endif +#endif modules-install := $(foreach module, $(modules), $(module)-install) modules-clean := $(foreach module, $(modules), $(module)-clean)