The money necessary to be expended for building, purchasing or repairing a joint almshouse, maintaining the poor therein, procuring articles, materials and things for their employment, compensating the employees at the almshouse, and for other incidental expenses, shall be adjusted and apportioned by the boards of chosen freeholders between their respective counties, in the proportion which the boards shall deem just and proper; and the sum so ascertained and agreed upon to be paid by each county shall be granted and raised by the order of the board of chosen freeholders thereof in the manner in which money for other county purposes is directed to be granted, assessed, collected and raised.
N.J.S. § 44:2-4