# # The contents of this file are subject to the Mozilla Public # License Version 1.1 (the "License"); you may not use this file # except in compliance with the License. You may obtain a copy of # the License at http://www.mozilla.org/MPL/ # # Software distributed under the License is distributed on an "AS # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or # implied. See the License for the specific language governing # rights and limitations under the License. # # The Original Code is the Mozilla browser. # # The Initial Developer of the Original Code is Christopher # Blizzard. Portions created by Christopher Blizzard are # Copyright (C) 1999, Mozilla. All Rights Reserved. # # Contributor(s): DEPTH = ../../.. topsrcdir = @top_srcdir@ srcdir = @srcdir@ VPATH = @srcdir@ include $(DEPTH)/config/autoconf.mk MODULE = minimo REQUIRES = gtkembedmoz \ xpcom \ string \ dom \ $(NULL) ifdef NS_TRACE_MALLOC REQUIRES += tracemalloc endif CPPSRCS = Minimo.cpp SIMPLE_PROGRAMS = $(CPPSRCS:.cpp=) LIBS += \ -lgtkembedmoz \ $(XLDFLAGS) \ $(XLIBS) \ $(NULL) include $(topsrcdir)/config/config.mk ifdef BUILD_STATIC_LIBS FINAL_LINK_COMPS=$(topsrcdir)/embedding/minimo/app/minimo-link-comps include $(topsrcdir)/config/static-config.mk EXTRA_DEPS += $(STATIC_EXTRA_DEPS) EXTRA_DSO_LIBS += $(STATIC_EXTRA_DSO_LIBS) endif EXTRA_LIBS += -L$(DEPTH)/dist/lib/components \ $(EXTRA_DSO_LIBS) \ $(STATIC_EXTRA_LIBS) \ $(MOZ_JS_LIBS) \ $(MOZ_COMPONENT_LIBS) \ -lSM -lICE \ $(TK_LIBS) \ $(NULL) include $(topsrcdir)/config/rules.mk CXXFLAGS += $(MOZ_GTK_CFLAGS) $(MOZ_GTK2_CFLAGS)