include build/top.make BINARY = ExactImage BINARY_EXT = $(X_DYNEXT) DEPS = $(image_BINARY) $(bardecode_BINARY) $(codecs_BINARY) $(api_BINARY) $($(X_MODULE)_OUTPUT)/api-php-wrap.cc $($(X_MODULE)_OUTPUT)/CXXFLAGS := -I api $(PHPINCS) -fno-strict-aliasing $($(X_MODULE)_OUTPUT)/api-php-wrap.cc: $(X_MODULE)/../api.hh $(X_MODULE)/../api-swig.hh $(Q)echo " SWIG $(dir $@)" $(Q)swig -php -c++ -outdir $(dir $@) -o '$@' $(X_MODULE)/../api-swig.hh # we have an own install _X_BUILD_IMPLICIT := $(_X_BUILD_IMPLICIT) X_BUILD_IMPLICIT := 0 include build/bottom.make X_BUILD_IMPLICIT := $(_X_BUILD_IMPLICIT) # install all:: $($(X_MODULE)_BINARY) install:: $($(X_MODULE)_BINARY) $(Q)echo "INSTALL PHP module $^" $(Q)mkdir -p $(DESTDIR)$(libdir)/php/ $(Q)install $^ $(DESTDIR)$(libdir)/php/