<commit_before># Module.mk for xrootd module
# Copyright (c) 2000 <NAME> and <NAME>
#
# Author: <NAME>, 27/7/2004

MODDIR     := xrootd
MODDIRS    := $(MODDIR)/src

XROOTDVERS := xrootd-20040907-0403
XROOTDDIR  := $(MODDIR)
XROOTDDIRS := $(MODDIRS)
XROOTDDIRD := $(MODDIRS)/xrootd
XROOTDDIRI := $(MODDIRS)/xrootd/src
XROOTDSRCS := $(MODDIRS)/$(XROOTDVERS).src.tgz

##### Xrootd libs for use in netx #####
ifeq (debug,$(findstring debug,$(ROOTBUILD)))
XRDDBG      = "--build=debug"
else	    
XRDDBG      =
endif	    
XRDLIBDIR   = $(XROOTDDIRD)/lib
XRDPLUGINS  = $(wildcard $(XRDLIBDIR)/libXrd*.$(SOEXT))
XRDSECLIB   = -Llib -lXrdSec

##### Xrootd executables #####
XOLBDA     := $(XROOTDDIRD)/bin/olbd
XROOTDA    := $(XROOTDDIRD)/bin/xrootd
XOLBD      := bin/olbd
XROOTD     := bin/xrootd

ALLEXECS   += $(XROOTD)

##### local rules #####
$(XROOTD): $(XROOTDA)
		cp $< $@
		cp $(XOLBDA) $(XOLBD)
		cp $(XRDPLUGINS) $(LPATH)/

$(XROOTDA): $(XROOTDSRCS)
		@(if [ -d $(XROOTDDIRD) ]; then \
			rm -rf $(XROOTDDIRD); \
		fi; \
		echo "*** Building $@..."; \
		cd $(XROOTDDIRS); \
		if [ ! -d xrootd ]; then \
			if [ "x`which gtar 2>/dev/null | awk '{if ($$1~/gtar/) print $$1;}'`" != "x" ]; then \
				gtar zxf $(XROOTDVERS).src.tgz; \
			else \
				gunzip -c $(XROOTDVERS).src.tgz | tar xf -; \
			fi; \
		fi; \
		RELE=`uname -r`; \
                case "$(ARCH):$$RELE" in \
		freebsd*:*)      xopt="--ccflavour=gcc";; \
		linuxicc:*)      xopt="--ccflavour=icc --use-xrd-strlcpy";; \
		linuxia64ecc:*)  xopt="--ccflavour=icc --use-xrd-strlcpy";; \
		linuxx8664gcc:*) xopt="--ccflavour=gccx8664 --use-xrd-strlcpy";; \
		linuxx8664icc:*) xopt="--ccflavour=iccx8664 --use-xrd-strlcpy";; \
		linux*:*)        xopt="--ccflavour=gcc --use-xrd-strlcpy";; \
		macos*:*)        xopt="--ccflavour=macos";; \
		solarisgcc:5.8)  xopt="--ccflavour=gcc";; \
		solaris*:5.8)    xopt="--ccflavour=sunCC";; \
		solarisgcc:5.9)  xopt="--ccflavour=gcc";; \
		solaris*:5.9)    xopt="--ccflavour=sunCC";; \
		solarisgcc:*)    xopt="--ccflavour=gcc --use-xrd-strlcpy";; \
		solaris*:*)      xopt="--ccflavour=sunCC  --use-xrd-strlcpy";; \
                *)               xopt="";; \
		esac; \
		if [ "x$$KRB5LIB" = "x" ] ; then \
		   xopt="$$xopt --disable-krb4 --disable-krb5"; \<commit_msg>From Gerri: here was a typo in xroodt/Module.mk preventing kerberos modules to be build in xrootd.<commit_after># Module.mk for xrootd module
# Copyright (c) 2000 <NAME> and <NAME>
#
# Author: <NAME>, 27/7/2004

MODDIR     := xrootd
MODDIRS    := $(MODDIR)/src

XROOTDVERS := xrootd-20040907-0403
XROOTDDIR  := $(MODDIR)
XROOTDDIRS := $(MODDIRS)
XROOTDDIRD := $(MODDIRS)/xrootd
XROOTDDIRI := $(MODDIRS)/xrootd/src
XROOTDSRCS := $(MODDIRS)/$(XROOTDVERS).src.tgz

##### Xrootd libs for use in netx #####
ifeq (debug,$(findstring debug,$(ROOTBUILD)))
XRDDBG      = "--build=debug"
else	    
XRDDBG      =
endif	    
XRDLIBDIR   = $(XROOTDDIRD)/lib
XRDPLUGINS  = $(wildcard $(XRDLIBDIR)/libXrd*.$(SOEXT))
XRDSECLIB   = -Llib -lXrdSec

##### Xrootd executables #####
XOLBDA     := $(XROOTDDIRD)/bin/olbd
XROOTDA    := $(XROOTDDIRD)/bin/xrootd
XOLBD      := bin/olbd
XROOTD     := bin/xrootd

ALLEXECS   += $(XROOTD)

##### local rules #####
$(XROOTD): $(XROOTDA)
		cp $< $@
		cp $(XOLBDA) $(XOLBD)
		cp $(XRDPLUGINS) $(LPATH)/

$(XROOTDA): $(XROOTDSRCS)
		@(if [ -d $(XROOTDDIRD) ]; then \
			rm -rf $(XROOTDDIRD); \
		fi; \
		echo "*** Building $@..."; \
		cd $(XROOTDDIRS); \
		if [ ! -d xrootd ]; then \
			if [ "x`which gtar 2>/dev/null | awk '{if ($$1~/gtar/) print $$1;}'`" != "x" ]; then \
				gtar zxf $(XROOTDVERS).src.tgz; \
			else \
				gunzip -c $(XROOTDVERS).src.tgz | tar xf -; \
			fi; \
		fi; \
		RELE=`uname -r`; \
                case "$(ARCH):$$RELE" in \
		freebsd*:*)      xopt="--ccflavour=gcc";; \
		linuxicc:*)      xopt="--ccflavour=icc --use-xrd-strlcpy";; \
		linuxia64ecc:*)  xopt="--ccflavour=icc --use-xrd-strlcpy";; \
		linuxx8664gcc:*) xopt="--ccflavour=gccx8664 --use-xrd-strlcpy";; \
		linuxx8664icc:*) xopt="--ccflavour=iccx8664 --use-xrd-strlcpy";; \
		linux*:*)        xopt="--ccflavour=gcc --use-xrd-strlcpy";; \
		macos*:*)        xopt="--ccflavour=macos";; \
		solarisgcc:5.8)  xopt="--ccflavour=gcc";; \
		solaris*:5.8)    xopt="--ccflavour=sunCC";; \
		solarisgcc:5.9)  xopt="--ccflavour=gcc";; \
		solaris*:5.9)    xopt="--ccflavour=sunCC";; \
		solarisgcc:*)    xopt="--ccflavour=gcc --use-xrd-strlcpy";; \
		solaris*:*)      xopt="--ccflavour=sunCC  --use-xrd-strlcpy";; \
                *)               xopt="";; \
		esac; \
		if [ "x$(KRB5LIB)" = "x" ] ; then \
		   xopt="$$xopt --disable-krb4 --disable-krb5"; \
{'fraction_non_alphanumeric': 0.2265658747300216, 'fraction_numerical': 0.023758099352051837, 'mean_word_length': 2.811522633744856, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1153029', 'n_tokens_mistral': 2260, 'n_tokens_neox': 2034, 'n_words': 339}