-# provide headers in builddir, so they do not end up in /usr/include/ext/psi/src
+git# provide headers in builddir, so they do not end up in /usr/include/ext/psi/src
 
 PHP_PSI_HEADERS := $(addprefix $(PHP_PSI_BUILDDIR)/,$(PHP_PSI_HEADERS))
 PHP_PSI_SOURCES := $(addprefix $(PHP_PSI_SRCDIR)/,$(PHP_PSI_SOURCES))

endif
endif

install-headers: psi-build-headers
.PHONY: psi-clean
clean: psi-clean

.PHONY: psi-build-headers
psi-build-headers: $(PHP_PSI_HEADERS)


	-rm -f $(PHP_PSI_GENERATED)

.PHONY: psi-clean-aux
psi-clean-aux: psi-clean-aux-bin psi-clean-aux-src

.PHONY: psi-clean-aux-src
psi-clean-aux-src:
	-rm -f $(PHP_PSI_BUILDDIR)/lempar.c $(PHP_PSI_BUILDDIR)/lemon.c

.PHONY: psi-clean-aux-bin
psi-clean-aux-bin:
	-rm -f $(PHP_PSI_BUILDDIR)/lemon

psi-clean: psi-clean-aux

