+pg_hint_plan.o: core.c make_join_rel.c # pg_stat_statements.c
+
+$(STARBALLS): $(TARSOURCES)
+ if [ -h $(subst .tar.gz,,$@) ]; then rm $(subst .tar.gz,,$@); fi
+ if [ -e $(subst .tar.gz,,$@) ]; then \
+ echo "$(subst .tar.gz,,$@) is not a symlink. Stop."; \
+ exit 1; \
+ fi
+ ln -s . $(subst .tar.gz,,$@)
+ tar -chzf $@ $(addprefix $(subst .tar.gz,,$@)/, $^)
+ rm $(subst .tar.gz,,$@)
+
+rpm14: $(STARBALL14)
+ MAKE_ROOT=`pwd` rpmbuild -bb SPECS/pg_hint_plan14.spec