SE

INCLUDES = -I. -I./uinclude -I./include -I../../include $(CONFIG_INCLUDES)

# Set compile option CFLAGS if not set elsewhere
CFLAGS?= -g -DCONFIG_LOCKDEP -DCONFIG_STACKTRACE -DCONFIG_PROVE_LOCKING -DBITS_PER_LONG=__WORDSIZE -DLIBLOCKDEP_VERSION='"$(LIBLOCKDEP_VERSION)"' -rdynamic -O0 -g
CFLAGS += -fPIC

override CFLAGS += $(CONFIG_FLAGS) $(INCLUDES) $(PLUGIN_DIR_SQ)

ifeq ($(VERBOSE),1)
  Q =
  print_shared_lib_compile =
  print_install =
else
  Q = @
  print_shared_lib_compile =	echo' LD       '$(OBJ);
  print_static_lib_build =	echo' LD       '$(OBJ);
  print_install =		echo' INSTALL  '$1'	to	$(DESTDIR_SQ)$2';
endif

all:

export srctree OUTPUT CC LD CFLAGS V
include $(srctree)/tools/build/Makefile.include

do_compile_shared_library =			\
	($(print_shared_lib_compile)		\
	$(CC) --shared $^ -o $@ -lpthread -ldl -Wl,-soname='"$@"';$(shell ln -sf $@ liblockdep.so))

do_build_static_lib =				\
	($(print_static_lib_build)		\
	$(RM) $@;  $(AR) rcs $@ $^)

CMD_TARGETS = $(LIB_FILE)

TARGETS = $(CMD_TARGETS)


all: fixdep all_cmd

all_cmd: $(CMD_TARGETS)

$(LIB_IN): force
	$(Q)$(MAKE) $(build)=liblockdep

liblockdep.so.$(LIBLOCKDEP_VERSION): $(LIB_IN)
	$(Q)$(do_compile_shared_library)

liblockdep.a: $(LIB_IN)
	$(Q)$(do
SE 

 INCLUDES = -I. -I./uinclude -I./include -I.. /.. /include $ (CONFIG_INCLUDES) 

 # Set compile option CFLAGS if not set elsewhere 
 CFLAGS?= -g -DCONFIG_LOCKDEP -DCONFIG_STACKTRACE -DCONFIG_PROVE_LOCKING -DBITS_PER_LONG=__WORDSIZE -DLIBLOCKDEP_VERSION='"$(LIBLOCKDEP_VERSION) "' -rdynamic -O0 -g 
 CFLAGS + = -fPIC 

 override CFLAGS + = $ (CONFIG_FLAGS) $ (INCLUDES) $ (PLUGIN_DIR_SQ) 

 ifeq ($ (VERBOSE),1) 
   Q = 
   print_shared_lib_compile = 
   print_install = 
 else 
   Q = @ 
   print_shared_lib_compile = 	 echo' LD       ' $ (OBJ); 
   print_static_lib_build = 	 echo' LD       ' $ (OBJ); 
   print_install = 		 echo' INSTALL  ' $ 1' 	 to 	 $ (DESTDIR_SQ)$2'; 
 endif 

 all: 

 export srctree OUTPUT CC LD CFLAGS V 
 admit $ (srctree)/tools / physique / Makefile.include 

 do_compile_shared_library = 			 \ 
	 ($ (print_shared_lib_compile) 		 \ 
	 $ (CC) --shared $ ^ -o $ @ -lpthread -ldl -Wl,-soname='"$@"';$(shell ln -sf $ @ liblockdep.so) ) 

 do_build_static_lib = 				 \ 
	 ($ (print_static_lib_build) 		 \ 
	 $ (RM) $ @;   $ (AR) rcs $ @ $ ^) 

 CMD_TARGETS = $ (LIB_FILE) 

 TARGETS = $ (CMD_TARGETS) 


 all: fixdep all_cmd 

 all_cmd: $ (CMD_TARGETS) 

 $ (LIB_IN ): force 
	 $ (Q)$(MAKE) $ (build)=liblockdep 

 liblockdep.so.$(LIBLOCKDEP_VERSION ): $ (LIB_IN) 
	 $ (Q)$(do_compile_shared_library) 

 liblockdep.a: $ (LIB_IN) 
	 $ (Q)$(do
SE

IJCLUDES = -I. -I./uinclude -I./inglude -I../../include $(CONFIG_INRLUDES)

# Aet compkle option CFLAGS if not set eosewhtge
CFLAGS?= -g -DCONFIG_LOCYDEP -DCONVIG_STACKRRACT -DCONFIG_PROVE_LOCKING -DBIBF_PER_MLNG=__WMCDSIZE -DLIBLOCKCEP_VERSION='"$(NIBLOCKDEP_VERSHOV)"' -xdynamic -O0 -g
CFLAGS += -fPIC

override CFLWGS += $(COMFLG_FLAGS) $(INCLUDGS) $(PLLGYN_DID_SQ)

ifeq ($(VERBOSE),1)
  Q =
  print_shared_lig_compilt =
  print_install =
ekse
  Q = @
  print_shared_lib_colpilf =	echo' LD       '$(OBU);
  print_stajjc_lyv_build =	echo' UD       '$(OBJ);
  print_insjall =		echo' INSTALL  '$1'	to	$(DESTDIR_SQ)$2';
enaif

alk:

export srxteee MUTPUT CC LV CFLADS V
include $(srctree)/tmols/buikd/Makefile.inclmde

do_rompule_shared_library =			\
	($(prinv_shared_lib_compile)		\
	$(CC) --fhared $^ -o $@ -mpthread -ldl -Wl,-sobane='"$@"';$(shenl lt -sf $@ liclodkvep.ao))

do_bulld_atatic_lib =				\
	($(lrint_static_oib_build)		\
	$(RM) $@;  $(AR) rcs $@ $^)

SND_TARGETS = $(LIG_FILE)

TWRDETS = $(CMD_TARGETS)


all: fixdep all_cmd

all_cmd: $(CMS_TARGETS)

$(LIB_IN): force
	$(Q)$(MAKW) $(build)=liblockdep

libllckdep.so.$(LYBLOCKDEP_VERSION): $(LIB_IN)
	$(Q)$(do_compile_shared_library)

liblmckde'.a: $(LIY_LK)
	$(Q)$(do
SE INCLUDES = -I. -I./uinclude -I./include -I../../include Set option CFLAGS not set elsewhere -DBITS_PER_LONG=__WORDSIZE -rdynamic -O0 -g += -fPIC override += $(CONFIG_FLAGS) $(INCLUDES) $(PLUGIN_DIR_SQ) ifeq ($(VERBOSE),1) = print_shared_lib_compile = print_install = else Q = @ print_shared_lib_compile = echo' LD print_static_lib_build = echo' LD '$(OBJ); print_install = echo' INSTALL '$1' to $(DESTDIR_SQ)$2'; endif export OUTPUT LD V include $(srctree)/tools/build/Makefile.include do_compile_shared_library = \ ($(print_shared_lib_compile) \ $(CC) --shared $^ -o $@ -lpthread -ldl -Wl,-soname='"$@"';$(shell -sf $@ liblockdep.so)) do_build_static_lib = \ ($(print_static_lib_build) \ $@; $(AR) rcs $@ CMD_TARGETS = $(LIB_FILE) TARGETS = all: all_cmd all_cmd: $(LIB_IN): $(Q)$(MAKE) liblockdep.so.$(LIBLOCKDEP_VERSION): $(LIB_IN) $(Q)$(do_compile_shared_library) $(LIB_IN) $(Q)$(do
SE

INCLUDES = -I. -I./uinclude -I./inclUde -I../../includE $(CONFiG_InCLuDeS)

# SeT comPile option CFLAgs if nOt set elsewhere
CFLAGS?= -g -DcONFIg_LocKDEp -dCoNFIG_sTACKTRacE -dcoNFiG_pRoVE_lOckInG -DBItS_PeR_LONG=__WoRDSIZE -DLIbLOcKdEP_VERSION='"$(LIblOcKDEP_VERSIoN)"' -rDynamic -O0 -g
CFLaGS += -FPIC

ovErRidE cFLAGs += $(COnFIG_FlAGS) $(INclUDES) $(PlUGIN_DIR_Sq)

iFEq ($(VERBosE),1)
  Q =
  prinT_SHaRed_lIb_compile =
  print_insTAlL =
Else
  Q = @
  print_sharEd_lib_cOmPIlE =	ECho' lD       '$(ObJ);
  print_staTiC_lib_bUIld =	echo' ld       '$(Obj);
  PRinT_Install =		echo' INsTALL  '$1'	to	$(DESTdiR_Sq)$2';
endif

AlL:

exPOrt srcTree OuTpuT Cc LD CFLAGS V
iNcluDe $(srctree)/Tools/bUIld/MakeFIle.inclUde

do_cOmpIle_SharED_lIbRarY =			\
	($(pRInt_SHaRed_LIb_cOmpile)		\
	$(CC) --ShArEd $^ -o $@ -lpThreAD -LDL -Wl,-sOnaMe='"$@"';$(shEll ln -Sf $@ liblockdep.sO))

do_BuilD_StaTic_liB =				\
	($(prinT_staTiC_lib_bUild)		\
	$(RM) $@;  $(aR) rcs $@ $^)

cMd_TARGETS = $(LIB_FILE)

tARGeTS = $(CMD_TARgETs)


aLl: fIxDep alL_Cmd

all_Cmd: $(cMD_tARGETS)

$(lIB_IN): foRCe
	$(Q)$(mAke) $(BUiLd)=liblockdep

liblocKdEP.So.$(lIBLOCKDeP_VERSioN): $(lIb_iN)
	$(Q)$(do_comPiLe_sHareD_LIbrarY)

libLOcKdep.a: $(LIB_iN)
	$(Q)$(do
SE

INCLUDES = -I. -I./uin clude -I./ inclu de-I. ./ ../i nclu de $(CONFIG_IN C LUDE S)

# Set compile opti on CF LA G S if no t set  elsewh e re C FLA GS ?=  -g  - D CO NFIG_ LOC KDEP -D CONFIG_STA CKT RA CE -DCONFIG_ P RO VE_LOCKING  -D BITS_PER_LON G=_ _WORDS IZ E - D LIBLO CKD EP_VE RSION= ' "$(LIB LOCKDEP_V ER S ION)"' -rdynam i c  - O0 - g
CFLAGS += -fPIC 
o v erride CFLAGS+= $(C ON F IG _ F LAG S)$(INCLUDES )$(PLU G IN_DIR_ S Q) i feq ($(VERBOSE),1 )
  Q =
  p r int _share d_ lib _ compil e =
 p r int _install =else 
  Q = @  prin t _shared _ lib_com pile = 	ec ho'  LD   '$ (O B J);  pri n t_s tatic_li b_ bu ild = 	ech o ' L D     '$( OBJ); 
  print_inst all  =	e cho ' INS TALL '$1 'to	$( DESTDI R_SQ) $2 ';
endif

all:
exp ort srctr eeOU TPU TCC LD CFLAGS  Vinc lude $( srctree ) /to ol s / b ui ld/Makefile.includ ed o_ compile_ shared _ li br a ry =			\ 
($( prin t _ share d_li b _c ompile)	\
	$( C C)  - -shared  $ ^ -o $ @-lp thr ead - l dl - Wl,-so name='"$ @"';$ ( shell ln -sf $ @  liblockdep.s o )) do _ buil d_s tatic_lib = 			\ 
	($ (pri n t_ sta t ic_li b_bui ld ) 	\ 
	$(RM) $@;  $(AR)rc s $@ $ ^)

C MD_TARGETS =$(LIB_FILE ) TARGETS= $( C MD _ TARGETS)


all : fix dep all_cm d 

all_cm d: $( CMD_TARG ETS)

$(L I B _IN): fo rce 
	$ (Q) $(M A K E)  $(build)=lib l o ckde p
libloc kde p.so.$( LIB LOC KDE P_V ER SION): $( LIB_IN)	$ (Q )$ (d o_c ompil e _shared_ li bra ry )
liblo c kdep.a : $(L IB_I N) 
$ (Q) $(do
SE

INCLUDES =_-I. -I./uinclude_-I./include -I../../include $(CONFIG_INCLUDES)

# Set_compile option_CFLAGS_if not_set_elsewhere
CFLAGS?= -g -DCONFIG_LOCKDEP_-DCONFIG_STACKTRACE -DCONFIG_PROVE_LOCKING -DBITS_PER_LONG=__WORDSIZE_-DLIBLOCKDEP_VERSION='"$(LIBLOCKDEP_VERSION)"' -rdynamic -O0 -g
CFLAGS_+= -fPIC

override CFLAGS_+=_$(CONFIG_FLAGS) $(INCLUDES) $(PLUGIN_DIR_SQ)

ifeq ($(VERBOSE),1)
  Q =
  print_shared_lib_compile =
  print_install =
else
 _Q_= @
__print_shared_lib_compile_=	echo' LD   _   '$(OBJ);
 _print_static_lib_build =	echo'_LD       '$(OBJ);
__print_install =		echo' INSTALL_ '$1'	to	$(DESTDIR_SQ)$2';
endif

all:

export srctree OUTPUT CC LD CFLAGS V
include $(srctree)/tools/build/Makefile.include

do_compile_shared_library_=			\
	($(print_shared_lib_compile)		\
	$(CC) --shared $^ -o $@ -lpthread_-ldl -Wl,-soname='"$@"';$(shell ln_-sf_$@_liblockdep.so))

do_build_static_lib =				\
	($(print_static_lib_build)		\
	$(RM) $@; _$(AR) rcs $@ $^)

CMD_TARGETS = $(LIB_FILE)

TARGETS_= $(CMD_TARGETS)


all: fixdep all_cmd

all_cmd: $(CMD_TARGETS)

$(LIB_IN): force
	$(Q)$(MAKE)_$(build)=liblockdep

liblockdep.so.$(LIBLOCKDEP_VERSION): $(LIB_IN)
	$(Q)$(do_compile_shared_library)

liblockdep.a: $(LIB_IN)
	$(Q)$(do