Plan 9 from Bell Labs’s /usr/web/sources/contrib/de0u/root/sys/src/cmd/divergefs/mkfile

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


</$objtype/mkfile

TARG=divergefs
MANNAME=$TARG
MANSRC=doc/$MANNAME
MANSECT=4
MANTARG=/sys/man/$MANSECT/$MANNAME

OFILES=\
  common.$O\
  debug.$O\
  string.$O\
  utils.$O\
  collection.$O\
  array.$O\
  set.$O\
  dictionary.$O\
  qidgenerator.$O\
  filepath.$O\
  file.$O\
  fiddata.$O\
  rule.$O\
  allrule.$O\
  filedirrule.$O\
  baselayerrule.$O\
  namerule.$O\
  logicalrule.$O\
  regexrule.$O\
  moderule.$O\
  filehandle.$O\
  holemanager.$O\
  matcher.$O\
  config.$O\
  fs.$O\
  y.tab.$O\
  lex.yy.$O\
  main.$O\

HFILES=\
  common.h\
  string.h\
  debug.h\
  utils.h\
  collection.h\
  array.h\
  set.h\
  dictionary.h\
  filepath.h\
  rule.h\
  filehandle.h\

YFILES=config.y

LFILES=\
	config.l\
	y.tab.h\

LFLAGS=-9

BIN=/$objtype/bin

UPDATE=\
  mkfile\
  $HFILES\
  ${OFILES:%.$O=%.c}\

</sys/src/cmd/mkone

fs.$O %.$O: %.h

%.h:Q: 
  echo -n

main.$O: fs.h

matcher.$O: fiddata.h 

config.$O: fiddata.h matcher.h

filehandle.$O: fs.h

install:V: $BIN/$TARG /sys/man/4/divergefs

$MANTARG: $MANSRC
	cp $prereq $MANTARG

clean:V:
	rm -f *.[$OS] *.out y.tab.* y.debug y.output lex.yy.* $TARG


Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.