gecko-dev/xpcom/threads/Makefile.in

89 lines
1.9 KiB
Makefile
Raw Normal View History

1999-05-18 09:11:01 +00:00
#
# The contents of this file are subject to the Netscape 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/NPL/
1999-05-18 09:11:01 +00:00
#
# 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.
1999-05-18 09:11:01 +00:00
#
# The Original Code is mozilla.org code.
#
# The Initial Developer of the Original Code is Netscape
1999-05-18 09:11:01 +00:00
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
1999-09-18 02:12:56 +00:00
#
1999-05-18 09:11:01 +00:00
1999-09-18 02:12:56 +00:00
DEPTH = ../..
1999-05-18 09:11:01 +00:00
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = xpcom
ifeq ($(OS_ARCH),WINNT)
XPIDL_MODULE = xpcom_thread
else
XPIDL_MODULE = xpcom_threads
endif
1999-09-18 02:12:56 +00:00
LIBRARY_NAME = xpcomthreads_s
REQUIRES = string \
$(NULL)
1999-05-18 09:11:01 +00:00
CSRCS = \
plevent.c \
$(NULL)
1999-09-18 02:12:56 +00:00
CPPSRCS = \
nsAutoLock.cpp \
nsEventQueue.cpp \
nsEventQueueService.cpp \
nsThread.cpp \
nsTimerImpl.cpp \
nsProcessCommon.cpp \
TimerThread.cpp \
1999-09-18 02:12:56 +00:00
$(NULL)
1999-05-18 09:11:01 +00:00
1999-09-18 02:12:56 +00:00
EXPORTS = \
nsAutoLock.h \
plevent.h \
nsProcess.h \
$(NULL)
1999-05-18 09:11:01 +00:00
1999-09-18 02:12:56 +00:00
XPIDLSRCS = \
nsIThread.idl \
nsIThreadPool.idl \
nsITimer.idl \
nsITimerInternal.idl \
nsITimerManager.idl \
1999-09-18 02:12:56 +00:00
nsIRunnable.idl \
nsIEventQueue.idl \
nsIEventQueueService.idl \
nsIProcess.idl \
1999-09-18 02:12:56 +00:00
$(NULL)
1999-05-18 09:11:01 +00:00
1999-09-18 02:12:56 +00:00
EXPORTS := $(addprefix $(srcdir)/, $(EXPORTS))
1999-05-18 09:11:01 +00:00
1999-09-18 02:12:56 +00:00
LOCAL_INCLUDES = -I$(srcdir)/../components
1999-05-18 09:11:01 +00:00
# we don't want the shared lib, but we want to force the creation of a static lib.
FORCE_STATIC_LIB = 1
# Force use of PIC
FORCE_USE_PIC = 1
1999-05-18 09:11:01 +00:00
include $(topsrcdir)/config/rules.mk
DEFINES += -D_IMPL_NS_COM
ifeq ($(OS_ARCH), WINNT)
DEFINES += -DWIN32_LEAN_AND_MEAN
endif
1999-09-18 02:12:56 +00:00