.PATH :${srcdir}/scriptsSCRIPTS= pgcc pg++abspath!=pwdall-bin:$(SCRIPTS)## Objects go in the obj directory for both BSD and GNU make but these# scripts get put in the obj dir for BSD and the root dir for GNU.#pgcc:pgcc.shsed-e's!EXEC_PREFIX!$(exec_prefix)!g'\-e's!BUILD_PREFIX!$(.CURDIR)!g'\-e's!SRC_PREFIX!$(srcdir)!g'\-e's!COMPILER!gcc!g'\ < $(srcdir)/scripts/pgcc.sh > pgcc.newchmod a+x pgcc.newmv-f pgcc.new pgccln-fs obj/pgcc ../pgccpg++:pgcc.shsed-e's!EXEC_PREFIX!$(exec_prefix)!g'\-e's!BUILD_PREFIX!$(.CURDIR)!g'\-e's!SRC_PREFIX!$(srcdir)!g'\-e's!COMPILER!g++!g'\ < $(srcdir)/scripts/pgcc.sh > pg++.newchmod a+x pg++.newmv-f pg++.new pg++ln-fs obj/pg++ ../pg++