1998-04-14 00:24:54 +04:00
|
|
|
#!nmake
|
|
|
|
#
|
1999-11-06 06:40:37 +03: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/
|
1998-04-14 00:24:54 +04:00
|
|
|
#
|
1999-11-06 06:40:37 +03: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.
|
1998-04-14 00:24:54 +04:00
|
|
|
#
|
1999-11-06 06:40:37 +03:00
|
|
|
# The Original Code is mozilla.org code.
|
|
|
|
#
|
|
|
|
# The Initial Developer of the Original Code is Netscape
|
1998-04-14 00:24:54 +04:00
|
|
|
# Communications Corporation. Portions created by Netscape are
|
1999-11-06 06:40:37 +03:00
|
|
|
# Copyright (C) 1998 Netscape Communications Corporation. All
|
|
|
|
# Rights Reserved.
|
|
|
|
#
|
|
|
|
# Contributor(s):
|
1998-04-14 00:24:54 +04:00
|
|
|
|
|
|
|
DEPTH=..\..
|
1999-07-29 08:13:08 +04:00
|
|
|
include <$(DEPTH)/config/config.mak>
|
1998-04-14 00:24:54 +04:00
|
|
|
|
|
|
|
DEFINES=-D_IMPL_NS_HTML
|
|
|
|
|
|
|
|
MODULE=raptor
|
1999-05-06 23:26:13 +04:00
|
|
|
IS_COMPONENT = 1
|
1998-04-14 00:24:54 +04:00
|
|
|
|
2000-04-14 00:07:13 +04:00
|
|
|
BUILD_DATE=gbdate.h
|
|
|
|
|
1999-05-06 23:26:13 +04:00
|
|
|
CPPSRCS=dlldeps.cpp nsLayoutDLF.cpp nsLayoutFactory.cpp
|
1998-04-14 00:24:54 +04:00
|
|
|
|
1999-05-06 23:26:13 +04:00
|
|
|
CPP_OBJS= \
|
|
|
|
.\$(OBJDIR)\dlldeps.obj \
|
|
|
|
.\$(OBJDIR)\nsLayoutDLF.obj \
|
|
|
|
.\$(OBJDIR)\nsLayoutFactory.obj \
|
1999-10-01 01:14:14 +04:00
|
|
|
.\$(OBJDIR)\nsLayoutModule.obj \
|
1999-05-06 23:26:13 +04:00
|
|
|
$(NULL)
|
1998-04-14 00:24:54 +04:00
|
|
|
|
2000-04-14 00:07:13 +04:00
|
|
|
EXPORTS=nsLayoutCID.h $(BUILD_DATE)
|
1998-09-17 05:53:52 +04:00
|
|
|
|
1998-04-14 00:24:54 +04:00
|
|
|
|
|
|
|
MAKE_OBJ_TYPE = DLL
|
1999-10-10 05:32:59 +04:00
|
|
|
DLLNAME = gkhtml
|
1998-04-14 00:24:54 +04:00
|
|
|
DLL=.\$(OBJDIR)\$(DLLNAME).dll
|
|
|
|
|
|
|
|
LCFLAGS = \
|
|
|
|
$(LCFLAGS) \
|
|
|
|
$(DEFINES) \
|
|
|
|
$(NULL)
|
|
|
|
|
1999-05-06 23:26:13 +04:00
|
|
|
LINCS=-I$(PUBLIC)\xpcom -I$(PUBLIC)\raptor -I$(PUBLIC)\dom \
|
|
|
|
-I$(PUBLIC)\js -I..\..\style\src -I..\html\base\src -I..\base\src \
|
1999-09-02 22:01:14 +04:00
|
|
|
-I..\xul\content\src \
|
1999-10-02 15:01:41 +04:00
|
|
|
!ifdef MOZ_MATHML
|
|
|
|
-I..\mathml\content\src \
|
2000-04-02 02:31:45 +04:00
|
|
|
!endif
|
|
|
|
!ifdef MOZ_SVG
|
|
|
|
-I..\svg\content\src \
|
1999-06-28 14:35:57 +04:00
|
|
|
!endif
|
|
|
|
-I$(PUBLIC)\rdf
|
1998-04-14 00:24:54 +04:00
|
|
|
|
|
|
|
# These are the libraries we need to link with to create the dll
|
|
|
|
LLIBS= \
|
|
|
|
$(DIST)\lib\raptorlayout_s.lib \
|
|
|
|
$(DIST)\lib\raptorhtmlbase_s.lib \
|
1998-06-26 19:12:06 +04:00
|
|
|
$(DIST)\lib\nglhtmlcon_s.lib \
|
1998-04-14 00:24:54 +04:00
|
|
|
$(DIST)\lib\raptorhtmldoc_s.lib \
|
|
|
|
$(DIST)\lib\raptorhtmlforms_s.lib \
|
|
|
|
$(DIST)\lib\raptorhtmlstyle_s.lib \
|
|
|
|
$(DIST)\lib\raptorhtmltable_s.lib \
|
1998-11-12 01:06:16 +03:00
|
|
|
$(DIST)\lib\raptorxmlcontent_s.lib \
|
|
|
|
$(DIST)\lib\raptorxmldoc_s.lib \
|
1999-06-28 17:52:29 +04:00
|
|
|
$(DIST)\lib\raptorxsldoc_s.lib \
|
1999-01-22 06:34:41 +03:00
|
|
|
$(DIST)\lib\raptorxulbase_s.lib \
|
1999-01-21 06:41:43 +03:00
|
|
|
$(DIST)\lib\raptorxulcontent_s.lib \
|
2000-01-12 12:25:48 +03:00
|
|
|
$(DIST)\lib\raptorxbl_s.lib \
|
1999-10-02 15:01:41 +04:00
|
|
|
!ifdef MOZ_MATHML
|
|
|
|
$(DIST)\lib\raptormathmlbase_s.lib \
|
|
|
|
$(DIST)\lib\raptormathmlcontent_s.lib \
|
2000-04-02 02:31:45 +04:00
|
|
|
!endif
|
|
|
|
!ifdef MOZ_SVG
|
|
|
|
$(DIST)\lib\raptorsvgbase_s.lib \
|
|
|
|
$(DIST)\lib\raptorsvgcontent_s.lib \
|
1999-10-02 15:01:41 +04:00
|
|
|
!endif
|
1998-06-26 19:12:06 +04:00
|
|
|
$(DIST)\lib\raptorevents_s.lib \
|
1999-05-26 05:38:36 +04:00
|
|
|
$(DIST)\lib\xpcom.lib \
|
1999-10-10 05:32:59 +04:00
|
|
|
$(DIST)\lib\gkgfxwin.lib \
|
1999-07-17 19:52:01 +04:00
|
|
|
$(DIST)\lib\timer_s.lib \
|
1998-04-14 00:24:54 +04:00
|
|
|
$(DIST)\lib\jsdom.lib \
|
1998-08-05 05:40:20 +04:00
|
|
|
$(DIST)\lib\js32$(VERSION_NUMBER).lib \
|
1999-01-21 06:41:43 +03:00
|
|
|
!if defined(MOZ_DEBUG) && defined(GLOWCODE) && "$(MOZ_BITS)"=="32"
|
|
|
|
$(GLOWDIR)\glowcode.lib \
|
1999-09-14 18:35:14 +04:00
|
|
|
!endif
|
|
|
|
!if defined(MOZ_PERF)
|
|
|
|
$(DIST)\lib\util.lib \
|
1999-01-21 06:41:43 +03:00
|
|
|
!endif
|
1998-04-14 00:24:54 +04:00
|
|
|
$(LIBNSPR)
|
|
|
|
|
1999-02-18 21:16:21 +03:00
|
|
|
include <$(DEPTH)\config\rules.mak>
|
1998-04-14 00:24:54 +04:00
|
|
|
|
|
|
|
install:: $(DLL)
|
1999-05-06 23:26:13 +04:00
|
|
|
$(MAKE_INSTALL) .\$(OBJDIR)\$(DLLNAME).dll $(DIST)\bin\components
|
1998-04-14 00:24:54 +04:00
|
|
|
$(MAKE_INSTALL) .\$(OBJDIR)\$(DLLNAME).lib $(DIST)\lib
|
|
|
|
|
|
|
|
clobber::
|
|
|
|
rm -f $(DIST)\bin\$(DLLNAME).dll
|
|
|
|
rm -f $(DIST)\lib\$(DLLNAME).lib
|
2000-04-14 00:07:13 +04:00
|
|
|
|
|
|
|
$(BUILD_DATE)::
|
|
|
|
rm -f $@
|
|
|
|
$(PERL) gbdate.pl > $@
|