2 topsrcdir
= @top_srcdir@
6 include $(DEPTH
)/config
/autoconf.mk
15 REQUIRES
+= tracemalloc
31 #IMAGES = fileopen.png reload.png back.png forward.png stop.png
33 CXXFLAGS
+= $(MOZ_QT_CFLAGS
)
34 PROGRAM
= TestQGeckoEmbed
$(BIN_SUFFIX
)
43 ifndef MOZ_ENABLE_LIBXUL
53 include $(topsrcdir
)/config
/config.mk
54 include $(srcdir)/..
/src
/config
/qtconfig.mk
56 # Force applications to be built non-statically
57 # when building the mozcomps meta component
58 ifneq (,$(filter mozcomps
,$(MOZ_META_COMPONENTS
)))
63 EXTRA_LIBS
+= -ltracemalloc
66 ifdef MOZ_PERF_METRICS
67 EXTRA_LIBS
+= -lmozutil_s
74 EXTRA_LIBS
+= $(MOZ_JS_LIBS
)
75 EXTRA_LIBS
+= $(MOZ_COMPONENT_LIBS
)
77 include $(topsrcdir
)/config
/rules.mk
78 include $(srcdir)/..
/src
/config
/qtrules.mk
80 LIBS
+= $(XPCOM_STANDALONE_GLUE_LDOPTS
)
81 DEFINES
+= -DXPCOM_GLUE
83 CXXFLAGS
+= $(MOZ_QT_CFLAGS
)
90 ifeq ($(OS_ARCH
), SunOS
)
92 # When using Sun's WorkShop compiler, including
93 # /wherever/workshop-5.0/SC5.0/include/CC/std/time.h
94 # causes most of these compiles to fail with:
95 # line 29: Error: Multiple declaration for std::tm.
96 # So, this gets around the problem.
97 DEFINES
+= -D_TIME_H
=1
101 ifeq ($(OS_ARCH
), OpenVMS
)
102 DEFINES
+= -DGENERIC_MOTIF_REDEFINES