sar 4292b1f9d5 change MOZ_SRC references to DEPTH
git-svn-id: svn://10.0.0.236/trunk@476 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-21 21:38:43 +00:00

52 lines
1.6 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
#
MODULE=hook
LIBRARY_NAME=hook
DEPTH=..\..\..
LOCAL_INCLUDES=-I.
LIBRARY=libhook.a
CSRCS=hk_conf.c hk_file.c hk_hook.c hk_init.c hk_tag.c
REQUIRES=libxp util js img layer parse hook pref dbm nspr
C_OBJS=.\$(OBJDIR)\hk_conf.obj .\$(OBJDIR)\hk_file.obj \
.\$(OBJDIR)\hk_hook.obj .\$(OBJDIR)\hk_init.obj \
.\$(OBJDIR)\hk_tag.obj
!if "$(MOZ_BITS)" != "16"
LINCS=-I$(XPDIST)\public\libxp -I$(XPDIST)\public\util \
-I$(XPDIST)\public\js -I$(XPDIST)\public\img \
-I$(XPDIST)\public\layer -I$(XPDIST)\public\parse \
-I$(XPDIST)\public\hook -I$(XPDIST)\public\pref \
-I$(XPDIST)\public\dbm -I$(XPDIST)\public\nspr
!endif
!include $(DEPTH)\config\rules.mak
#
# JMC doesn't install the module library that we make on windows
# Hence we have our own rule to install the library.
#
MY_INSTALL_FILE_LIST = $(LIBRARY)
MY_INSTALL_DIR = $(DIST)\lib
install::
!$(MAKE_INSTALL) $(MY_INSTALL_FILE_LIST) $(MY_INSTALL_DIR)