The invention relates to conformation-constrained entirely-synthetic macrocyclic compounds. A conformation-constrained, space-defined 12-30-member macrocyclic system (I) which is as shown in the description comprises three different constitution units: an aromatic template a, a confor1ation regulator b and a spaced part c, which are illustrated in the description and the claims. The macrocyclic compounds (I) can be easily prepared according to a parallel synthesis method or a combinatorial chemistry method, and are designed for realizing interaction with a specific biological target. Particularly, the compounds show agonistic or antagonistic activity to the following matters: a motilin receptor (MR), a 5-hydroxytryptamine receptor (5-HT2B receptor) of a subtype 5-HT2B, and a prostaglandin F2alpha receptor (FP receptor). Thus, the compounds are effectively used for treating gastrointestinal tract hypomotility disorder such as diabetic gastroparesis and constipation-predominant irritable bowel syndrome, CNS-related diseases such as migraine, schizophrenia, psychosis and depression, ocular hypertension such as glaucoma-related ocular hypertension, and premature delivery.