mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-13 23:17:57 +00:00
110 lines
3.3 KiB
Plaintext
110 lines
3.3 KiB
Plaintext
#!gmake
|
|
#
|
|
# 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.
|
|
|
|
|
|
|
|
IGNORE_MANIFEST=1
|
|
#//------------------------------------------------------------------------
|
|
#//
|
|
#// Makefile to build the libi18n tree
|
|
#//
|
|
#//------------------------------------------------------------------------
|
|
|
|
#//------------------------------------------------------------------------
|
|
#//
|
|
#// Specify the depth of the current directory relative to the
|
|
#// root of NS
|
|
#//
|
|
#//------------------------------------------------------------------------
|
|
DEPTH=..\..
|
|
|
|
#//--------------------------------------------------------------
|
|
#// For the present, we are not building the DLL on Win16
|
|
#//--------------------------------------------------------------
|
|
|
|
!if "$(MOZ_BITS)" == "32"
|
|
MAKE_OBJ_TYPE=DLL
|
|
|
|
|
|
#//------------------------------------------------------------------------
|
|
#//
|
|
#// Define any Public Make Variables here: (ie. PDFFILE, MAPFILE, ...)
|
|
#//
|
|
#//------------------------------------------------------------------------
|
|
DLLNAME=unicvt$(MOZ_BITS)
|
|
!endif
|
|
|
|
#//--------------------------------------------------------------
|
|
#// For the present, we are not building the DLL on Win16
|
|
#//--------------------------------------------------------------
|
|
#!if "$(MOZ_BITS)" == "16"
|
|
#DEFFILE=$(DLLNAME).def
|
|
#!endif
|
|
|
|
|
|
!if "$(MOZ_BITS)" == "32"
|
|
OBJS= \
|
|
.\$(OBJDIR)\unicvt.obj \
|
|
$(NULL)
|
|
|
|
#//------------------------------------------------------------------------
|
|
#//
|
|
#// Define any Public Targets here (ie. PROGRAM, LIBRARY, DLL, ...)
|
|
#// (these must be defined before the common makefiles are included)
|
|
#//
|
|
#//------------------------------------------------------------------------
|
|
DLL=.\$(OBJDIR)\$(DLLNAME).dll
|
|
|
|
LINCS=$(LINCS) -I_gen -I$(PUBLIC)\dbm -I$(DEPTH)\include -I$(XPDIST)\applet
|
|
|
|
!if defined(MOZ_DEBUG) && defined(GLOWCODE)
|
|
LLIBS=$(LLIBS) $(GLOWDIR)\glowcode.lib
|
|
!endif
|
|
|
|
#// End of MOZ_BITS == 32
|
|
!endif
|
|
|
|
|
|
#//------------------------------------------------------------------------
|
|
#//
|
|
#// Specify any "command" targets. (ie. DIRS, INSTALL_FILES, ...)
|
|
#// (these must come before the common makefiles are included)
|
|
#//
|
|
#// DIRS - There are subdirectories to process
|
|
#//
|
|
#//------------------------------------------------------------------------
|
|
DIRS=unicode
|
|
|
|
|
|
#//------------------------------------------------------------------------
|
|
#//
|
|
#// Include the common makefile rules
|
|
#//
|
|
#//------------------------------------------------------------------------
|
|
include <$(DEPTH)/config/rules.mak>
|
|
|
|
#// More Win32 only stuff...
|
|
|
|
!if "$(MOZ_BITS)" == "32"
|
|
|
|
install:: $(DLL) $(LIBRARY)
|
|
$(MAKE_INSTALL) .\$(OBJDIR)\$(DLLNAME).dll $(DIST)\bin
|
|
$(MAKE_INSTALL) .\$(OBJDIR)\$(DLLNAME).lib $(DIST)\lib
|
|
|
|
|
|
!endif
|