https://github.com/mozilla/gecko-dev
Raw File
Tip revision: 52b0c1f130625dcb557a7526de3c0f5a8dc495ae authored by seabld on 03 October 2012, 07:09:54 UTC
Added tag SEAMONKEY_2_13b6_RELEASE for changeset FIREFOX_16_0b6_BUILD1. CLOSED TREE a=release
Tip revision: 52b0c1f
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		= ../../..
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