зеркало из https://github.com/mozilla/pjs.git
101 строка
3.2 KiB
Plaintext
101 строка
3.2 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
|
|
#
|
|
|
|
DEPTH = ..\..\..
|
|
|
|
!ifdef MOZ_JAVA
|
|
LOCAL_JMC_SUBDIR = .
|
|
!endif
|
|
|
|
#//------------------------------------------------------------------------
|
|
#//
|
|
#// Specify any "command" targets. (ie. DIRS, INSTALL_FILES, ...)
|
|
#// (these must come before the common makefiles are included)
|
|
#//
|
|
#// DIRS - There is a subdirectory to process
|
|
#// INSTALL_FILES - Files to be installed in the distribution area
|
|
#//
|
|
#//------------------------------------------------------------------------
|
|
|
|
INSTALL_FILE_LIST=*.h
|
|
!if "$(MOZ_BITS)" != "16"
|
|
INSTALL_DIR=$(PUBLIC)\img
|
|
!else
|
|
INSTALL_DIR=$(PUBLIC)\win16
|
|
!endif
|
|
|
|
LCFLAGS = $(LCFLAGS) /TP
|
|
|
|
|
|
MODULE=img
|
|
DEPTH=..\..\..
|
|
!ifdef MOZ_JAVA
|
|
!ifndef STANDALONE_IMAGE_LIB
|
|
JMC_GEN=MIMGCBIF MIMGCB MPSIMGCB
|
|
JMC_GEN_FLAGS=-cimpl -noexc -interface
|
|
EXPORTS=il_types.h ni_pixmp.h libimg.h il_icons.h il_strm.h il_util.h \
|
|
dummy_nc.h $(JMC_GEN_DIR)/MIMGCBIF.h $(JMC_GEN_DIR)/MIMGCB.h \
|
|
$(JMC_GEN_DIR)/MPSIMGCB.h
|
|
JMC_HEADERS=$(JMC_GEN_DIR)\MIMGCBIF.h $(JMC_GEN_DIR)\MIMGCB.h \
|
|
$(JMC_GEN_DIR)\MPSIMGCB.h
|
|
JMC_STUBS=$(JMC_GEN_DIR)\MIMGCBIF.c $(JMC_GEN_DIR)\MIMGCB.c \
|
|
$(JMC_GEN_DIR)\MPSIMGCB.c
|
|
JMC_OBJS=.\$(OBJDIR)\MIMGCBIF.obj .\$(OBJDIR)\MIMGCB.obj \
|
|
.\$(OBJDIR)\MPSIMGCB.obj
|
|
!endif
|
|
!else
|
|
!ifdef STANDALONE_IMAGE_LIB
|
|
EXPORTS=il_types.h ni_pixmp.h libimg.h il_icons.h il_strm.h il_util.h \
|
|
ilINetContext.h ilIURL.h ilINetReader.h ilIImageRenderer.h \
|
|
ilISystemServices.h
|
|
!else
|
|
EXPORTS=il_types.h ni_pixmp.h libimg.h il_icons.h il_strm.h il_util.h \
|
|
dummy_nc.h MIMGCBIF.h MIMGCB.h MPSIMGCB.h
|
|
!endif
|
|
!endif
|
|
|
|
|
|
#//------------------------------------------------------------------------
|
|
#//
|
|
#// Include the common makefile rules
|
|
#//
|
|
#//------------------------------------------------------------------------
|
|
include <$(DEPTH)/config/rules.mak>
|
|
|
|
!ifdef MOZ_JAVA
|
|
!ifndef STANDALONE_IMAGE_LIB
|
|
$(JMC_GEN_DIR)\MIMGCBIF.h: $(JMCSRCDIR)\IMGCBIF.class
|
|
$(JMC) -d $(JMC_GEN_DIR) -interface $(JMC_GEN_FLAGS) $(?F:.class=)
|
|
$(JMC_GEN_DIR)\MIMGCBIF.c: $(JMCSRCDIR)\IMGCBIF.class
|
|
$(JMC) -d $(JMC_GEN_DIR) -module $(JMC_GEN_FLAGS) $(?F:.class=)
|
|
$(JMC_GEN_DIR)\MIMGCB.h: $(JMCSRCDIR)\IMGCB.class
|
|
$(JMC) -d $(JMC_GEN_DIR) -interface $(JMC_GEN_FLAGS) $(?F:.class=)
|
|
$(JMC_GEN_DIR)\MIMGCB.c: $(JMCSRCDIR)\IMGCB.class
|
|
$(JMC) -d $(JMC_GEN_DIR) -module $(JMC_GEN_FLAGS) $(?F:.class=)
|
|
$(JMC_GEN_DIR)\MPSIMGCB.h: $(JMCSRCDIR)\PSIMGCB.class
|
|
$(JMC) -d $(JMC_GEN_DIR) -interface $(JMC_GEN_FLAGS) $(?F:.class=)
|
|
$(JMC_GEN_DIR)\MPSIMGCB.c: $(JMCSRCDIR)\PSIMGCB.class
|
|
$(JMC) -d $(JMC_GEN_DIR) -module $(JMC_GEN_FLAGS) $(?F:.class=)
|
|
!endif
|
|
!endif
|
|
|
|
|
|
export:: INSTALL_FILES
|