Subversion Repositories planix.SVN

Rev

Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

</$objtype/mkfile

CFLAGS=$CFLAGS

UPDATEFLAGS=

FILES=\
        nbnsconv\
        dump\
        message\
        findname\
        addname\
        alarm\
        nbss\
        nbns\
        nbname\
        alloc\
        nbresolve\
        smbconv\
        smbnegotiate\
        smballoc\
        smbcommon\
        smbcomsessionsetupandx\
        smbstring\
        smbresponse\
        smbcomtreeconnectandx\
        smbtree\
        smbservice\
        smbcomtransaction\
        smbrap2\
        smbcomdir\
        smbglobals\
        smboptable\
        smbconnect\
        smbbuffer\
        nbdgram\
        nbdgramconv\
        nbdgramdump\
        nb\
        nblistener\
        smbtransaction\
        smbbrowse\
        smbtrans2find\
        smbidmap\
        smbcomecho\
        smbcomopen\
        smbtime\
        smbpath\
        smbfile\
        smbtrans2query\
        smbcomclose\
        smbcomread\
        smblog\
        smbcomquery\
        smbcomfindclose2\
        smbcomtreedisconnect\
        smbsharedfile\
        smblisten\
        smbrap2client\
        smbtrans2client\
        smbcomdelete\
        smbdircache\
        smbrep\
        smbcomflush\
        smbcomwrite\
        smbclientopen\
        smbcomsetinfo\
        smbcomcreatedir\
        smbcomdeletedir\
        smbcomrename\
        smbcomlocking\
        smbtrans2set\

LIBCFILES=${FILES:%=%.c}
LIBOFILES=${FILES:%=%.$O}

SLIB=libsmb.a.$O

LIB=$SLIB\

HFILES=\
        headers.h\
        netbios.h\
        smb.h\
        smbfns.h\
        smbdat.h

TARG=\
        aquarela\
        cifscmd\
#       testconnect\
#       testnbdgram\
#       testtime\


CFILES=${TARG:%=%.c} $LIBCFILES

BIN=/$objtype/bin

it:V: all

</sys/src/cmd/mkmany

INC=
CFLAGS=$INC $CFLAGS $XCFLAGS

$SLIB(%.$O):N: %.$O
$SLIB:  ${LIBOFILES:%=$SLIB(%)}
        names = `{echo $newprereq |sed 's/ /\n/g' |sed -n 's/'$SLIB'\(([^)]+)\)/\1/gp'}
        ar vu $SLIB $names
#       rm $names

clean:V:
        rm -f *.[$OS] y.tab.? y.debug y.output [$OS].* $TARG *.log