https://github.com/mozilla/gecko-dev
Raw File
Tip revision: d3f3eb821e34a6967a46adf0732f9bf41873363d authored by ffxbld on 16 November 2012, 19:37:57 UTC
Added FENNEC_17_0_RELEASE FENNEC_17_0_BUILD1 tag(s) for changeset e18aee69ab4a. DONTBUILD CLOSED TREE a=release
Tip revision: d3f3eb8
Makefile.in
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

DEPTH		= @DEPTH@
topsrcdir	= @top_srcdir@
srcdir		= @srcdir@
VPATH		= @srcdir@

include $(DEPTH)/config/autoconf.mk

MODULE		= xpcomsample

# We must specify CPPSRCS in order to link using the proper c++ linker
# on certain platforms.
CPPSRCS = nsTestSample.cpp

# SIMPLE_PROGRAMS compiles a single .cpp file into an executable
SIMPLE_PROGRAMS = nsTestSample$(BIN_SUFFIX)

# LIBS specifies linker flags when building an executable program from
# this Makefile. We link against the "standalone glue" which does not require
# that the application be linked against the XPCOM dynamic library or the NSPR
# dynamic libraries.
LIBS            = \
		$(XPCOM_STANDALONE_GLUE_LDOPTS) \
		$(NULL)

# Need to link with CoreFoundation on Mac
ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
LIBS            += \
		$(TK_LIBS) \
		$(NULL)
endif

# Whatever code is going to be linked with the *standalone* glue must be
# built with the XPCOM_GLUE define set.
DEFINES += -DXPCOM_GLUE

include $(topsrcdir)/config/rules.mk
back to top