include $(top_srcdir)/adm_local/unix/make_common_starter.am
# extra source files (generated by sip)
-SIP_SRC = sipAPISalomePyQt.h \
- sipSalomePyQtSalomePyQt.cc \
+SIP_API = sipAPISalomePyQt.h
+SIP_SRC = sipSalomePyQtSalomePyQt.cc \
sipSalomePyQtSALOME_Selection.cc \
sipSalomePyQtQtxAction.cc \
sipSalomePyQtQtxActionGroup.cc \
EXTRA_DIST += $(SIP_FILES)
# extra clean files
-CLEANFILES = $(SIP_SRC)
+CLEANFILES = $(SIP_SRC) $(SIP_API)
# moc files (generated my moc)
MOC_FILES = SalomePyQt_moc.cxx
libSalomePyQt_la_LIBADD = $(COMMON_LIBS)
# custom build step: generate C++ wrapping according to $(SIP_FILES)
-$(SIP_SRC): $(SIP_FILES)
+$(SIP_SRC): $(SIP_API)
+
+$(SIP_API): $(SIP_FILES)
$(SIP) $(PYQT_SIPFLAGS) $<
# custom install step: create symbolic link