## @file
##
## $Id$
##
## 1 2 3 4 5 6 7 8
## 45678901234567890123456789012345678901234567890123456789012345678901234567890
if HAVE_QT
UISOURCES = proxyface/proxy.ui proxyface/proxyauth.ui
RESOURCES = proxyface/resources.cxx
MOCHEADER = proxyface/proxy.hxx proxyface/autoproxy.hxx proxyface/proxyauth.hxx
LANGUAGES = proxy_de.qm proxy_en.qm proxy_fr.qm proxy_it.qm
LANG_TS = proxy_de.ts proxy_en.ts proxy_fr.ts proxy_it.ts
UIHEADER = proxyface/ui_proxy.hxx proxyface/ui_proxyauth.hxx
MOCSOURCES = proxyface/moc_proxy.cxx proxyface/moc_autoproxy.cxx proxyface/moc_proxyauth.cxx
endif
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = @PACKAGENAME@.pc
pkgconfig2dir = $(datarootdir)/pkgconfig
pkgconfig2_DATA = $(pkgconfig_DATA)
pkgdata_DATA = ${LANGUAGES}
EXTRA_DIST = ${UISOURCES} $(pkgconfig_DATA).in version.cxx.in
BUILT_SOURCES = ${UIHEADER} ${MOCSOURCES} ${LANGUAGES} ${RESOURCES} version.cxx
proxyfacedir = ${includedir}/proxyface
proxyface_HEADERS = proxyface/unix.hxx proxyface/windoze.hxx \
proxyface/qtproxy.hxx \
${MOCHEADER} ${UIHEADER}
lib_LTLIBRARIES = libproxyface.la
libproxyface_la_SOURCES = ${MOCSOURCES} ${LANGUAGES} ${RESOURCES} version.cxx
libproxyface_la_LDFLAGS = -version-info ${LIB_VERSION}
rebuild-ts: ${LANG_TS}
%.cxx: %.qrc
${RCC} -o $@ $<
moc_%.cxx: %.hxx
${MOC} -DMOC ${CPPFLAGS} ${CXXFLAGS} -o $@ $<
ui_%.hxx: %.ui
${UIC} -o $@ $<
%.ts: ${UISOURCES} ${MOCHEADER} ${proxyface_HEADERS}
${LUPDATE} ${LUPDATE_ARGS} $^ -ts $@
%.qm: %.ts
${LRELEASE} $< -qm $@
CLEANFILES = ${UIHEADER} ${MOCSOURCES}
DISTCLEANFILES = $(pkgconfig_DATA)
MAINTAINERCLEANFILES = makefile.in