2001-08-19 13:25:15 +00:00
|
|
|
AUTOMAKE_OPTIONS = foreign 1.4
|
|
|
|
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
|
2002-02-18 01:44:56 +00:00
|
|
|
noinst_LTLIBRARIES = libqt2ui.o
|
2001-08-19 13:25:15 +00:00
|
|
|
BOOST_INCLUDES = -I$(top_srcdir)/boost
|
2001-08-28 04:17:49 +00:00
|
|
|
INCLUDES = -I${top_srcdir}/src/ -I${top_srcdir}/src/frontends/ -I$(top_srcdir)/src/frontends/qt2/ \
|
2001-08-19 13:25:15 +00:00
|
|
|
${SIGC_CFLAGS} ${FRONTEND_INCLUDES} $(BOOST_INCLUDES) \
|
|
|
|
-I$(top_srcdir)/src/frontends/controllers
|
2001-08-29 19:34:05 +00:00
|
|
|
AM_CXXFLAGS = -DQT_CLEAN_NAMESPACE -DQT_GENUINE_STR
|
2001-08-19 13:25:15 +00:00
|
|
|
ETAGS_ARGS = --lang=c++
|
|
|
|
SUBDIRS=. moc
|
|
|
|
|
|
|
|
include ../Makefile.dialogs
|
2001-10-17 15:38:59 +00:00
|
|
|
|
2001-08-19 13:25:15 +00:00
|
|
|
DISTCLEANFILES = $(UIDIALOGS) *.orig *.rej *~ *.bak core
|
2001-10-17 15:38:59 +00:00
|
|
|
|
2002-02-18 01:44:56 +00:00
|
|
|
libqt2ui_o_SOURCES = $(UIDIALOGS)
|
2001-08-19 13:25:15 +00:00
|
|
|
|
2001-08-27 16:51:13 +00:00
|
|
|
# a pattern to change tr() to _()
|
|
|
|
|
|
|
|
SED=sed
|
|
|
|
SEDREPLACETR=s,[^A-Za-z]tr[ ]*(,_(,g
|
|
|
|
SEDREMOVEEMPTY=s,_[ ]*([ ]*""[ ]*),"",g
|
2001-08-19 13:25:15 +00:00
|
|
|
%Base.h: %.ui
|
|
|
|
$(UIC) $< -o $@
|
|
|
|
%Base.C: %Base.h %.ui
|
2001-08-27 16:51:13 +00:00
|
|
|
$(UIC) -impl $^ | $(SED) '$(SEDREPLACETR);$(SEDREMOVEEMPTY)' > $@
|