1999-01-21 04:28:27 +03:00
|
|
|
#!nmake
|
|
|
|
#
|
|
|
|
# The contents of this file are subject to the Netscape Public License
|
|
|
|
# Version 1.0 (the "NPL"); you may not use this file except in
|
|
|
|
# compliance with the NPL. You may obtain a copy of the NPL at
|
|
|
|
# http://www.mozilla.org/NPL/
|
|
|
|
#
|
|
|
|
# Software distributed under the NPL is distributed on an "AS IS" basis,
|
|
|
|
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
|
|
|
|
# for the specific language governing rights and limitations under the
|
|
|
|
# NPL.
|
|
|
|
#
|
|
|
|
# The Initial Developer of this code under the NPL is Netscape
|
|
|
|
# Communications Corporation. Portions created by Netscape are
|
|
|
|
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
|
|
|
|
# Reserved.
|
|
|
|
DEPTH = ..\..\..
|
|
|
|
|
|
|
|
IGNORE_MANIFEST=1
|
|
|
|
|
|
|
|
|
|
|
|
MAKE_OBJ_TYPE = EXE
|
|
|
|
PROG1 = .\$(OBJDIR)\LocaleSelfTest.exe
|
1999-01-29 02:27:55 +03:00
|
|
|
PROG2 = .\$(OBJDIR)\nsLocaleTest.exe
|
1999-08-02 07:00:23 +04:00
|
|
|
SRPT1 = .\nsLocaleTest.html
|
1999-01-29 02:27:55 +03:00
|
|
|
PROGRAMS = $(PROG1) $(PROG2)
|
1999-08-02 07:00:23 +04:00
|
|
|
SRPTS = $(SRPT1)
|
|
|
|
|
1999-01-21 04:28:27 +03:00
|
|
|
|
1999-08-04 11:16:00 +04:00
|
|
|
LCFLAGS=-DUSE_NSREG $(LCFLAGS)
|
1999-01-21 04:28:27 +03:00
|
|
|
|
|
|
|
REQUIRES=libreg
|
|
|
|
|
1999-02-04 04:37:46 +03:00
|
|
|
LINCS=-I$(PUBLIC)\xpcom -I$(PUBLIC)\locale -I$(PUBLIC)\raptor \
|
|
|
|
-I$(PUBLIC)\uconv -I$(PUBLIC)\unicharutil
|
1999-01-21 04:28:27 +03:00
|
|
|
|
|
|
|
LLIBS= \
|
1999-05-26 05:38:36 +04:00
|
|
|
$(DIST)\lib\xpcom.lib \
|
1999-01-21 04:28:27 +03:00
|
|
|
$(LIBNSPR) \
|
1999-01-29 02:27:55 +03:00
|
|
|
$(DIST)\lib\nslocale.lib
|
1999-01-21 04:28:27 +03:00
|
|
|
|
|
|
|
LLFLAGS= /NODEFAULTLIB msvcirt.lib msvcrt.lib
|
|
|
|
|
|
|
|
include <$(DEPTH)\config\rules.mak>
|
|
|
|
|
|
|
|
install:: $(PROGRAMS)
|
1999-08-02 07:00:23 +04:00
|
|
|
-for %p in ($(PROGRAMS) $(SRPTS)) do $(MAKE_INSTALL) %p $(DIST)\bin
|
1999-01-21 04:28:27 +03:00
|
|
|
|
|
|
|
clobber::
|
1999-08-02 07:00:23 +04:00
|
|
|
for %p in ($(PROGRAMS)) do $(RM) %p $(DIST)\bin\%p
|
|
|
|
for %p in ($(SRPTS)) do $(RM) $(DIST)\bin\%p
|
1999-01-21 04:28:27 +03:00
|
|
|
|
|
|
|
$(PROG1): $(OBJDIR) LocaleSelfTest.cpp
|
1999-01-29 02:27:55 +03:00
|
|
|
|
|
|
|
$(PROG2): $(OBJDIR) nsLocaleTest.cpp
|
|
|
|
|