seawood%netscape.com 0bd62df729 Landing the rest of the win32 gmake changes:
* Adds Makefile.ins to win32 specific dirs
* Adds WINNT ifdefs to Makefile.ins
* Causes NSPR to be compiled with --with-mozilla
* Misc general Makefile.in cleanup

Bug #58981 r=mcafee


git-svn-id: svn://10.0.0.236/trunk@110703 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-18 09:14:29 +00:00

60 lines
1.4 KiB
Makefile

#
# The contents of this file are subject to the Mozilla 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/MPL/
#
# 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.
#
# The Original Code is the Mozilla browser.
#
# The Initial Developer of the Original Code is Netscape
# Communications, Inc. Portions created by Netscape are
# Copyright (C) 2001, Mozilla. All Rights Reserved.
#
# Contributor(s):
DEPTH = ../../../../..
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
LIBRARY_NAME = mozctlx
DEFFILE = $(srcdir)/mozctlx.def
EXPORT_LIBRARY = 1
CPPSRCS = \
StdAfx.cpp \
control_kicker.cpp \
$(NULL)
OS_LIBS += \
comdlg32.lib \
ole32.lib \
oleaut32.lib \
uuid.lib \
shell32.lib \
$(NULL)
include $(topsrcdir)/config/rules.mk
CXXFLAGS += /D "WIN32" /GX /GF /MT /O1
libs::
ifdef MOZ_ACTIVEX_REGISTRATION
ifneq ($(OS_TARGET),WIN98)
-regsvr32 /s /c $(DIST)/bin/$(SHARED_LIBRARY)
endif
endif
clean clobber clobber_all realclean distclean::
-regsvr32 /s /c /u $(DIST)/bin/$(SHARED_LIBRARY)
control_kicker.cpp StdAfx.cpp: StdAfx.h