From fa080de7afc95aa1c19a6e6fc0e0708ced2eadc4 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Wed, 8 Jul 2015 20:46:52 -0400 Subject: Initial commit --- sys/qpoe/mkpkg | 133 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 133 insertions(+) create mode 100644 sys/qpoe/mkpkg (limited to 'sys/qpoe/mkpkg') diff --git a/sys/qpoe/mkpkg b/sys/qpoe/mkpkg new file mode 100644 index 00000000..b7553b0f --- /dev/null +++ b/sys/qpoe/mkpkg @@ -0,0 +1,133 @@ +# Make the QPOE (position ordered event file) library. + +$checkout libex.a lib$ +$update libex.a +$checkin libex.a lib$ +$exit + +zzdebug: +zzdebug.e: + $checkout libex.a lib$ + $update libex.a + $checkin libex.a lib$ + + $omake zzdebug.x "qpoe.h" + $link -z zzdebug.o + ; + +generic: + $set GFLAGS = "-k -t csilrd -p gen/" + $ifolder (gen/qpgeti.x, qpget.gx) $generic $(GFLAGS) qpget.gx $endif + $ifolder (gen/qpputi.x, qpput.gx) $generic $(GFLAGS) qpput.gx $endif + + $set GFLAGS = "-k -t bcsilrdx -p gen/" + $ifolder (gen/qpaddb.x, qpadd.gx) $generic $(GFLAGS) qpadd.gx $endif + + $set GFLAGS = "-k -t ird -p gen/" + $ifolder (gen/qpexattrli.x, qpexattrl.gx) + $generic $(GFLAGS) qpexattrl.gx $endif + $ifolder (gen/qpexcodei.x, qpexcode.gx) + $generic $(GFLAGS) qpexcode.gx $endif + $ifolder (gen/qpexparsei.x, qpexparse.gx) + $generic $(GFLAGS) qpexparse.gx $endif + $ifolder (gen/qpexsubi.x, qpexsub.gx) + $generic $(GFLAGS) qpexsub.gx $endif + + $ifolder (gen/qprlmergei.x, qprlmerge.gx) + $generic $(GFLAGS) qprlmerge.gx $endif + + $set GFLAGS = "-k -t si -p gen/" + $ifolder (gen/qpiorpixi.x, qpiorpix.gx) + $generic $(GFLAGS) qpiorpix.gx $endif + $ifolder (gen/qpiogetev.x, qpiogetev.gx) + $generic -k -o gen/qpiogetev.x qpiogetev.gx $endif + ; + +libex.a: + # Retranslate any recently modified generic sources. + $ifeq (hostid, unix) + $call generic + $endif + + @gen # Update datatype expanded files. + + qpaccess.x qpoe.h + qpaccessf.x qpoe.h + qpaddf.x qpoe.h + qpastr.x qpoe.h + qpbind.x qpoe.h + qpclose.x qpoe.h + qpcopy.x qpoe.h + qpcopyf.x qpoe.h + qpctod.x + qpctoi.x + qpdelete.x qpoe.h + qpdeletef.x qpoe.h + qpdsym.x qpoe.h + qpdtype.x qpoe.h + qpelsize.x + qpexclose.x qpex.h + qpexdata.x qpex.h + qpexdebug.x qpex.h qpoe.h + qpexdel.x qpex.h + qpexeval.x qpex.h + qpexgetat.x qpex.h + qpexgetfil.x qpex.h + qpexmodfil.x qpex.h qpoe.h + qpexopen.x qpex.h qpoe.h + qpexpand.x qpoe.h + qpgetb.x qpoe.h + qpgettok.x qpoe.h + qpgetx.x qpoe.h + qpgmsym.x qpoe.h + qpgnfn.x qpoe.h + qpgpar.x qpoe.h + qpgpsym.x qpoe.h + qpgstr.x qpoe.h + qpinherit.x qpoe.h + qpioclose.x qpio.h + qpiogetfil.x qpio.h qpoe.h + qpiogetrg.x qpio.h + qpiolmask.x qpio.h qpoe.h + qpiolwcs.x qpio.h + qpiomkidx.x qpio.h qpoe.h + qpioopen.x qpex.h qpio.h qpoe.h \ + + qpioparse.x qpex.h qpio.h qpoe.h + qpioputev.x qpio.h qpoe.h + qpiorb.x qpio.h + qpiosetfil.x qpex.h qpio.h + qpioseti.x qpio.h + qpiosetr.x qpio.h + qpiosetrg.x qpio.h + qpiostati.x qpio.h + qpiostatr.x qpio.h + qpiosync.x qpio.h qpoe.h + qpiowb.x qpio.h qpoe.h + qplenf.x qpoe.h + qploadwcs.x qpoe.h + qpmacro.x qpex.h qpoe.h + qpmkfname.x qpoe.h + qpopen.x qpio.h qpoe.h + qpparse.x + qpparsefl.x qpex.h qpoe.h + qppclose.x + qppopen.x qpoe.h + qpppar.x qpoe.h + qppstr.x qpoe.h + qpputb.x qpoe.h + qpputx.x qpoe.h + qpqueryf.x qpoe.h + qpread.x qpoe.h + qprebuild.x qpoe.h + qprename.x qpoe.h + qprenamef.x qpoe.h + qpsavewcs.x qpoe.h + qpseti.x qpoe.h + qpsetr.x qpoe.h + qpsizeof.x qpoe.h + qpstati.x qpoe.h + qpstatr.x qpoe.h + qpsync.x qpoe.h + qpwrite.x qpoe.h + ; -- cgit