A gland not associated with the alimentary canal is

1. pancreas 

2. adrenal

3. liver

4. salivary glands

(b) Adrenal gland is not associated with the alimentary canal. This gland is present at the anterior part of each kidney acting as an endocrine gland, involve in regulating body growth and developmental mechanisms.
Pancreas is located posterior to the stomach in the abdominal cavity, it is associated with secretion of alkaline pancreatic juices which are essential in the digestion of starch, protein, fats and nucleic acid. Pancreas also produces hormones like glucagon, insulin, somatostatin are involved in glucose metabolism.
Liver is the largest gland of the body lying in the upper noht side of the abdominal cavity just below the diaphgram. It is mainly invoved in the production of bile which helps in the digestion of fats in small intestine by emulsification process.
Salivary glands are situated just outside the buccal cavity. They discharge their secretions (salivary juices) in the oral cavity, which helps in the mastication of food.