Kilmarnock 's traditional industries were based around textiles and heavy engineering : e.g. locomotives ( Andrew Barclay and Sons ) from 1837 through 1970 , and valves ( Glenfield and Kennedy ) , which are still in production ; and carpets ( manufactured by BMK ) from the early 1900s . Kilmarnock 's traditional industries were based around textiles and heavy engineering : e.g. locomotives ( Andrew Barclay and Sons ) from 1837 , and valves ( Glenfield and Kennedy ) , which are still in production .