widget/xremoteclient/Makefile.in
author Brian O'Keefe <bokeefe@alum.wpi.edu>
Tue, 30 Apr 2013 09:08:31 -0400
changeset 141283 64c7ba1d3d0457e8d75e4b30550f5f8c8f0d9d63
parent 135911 97e443115162450609702fc72c99b6d88d8703d6
child 141287 b2c7297fe7ed8ab6deeda3e48765d9edc3897b44
permissions -rw-r--r--
Bug 862986 - Part 2: Migrate PROGRAM from Makefile.in to moz.build. r=gps

# 
# 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/.

# NOTE: This directory is part of tier 50, and is linked directly into
# the application binaries. The fact that it's under mozilla/widget is a fluke
# of tree history.

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

include $(DEPTH)/config/autoconf.mk

LIBRARY_NAME = xremote_client_s
FORCE_STATIC_LIB = 1

DEFINES += -DXPCOM_GLUE

LIBCPPSRCS = XRemoteClient.cpp

OBJS = $(LIBCPPSRCS:.cpp=.$(OBJ_SUFFIX))

EXTRA_DSO_LDOPTS = \
		$(XLIBS) $(XLDFLAGS)  \
		$(MOZ_COMPONENT_LIBS) \
		$(NULL)

PROGCPPSRCS = \
  mozilla-xremote-client.cpp \
  XRemoteClient.cpp \
  $(NULL)

PROGOBJS = $(PROGCPPSRCS:.cpp=.$(OBJ_SUFFIX))

CPPSRCS = $(filter-out $(LIBCPPSRCS),$(PROGCPPSRCS)) $(LIBCPPSRCS)

LIBS            = \
		$(NSPR_LIBS) \
		$(XLDFLAGS) $(XLIBS)

include $(topsrcdir)/config/rules.mk