nisheeth%netscape.com 9499876f5c Adding files created by Ori Kravitz (orik@mercury.co.il) for exposing
interfaces for testing the layout engine.


git-svn-id: svn://10.0.0.236/trunk@10627 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 22:16:41 +00:00

107 lines
2.7 KiB
Plaintext

IGNORE_MANIFEST=1
#//------------------------------------------------------------------------
#//
#// Makefile to build
#//
#//------------------------------------------------------------------------
#//------------------------------------------------------------------------
#//
#// Specify the depth of the current directory relative to the
#// root of NS
#//
#//------------------------------------------------------------------------
DEPTH= ..\..\..
include <$(DEPTH)/config/config.mak>
!ifdef MOZ_LIBTEST
!ifndef MAKE_OBJ_TYPE
MAKE_OBJ_TYPE=EXE
!endif
#//------------------------------------------------------------------------
#//
#// Define any Public Make Variables here: (ie. PDFFILE, MAPFILE, ...)
#//
#//------------------------------------------------------------------------
LIBNAME=libtest$(MOZ_BITS)
PDBFILE=$(LIBNAME).pdb
#//------------------------------------------------------------------------
#//
#// Define the files necessary to build the target (ie. OBJS)
#//
#//------------------------------------------------------------------------
OBJS = .\$(OBJDIR)\nsTestEventsApi.obj \
.\$(OBJDIR)\nsTestQueryApi.obj
#//------------------------------------------------------------------------
#//
#// Define any Public Targets here (ie. PROGRAM, LIBRARY, DLL, ...)
#// (these must be defined before the common makefiles are included)
#//
#//------------------------------------------------------------------------
LIBRARY= .\$(OBJDIR)\$(LIBNAME).lib
#//------------------------------------------------------------------------
#//
#// Define any local options for the make tools
#// (ie. LCFLAGS, LLFLAGS, LLIBS, LINCS)
#//
#//------------------------------------------------------------------------
LINCS= $(LINCS) -I_jri \
#
# For Win16 the following include directories are copied into
# ns/dist/public/win16
#
!if "$(MOZ_BITS)" == "32"
-I$(PUBLIC)/xpcom \
-I$(PUBLIC)/libtest \
!endif
-I$(DEPTH)/lib/layout \
$(NULL)
CSRCS = nsTestEventsApi.cpp \
nsTestQueryApi.cpp
!endif # MOZ_LIBTEST
MODULE = libtestimpl
EXPORTS = nsTestEventsApi.h \
nsTestQueryApi.h
#//------------------------------------------------------------------------
#//
#// Include the common makefile rules
#//
#//------------------------------------------------------------------------
include <$(DEPTH)/config/rules.mak>
LCFLAGS=$(LCFLAGS) ^
$(JAVA_DEFINES)
!if "$(MOZ_BITS)" == "32"
PUBLIC_HEADER_DIR=$(PUBLIC)\libtestimpl
!else
PUBLIC_HEADER_DIR=$(PUBLIC)\win16
!endif
export::
$(MAKE_INSTALL) nsTestEventsApi.h $(PUBLIC_HEADER_DIR)
$(MAKE_INSTALL) nsTestQueryApi.h $(PUBLIC_HEADER_DIR)
!ifdef MOZ_LIBTEST
install:: $(LIBRARY)
$(MAKE_INSTALL) $(LIBRARY) $(DIST)\lib
clobber::
$(RM_R) _jri
!endif # MOZ_LIBTEST