# # 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 FORCE_SHARED_LIB= 1 GRE_MODULE = 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