SubDir P4 api ;

SubDirHdrs $(P4) client ;
SubDirHdrs $(P4) diff ;
SubDirHdrs $(P4) rpc ;
SubDirHdrs $(P4) i18n ;
SubDirHdrs $(P4) sys ;
SubDirHdrs $(P4) net ;		# just for API
SubDirHdrs $(P4) tests ;	# just for API
SubDirHdrs $(P4) web ;	    

# API: libs and src

P4Api p4api : 

	Jamrules
	Version

	Jamfile.api

	$(CLIENTLIB) 
	$(RPCLIB) 
	$(SUPPORTLIB)
	$(P4SSLLIB)  

	charcvt.h
    charman.h
    charset.h
	clientapi.h
	clientmerge.h
	clientprog.h
	clientresolvea.h
	clientuser.h
	datetime.h
	debug.h
	diff.h
	echoctl.h
	enviro.h
	error.h
	errorlog.h
	errornum.h
	filesys.h
	handler.h
	hostenv.h
	i18napi.h
	ident.h
	ignore.h
	keepalive.h
    macfile.h
	mapapi.h
    md5.h
	msgclient.h
	msgserver.h
    netbuffer.h
	netconnect.h
	netportparser.h
    ntmangle.h
	ntservice.h
	options.h
	p4tags.h
	pathsys.h
	runcmd.h
	signaler.h
	spec.h
	stdhdrs.h
	strarray.h
	strbuf.h
	strdict.h
	strops.h
	strtable.h
    strxml.h
	threading.h
    validate.h
	vararray.h
    web822.h

	clientuser.cc
	p4api.cc
	;

# Just to make sure the API builds

Main p4api : p4api.cc ;
LinkLibraries p4api : $(CLIENTLIB) $(RPCLIB) $(SUPPORTLIB) ;

LinkSSL p4api ;