The reaction of beta-tetralone (I) with pyrrolidine (A) yields enamine (II), which is condensed with phenacyl bromide (B) in DMF to give the 1-phenacyl-2-tetralone (III). Finally, this diketone is cyclized with 5-aminosalycilic acid (C) in refluxing acetic acid.