r=cls
Remove timer.dll from OS/2 build - make it a part of widget
This commit is contained in:
mkaply%us.ibm.com 2001-03-02 00:10:24 +00:00
Родитель 018cc6a6d9
Коммит b2b153595e
5 изменённых файлов: 9 добавлений и 16 удалений

Просмотреть файл

@ -330,6 +330,5 @@ OS_TEST=@OS_TEST@
# For OS/2 build # For OS/2 build
MOZ_OS2_TOOLS = @MOZ_OS2_TOOLS@ MOZ_OS2_TOOLS = @MOZ_OS2_TOOLS@
MOZ_OS2_EMX_OBJECTFORMAT = @MOZ_OS2_EMX_OBJECTFORMAT@ MOZ_OS2_EMX_OBJECTFORMAT = @MOZ_OS2_EMX_OBJECTFORMAT@
MOZ_TIMER_LIBS = $(DIST)/lib/timer.$(LIB_SUFFIX)
HAVE_MOVEMAIL=@HAVE_MOVEMAIL@ HAVE_MOVEMAIL=@HAVE_MOVEMAIL@

Просмотреть файл

@ -26,7 +26,7 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk include $(DEPTH)/config/autoconf.mk
DIRS = public src timer DIRS = public timer src
include $(topsrcdir)/config/rules.mk include $(topsrcdir)/config/rules.mk

Просмотреть файл

@ -65,12 +65,13 @@ CPPSRCS = \
# nsDataObj.cpp \ # nsDataObj.cpp \
# nsDataObjCollection.cpp \ # nsDataObjCollection.cpp \
SHARED_LIBRARY_LIBS = $(DIST)/lib/libxpwidgets_s.$(LIB_SUFFIX) SHARED_LIBRARY_LIBS = $(DIST)/lib/libxpwidgets_s.$(LIB_SUFFIX) \
$(DIST)/lib/libtimeros2_s.$(LIB_SUFFIX) \
$(NULL)
EXTRA_DSO_LDOPTS = \ EXTRA_DSO_LDOPTS = \
$(EXTRA_DSO_LIBS) \ $(EXTRA_DSO_LIBS) \
$(MOZ_COMPONENT_LIBS) \ $(MOZ_COMPONENT_LIBS) \
$(MOZ_TIMER_LIBS) \
$(NULL) $(NULL)
ifeq ($(MOZ_OS2_TOOLS),VACPP) ifeq ($(MOZ_OS2_TOOLS),VACPP)

Просмотреть файл

@ -36,9 +36,8 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk include $(DEPTH)/config/autoconf.mk
MODULE = timer MODULE = widget
LIBRARY_NAME = timer LIBRARY_NAME = timeros2_s
EXPORTS=nsTimerManager.h nsWindowsTimer.h nsIWindowsTimerMap.h os2TimerGlue.h EXPORTS=nsTimerManager.h nsWindowsTimer.h nsIWindowsTimerMap.h os2TimerGlue.h
@ -50,7 +49,9 @@ CPPSRCS = \
$(NULL) $(NULL)
EXTRA_DSO_LDOPTS = $(MOZ_COMPONENT_LIBS) # we don't want the shared lib, but we want to force the creation of a static lib.
override NO_SHARED_LIB=1
override NO_STATIC_LIB=
include $(topsrcdir)/config/rules.mk include $(topsrcdir)/config/rules.mk

Просмотреть файл

@ -70,14 +70,6 @@ MRESULT EXPENTRY fnwpTimer( HWND h, ULONG msg, MPARAM mp1, MPARAM mp2)
return mRC; return mRC;
} }
TID QueryCurrentTID()
{
PTIB pTib = 0;
PPIB pPib = 0;
DosGetInfoBlocks( &pTib, &pPib);
return pTib->tib_ptib2->tib2_ultid;
}
void EnsureWndClass() void EnsureWndClass()
{ {
static BOOL bRegistered = FALSE; static BOOL bRegistered = FALSE;