1 AUTOMAKE_OPTIONS = foreign 1.4
2 DISTCLEANFILES= *.orig *.rej *~ *.bak core
3 MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
4 noinst_LTLIBRARIES = libqt2ui.la
5 BOOST_INCLUDES = -I$(top_srcdir)/boost
6 INCLUDES = -I${top_srcdir}/src/ -I${top_srcdir}/src/frontends/ -I$(top_srcdir)/src/frontends/qt2/ \
7 ${SIGC_CFLAGS} ${FRONTEND_INCLUDES} $(BOOST_INCLUDES) \
8 -I$(top_srcdir)/src/frontends/controllers
9 AM_CXXFLAGS = -DQT_CLEAN_NAMESPACE -DQT_GENUINE_STR
10 ETAGS_ARGS = --lang=c++
13 include ../Makefile.dialogs
15 DISTCLEANFILES = $(UIDIALOGS) *.orig *.rej *~ *.bak core
17 libqt2ui_la_SOURCES = $(UIDIALOGS)
19 # a pattern to change tr() to _()
22 SEDREPLACETR=s,[^A-Za-z]tr[ ]*(,_(,g
23 SEDREMOVEEMPTY=s,_[ ]*([ ]*""[ ]*),"",g
27 $(UIC) -impl $^ | $(SED) '$(SEDREPLACETR);$(SEDREMOVEEMPTY)' > $@