Print this page
XXX Remove nawk(1)


1562 
1563 $(OBJS_DIR)/bz2%.o:             $(COMMONBASE)/bzip2/%.c
1564         $(COMPILE.c) -o $@ -I$(COMMONBASE)/bzip2 $<
1565         $(CTFCONVERT_O)
1566 
1567 BZ2LINT = -erroff=%all -I$(UTSBASE)/common/bzip2
1568 
1569 $(LINTS_DIR)/bz2%.ln:           $(COMMONBASE)/bzip2/%.c
1570          @($(LHEAD) $(LINT.c) -C $(LINTS_DIR)/`basename $@ .ln` $(BZ2LINT) $< $(LTAIL))
1571 
1572 #
1573 # SVM
1574 #
1575 
1576 MD_XDR_CSRC     =       $(UTSBASE)/common/io/lvm/md
1577 MD_XDR_XSRC     =       $(UTSBASE)/common/sys/lvm
1578 RPCGENFLAGS     +=      -C -M -D_KERNEL -DSYSV
1579 
1580 $(MD_XDR_CSRC)/meta_basic_xdr.c:        $(MD_XDR_XSRC)/meta_basic.x
1581         $(RPCGEN) $(RPCGENFLAGS) -c -i 100 $(MD_XDR_XSRC)/meta_basic.x | \
1582         nawk '{sub(/^#include "(\.\.\/\.\.\/)/,"#include \"\.\.\/\.\.\/\.\.\/\.\.\/"); print $$0}'  | \
1583         nawk '{sub(/meta_basic.h/, "md_basic.h"); print $$0}' >$@
1584 
1585 $(MD_XDR_CSRC)/metamed_xdr.c:   $(MD_XDR_XSRC)/metamed.x
1586         $(RPCGEN) $(RPCGENFLAGS) -c -i 100 $(MD_XDR_XSRC)/metamed.x |  \
1587         nawk '{sub(/^#include "(\.\.\/\.\.\/)/,"#include \"\.\.\/\.\.\/\.\.\/\.\.\/"); print $$0}' | \
1588         nawk '{sub(/metamed.h/, "mdmed.h"); print $$0}' >$@
1589 
1590 #
1591 #       Section 1b:     Lint `objects'
1592 #
1593 $(LINTS_DIR)/%.ln:              $(COMMONBASE)/crypto/aes/%.c
1594         @($(LHEAD) $(LINT.c) $< $(LTAIL))
1595 
1596 $(LINTS_DIR)/%.ln:              $(COMMONBASE)/crypto/arcfour/%.c
1597         @($(LHEAD) $(LINT.c) $< $(LTAIL))
1598 
1599 $(LINTS_DIR)/%.ln:              $(COMMONBASE)/crypto/blowfish/%.c
1600         @($(LHEAD) $(LINT.c) $< $(LTAIL))
1601 
1602 $(LINTS_DIR)/%.ln:              $(COMMONBASE)/crypto/ecc/%.c
1603         @($(LHEAD) $(LINT.c) $< $(LTAIL))
1604 
1605 $(LINTS_DIR)/%.ln:              $(COMMONBASE)/crypto/modes/%.c
1606         @($(LHEAD) $(LINT.c) $< $(LTAIL))
1607 
1608 $(LINTS_DIR)/%.ln:              $(COMMONBASE)/crypto/padding/%.c




1562 
1563 $(OBJS_DIR)/bz2%.o:             $(COMMONBASE)/bzip2/%.c
1564         $(COMPILE.c) -o $@ -I$(COMMONBASE)/bzip2 $<
1565         $(CTFCONVERT_O)
1566 
1567 BZ2LINT = -erroff=%all -I$(UTSBASE)/common/bzip2
1568 
1569 $(LINTS_DIR)/bz2%.ln:           $(COMMONBASE)/bzip2/%.c
1570          @($(LHEAD) $(LINT.c) -C $(LINTS_DIR)/`basename $@ .ln` $(BZ2LINT) $< $(LTAIL))
1571 
1572 #
1573 # SVM
1574 #
1575 
1576 MD_XDR_CSRC     =       $(UTSBASE)/common/io/lvm/md
1577 MD_XDR_XSRC     =       $(UTSBASE)/common/sys/lvm
1578 RPCGENFLAGS     +=      -C -M -D_KERNEL -DSYSV
1579 
1580 $(MD_XDR_CSRC)/meta_basic_xdr.c:        $(MD_XDR_XSRC)/meta_basic.x
1581         $(RPCGEN) $(RPCGENFLAGS) -c -i 100 $(MD_XDR_XSRC)/meta_basic.x | \
1582         /usr/xpg4/bin/awk '{sub(/^#include "(\.\.\/\.\.\/)/,"#include \"\.\.\/\.\.\/\.\.\/\.\.\/"); print $$0}'  | \
1583         /usr/xpg4/bin/awk '{sub(/meta_basic.h/, "md_basic.h"); print $$0}' >$@
1584 
1585 $(MD_XDR_CSRC)/metamed_xdr.c:   $(MD_XDR_XSRC)/metamed.x
1586         $(RPCGEN) $(RPCGENFLAGS) -c -i 100 $(MD_XDR_XSRC)/metamed.x |  \
1587         /usr/xpg4/bin/awk '{sub(/^#include "(\.\.\/\.\.\/)/,"#include \"\.\.\/\.\.\/\.\.\/\.\.\/"); print $$0}' | \
1588         /usr/xpg4/bin/awk '{sub(/metamed.h/, "mdmed.h"); print $$0}' >$@
1589 
1590 #
1591 #       Section 1b:     Lint `objects'
1592 #
1593 $(LINTS_DIR)/%.ln:              $(COMMONBASE)/crypto/aes/%.c
1594         @($(LHEAD) $(LINT.c) $< $(LTAIL))
1595 
1596 $(LINTS_DIR)/%.ln:              $(COMMONBASE)/crypto/arcfour/%.c
1597         @($(LHEAD) $(LINT.c) $< $(LTAIL))
1598 
1599 $(LINTS_DIR)/%.ln:              $(COMMONBASE)/crypto/blowfish/%.c
1600         @($(LHEAD) $(LINT.c) $< $(LTAIL))
1601 
1602 $(LINTS_DIR)/%.ln:              $(COMMONBASE)/crypto/ecc/%.c
1603         @($(LHEAD) $(LINT.c) $< $(LTAIL))
1604 
1605 $(LINTS_DIR)/%.ln:              $(COMMONBASE)/crypto/modes/%.c
1606         @($(LHEAD) $(LINT.c) $< $(LTAIL))
1607 
1608 $(LINTS_DIR)/%.ln:              $(COMMONBASE)/crypto/padding/%.c