# See the License for the specific language governing permissions and
# limitations under the License.
-BUILD_DIR := ../build
-PACKAGING_DIR := packaging/
+BUILD_DIR := @DPROJECT_BINARY_DIR@
+PACKAGING_DIR := @PROJECT_PKG_ENTRY_POINT@
VPATH = etc:$(PACKAGING_DIR):$(PACKAGING_DIR)/etc:$(BUILD_DIR)