gecko/toolkit/components/startup/Makefile.in
2012-05-21 12:12:37 +01:00

49 lines
988 B
Makefile

# 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@
relativesrcdir = toolkit/components/startup
include $(DEPTH)/config/autoconf.mk
DIRS = public
MODULE = toolkitcomps
LIBRARY_NAME = appstartup_s
FORCE_STATIC_LIB = 1
LIBXUL_LIBRARY = 1
CPPSRCS = \
nsAppStartup.cpp \
StartupTimeline.cpp \
$(NULL)
EXPORTS_NAMESPACES = mozilla
EXPORTS_mozilla = StartupTimeline.h
ifeq (os2,$(MOZ_WIDGET_TOOLKIT))
CPPSRCS += nsUserInfoOS2.cpp
else
ifeq ($(OS_ARCH),WINNT)
CPPSRCS += nsUserInfoWin.cpp
else
ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
CMMSRCS += nsUserInfoMac.mm
else
CPPSRCS += nsUserInfoUnix.cpp
endif
endif
endif
XPCSHELL_TESTS = tests/unit
ifneq (mobile,$(MOZ_BUILD_APP))
TEST_DIRS += tests/browser
endif
include $(topsrcdir)/config/rules.mk