Reagents and conditions: a. morpholine or N-methyl piperazine, CuI, L-proline, K2CO3, DMSO, N2, 100–110°C; b. Pd/C, H2, CH3OH or THF; c. the appropriate amine, Et3N, EtOH; d. CF3COOH, i-PrOH or 2-BuOH, reflux; e. 3-Nitroaniline (for 7) or 3-aminobenzoic acid (for 10), CF3COOH, i-PrOH or 2-BuOH, reflux; f. the appropriate acid or amine, DIEA, HATU, DMF.