1999-11-06 05:47:15 +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-11-05 11:57:24 +03:00
|
|
|
#//
|
1999-11-06 05:47:15 +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-11-05 11:57:24 +03:00
|
|
|
#//
|
1999-11-06 05:47:15 +03:00
|
|
|
#// The Original Code is mozilla.org code.
|
|
|
|
#//
|
|
|
|
#// The Initial Developer of the Original Code is Netscape
|
1998-11-05 11:57:24 +03:00
|
|
|
#// Communications Corporation. Portions created by Netscape are
|
1999-11-06 05:47:15 +03:00
|
|
|
#// Copyright (C) 1998 Netscape Communications Corporation. All
|
|
|
|
#// Rights Reserved.
|
|
|
|
#//
|
|
|
|
#// Contributor(s):
|
1998-11-05 11:57:24 +03:00
|
|
|
|
1998-03-28 05:44:41 +03:00
|
|
|
#//------------------------------------------------------------------------
|
|
|
|
#//
|
|
|
|
#// Specify the depth of the current directory relative to the
|
|
|
|
#// root of NS
|
|
|
|
#//
|
|
|
|
#//------------------------------------------------------------------------
|
1998-11-05 11:57:24 +03:00
|
|
|
DEPTH=..\..
|
|
|
|
include <$(DEPTH)\config\config.mak>
|
1998-03-28 05:44:41 +03:00
|
|
|
|
1998-11-05 11:57:24 +03:00
|
|
|
!ifdef MOZ_OJI
|
|
|
|
# DIRS = java classes
|
1998-03-28 05:44:41 +03:00
|
|
|
!endif
|
|
|
|
|
|
|
|
#//------------------------------------------------------------------------
|
|
|
|
#//
|
|
|
|
#// Define any Public Make Variables here: (ie. PDFFILE, MAPFILE, ...)
|
|
|
|
#//
|
|
|
|
#//------------------------------------------------------------------------
|
|
|
|
|
|
|
|
DLLNAME = jsd$(MOZ_BITS)$(VERSION_NUMBER)
|
|
|
|
PDBFILE = $(DLLNAME).pdb
|
|
|
|
MAPFILE = $(DLLNAME).map
|
1998-11-05 11:57:24 +03:00
|
|
|
RESFILE = jsd$(MOZ_BITS)40.res
|
1998-03-28 05:44:41 +03:00
|
|
|
DLL =.\$(OBJDIR)\$(DLLNAME).dll
|
|
|
|
MAKE_OBJ_TYPE = DLL
|
|
|
|
|
|
|
|
!if "$(MOZ_BITS)" != "16"
|
1998-11-05 11:57:24 +03:00
|
|
|
LINCS = -I$(DEPTH)\include \
|
|
|
|
-I$(PUBLIC)\js
|
1998-03-28 05:44:41 +03:00
|
|
|
!endif
|
|
|
|
|
|
|
|
!if "$(MOZ_BITS)" == "16"
|
|
|
|
DEFFILE = $(DLLNAME).def
|
|
|
|
!endif
|
|
|
|
|
1998-11-05 11:57:24 +03:00
|
|
|
# LCFLAGS= $(LCFLAGS) -DEXPORT_JSD_API -DJSD_THREADSAFE
|
|
|
|
|
1998-03-28 05:44:41 +03:00
|
|
|
LLIBS= $(LIBNSPR) \
|
|
|
|
$(DIST)\lib\js$(MOZ_BITS)$(VERSION_NUMBER).lib \
|
1998-11-05 11:57:24 +03:00
|
|
|
!ifdef MOZ_OJI
|
|
|
|
$(DIST)\lib\oji$(MOZ_BITS).lib
|
|
|
|
!endif
|
1998-03-28 05:44:41 +03:00
|
|
|
|
1998-07-13 04:22:53 +04:00
|
|
|
!if "$(MOZ_BITS)"=="32" && defined(MOZ_DEBUG) && defined(GLOWCODE)
|
|
|
|
LLIBS=$(LLIBS) $(GLOWDIR)\glowcode.lib
|
|
|
|
!endif
|
|
|
|
|
1998-03-28 05:44:41 +03:00
|
|
|
#//------------------------------------------------------------------------
|
1998-11-05 11:57:24 +03:00
|
|
|
#//
|
|
|
|
#// Define the files necessary to build the target (ie. OBJS)
|
1998-03-28 05:44:41 +03:00
|
|
|
#//
|
|
|
|
#//------------------------------------------------------------------------
|
1998-11-05 11:57:24 +03:00
|
|
|
OBJS = \
|
1998-03-28 05:44:41 +03:00
|
|
|
.\$(OBJDIR)\jsdebug.obj \
|
|
|
|
.\$(OBJDIR)\jsd_high.obj \
|
|
|
|
.\$(OBJDIR)\jsd_hook.obj \
|
1998-11-05 11:57:24 +03:00
|
|
|
.\$(OBJDIR)\jsd_lock.obj \
|
1998-03-28 05:44:41 +03:00
|
|
|
.\$(OBJDIR)\jsd_scpt.obj \
|
|
|
|
.\$(OBJDIR)\jsd_stak.obj \
|
1998-11-05 11:57:24 +03:00
|
|
|
.\$(OBJDIR)\jsd_step.obj \
|
|
|
|
.\$(OBJDIR)\jsd_text.obj \
|
|
|
|
.\$(OBJDIR)\jsd_val.obj \
|
|
|
|
$(NULL)
|
1998-03-28 05:44:41 +03:00
|
|
|
|
1998-11-05 11:57:24 +03:00
|
|
|
#//------------------------------------------------------------------------
|
|
|
|
#//
|
|
|
|
#// install headers
|
|
|
|
#//
|
|
|
|
#//------------------------------------------------------------------------
|
|
|
|
INSTALL_DIR=$(PUBLIC)\jsd
|
|
|
|
INSTALL_FILE_LIST= \
|
|
|
|
jsdebug.h \
|
|
|
|
$(NULL)
|
1998-03-28 05:44:41 +03:00
|
|
|
|
|
|
|
#//------------------------------------------------------------------------
|
|
|
|
#//
|
|
|
|
#// Include the common makefile rules
|
|
|
|
#//
|
|
|
|
#//------------------------------------------------------------------------
|
|
|
|
include <$(DEPTH)\config\rules.mak>
|
|
|
|
|
|
|
|
install:: $(DLL)
|
|
|
|
$(MAKE_INSTALL) .\$(OBJDIR)\$(DLLNAME).dll $(DIST)\bin
|
|
|
|
$(MAKE_INSTALL) .\$(OBJDIR)\$(DLLNAME).lib $(DIST)\lib
|
|
|
|
|
|
|
|
export:: INSTALL_FILES
|
|
|
|
|
|
|
|
|