Makefile (4cb69ecc9330774c8f56042ac933503123f50a85) | Makefile (7b07063d906859b2be1e88791f801b3c96e432f6) |
---|---|
1# 2# CDDL HEADER START 3# 4# The contents of this file are subject to the terms of the 5# Common Development and Distribution License (the "License"). 6# You may not use this file except in compliance with the License. 7# 8# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE --- 461 unchanged lines hidden (view full) --- 470 $(RPCGEN) $(RPCGENFLAGS) ../uts/common/sys/lvm/mhdx.x | \ 471 $(AWK) '/<synch.h>/ { print "#ifdef _REENTRANT"; print $$0; print "#endif\t/* _REENTRANT */"; next } \ 472 /<thread.h>/ { print "#ifdef _REENTRANT"; print $$0; print "#endif\t/* _REENTRANT */"; next } \ 473 { print $0 } \ 474 ' > $@ 475 476mdiox.h: ../uts/common/sys/lvm/mdiox.x 477 $(RPCGEN) $(RPCGENFLAGS) ../uts/common/sys/lvm/mdiox.x | \ | 1# 2# CDDL HEADER START 3# 4# The contents of this file are subject to the terms of the 5# Common Development and Distribution License (the "License"). 6# You may not use this file except in compliance with the License. 7# 8# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE --- 461 unchanged lines hidden (view full) --- 470 $(RPCGEN) $(RPCGENFLAGS) ../uts/common/sys/lvm/mhdx.x | \ 471 $(AWK) '/<synch.h>/ { print "#ifdef _REENTRANT"; print $$0; print "#endif\t/* _REENTRANT */"; next } \ 472 /<thread.h>/ { print "#ifdef _REENTRANT"; print $$0; print "#endif\t/* _REENTRANT */"; next } \ 473 { print $0 } \ 474 ' > $@ 475 476mdiox.h: ../uts/common/sys/lvm/mdiox.x 477 $(RPCGEN) $(RPCGENFLAGS) ../uts/common/sys/lvm/mdiox.x | \ |
478 $(NAWK) '{sub(/sys\/lvm\/md_mhdx/, "mhdx"); print $$0}' | \ 479 $(NAWK) '{sub(/sys\/lvm\/md_basic/, "meta_basic"); print $$0}' | \ | 478 $(AWK) '{sub(/sys\/lvm\/md_mhdx/, "mhdx"); print $$0}' | \ 479 $(AWK) '{sub(/sys\/lvm\/md_basic/, "meta_basic"); print $$0}' | \ |
480 $(AWK) '/<synch.h>/ { print "#ifdef _REENTRANT"; print $$0; print "#endif\t/* _REENTRANT */"; next } \ 481 /<thread.h>/ { print "#ifdef _REENTRANT"; print $$0; print "#endif\t/* _REENTRANT */"; next } \ 482 { print $0 } \ 483 ' > $@ 484 485metamed.h: ../uts/common/sys/lvm/metamed.x 486 $(RPCGEN) $(RPCGENFLAGS) ../uts/common/sys/lvm/metamed.x | \ | 480 $(AWK) '/<synch.h>/ { print "#ifdef _REENTRANT"; print $$0; print "#endif\t/* _REENTRANT */"; next } \ 481 /<thread.h>/ { print "#ifdef _REENTRANT"; print $$0; print "#endif\t/* _REENTRANT */"; next } \ 482 { print $0 } \ 483 ' > $@ 484 485metamed.h: ../uts/common/sys/lvm/metamed.x 486 $(RPCGEN) $(RPCGENFLAGS) ../uts/common/sys/lvm/metamed.x | \ |
487 $(NAWK) '{sub(/sys\/lvm\/md_basic/, "meta_basic"); print $$0}' | \ | 487 $(AWK) '{sub(/sys\/lvm\/md_basic/, "meta_basic"); print $$0}' | \ |
488 $(AWK) '/<synch.h>/ { print "#ifdef _REENTRANT"; print $$0; print "#endif\t/* _REENTRANT */"; next } \ 489 /<thread.h>/ { print "#ifdef _REENTRANT"; print $$0; print "#endif\t/* _REENTRANT */"; next } \ 490 { print $0 } \ 491 ' > $@ 492 493metamhd.h: metamhd.x 494 $(RPCGEN) $(RPCGENFLAGS) metamhd.x | \ 495 $(AWK) '/<synch.h>/ { print "#ifdef _REENTRANT"; print $$0; print "#endif\t/* _REENTRANT */"; next } \ 496 /<thread.h>/ { print "#ifdef _REENTRANT"; print $$0; print "#endif\t/* _REENTRANT */"; next } \ 497 { print $0 } \ 498 ' > $@ 499 500metacl.h: metacl.x 501 $(RPCGEN) $(RPCGENFLAGS) metacl.x | \ 502 $(AWK) '/<synch.h>/ { print "#ifdef _REENTRANT"; print $$0; print "#endif\t/* _REENTRANT */"; next } \ 503 /<thread.h>/ { print "#ifdef _REENTRANT"; print $$0; print "#endif\t/* _REENTRANT */"; next } \ 504 { print $0 } \ 505 ' > $@ | 488 $(AWK) '/<synch.h>/ { print "#ifdef _REENTRANT"; print $$0; print "#endif\t/* _REENTRANT */"; next } \ 489 /<thread.h>/ { print "#ifdef _REENTRANT"; print $$0; print "#endif\t/* _REENTRANT */"; next } \ 490 { print $0 } \ 491 ' > $@ 492 493metamhd.h: metamhd.x 494 $(RPCGEN) $(RPCGENFLAGS) metamhd.x | \ 495 $(AWK) '/<synch.h>/ { print "#ifdef _REENTRANT"; print $$0; print "#endif\t/* _REENTRANT */"; next } \ 496 /<thread.h>/ { print "#ifdef _REENTRANT"; print $$0; print "#endif\t/* _REENTRANT */"; next } \ 497 { print $0 } \ 498 ' > $@ 499 500metacl.h: metacl.x 501 $(RPCGEN) $(RPCGENFLAGS) metacl.x | \ 502 $(AWK) '/<synch.h>/ { print "#ifdef _REENTRANT"; print $$0; print "#endif\t/* _REENTRANT */"; next } \ 503 /<thread.h>/ { print "#ifdef _REENTRANT"; print $$0; print "#endif\t/* _REENTRANT */"; next } \ 504 { print $0 } \ 505 ' > $@ |