openafs/src/fsint/NTMakefile
Jeffrey Altman 98544e6ab4 patch-from-shadow-to-jaltman-bkbox-20031120
This massive patch contains changes in several significant areas for Windows:

- the ability to specify the mount point to be something other than /afs

- functionality to assist debugging of the NT Services

- support for languages other than English (NTLang.bat)

- revisions to the Build system to support separate trees for src, obj,
  dest and free or checked; allow any MS compiler to be used

- updates to NSIS installer build

- mutex locking added to critical locations

- updates to IS5 directory tree creation

- update to afswsNetscape_config.sh
2003-11-21 07:59:35 +00:00

94 lines
2.1 KiB
Plaintext

# Copyright 2000, International Business Machines Corporation and others.
# All Rights Reserved.
#
# This software has been released under the terms of the IBM Public
# License. For details, see the LICENSE file in the top-level source
# directory or online at http://www.openafs.org/dl/license10.html
RELDIR=fsint
!INCLUDE ..\config\NTMakefile.$(SYS_NAME)
!IF (EXIST(..\config\NTMakefile.version))
!INCLUDE ..\config\NTMakefile.version
!ENDIF
# Definitions for installing header files
INCFILEDIR = $(DESTDIR)\include\afs
INCFILES =\
$(INCFILEDIR)\afsint.h \
$(INCFILEDIR)\afscbint.h
# afsint.lib
LIBFILE = $(DESTDIR)\lib\afs\afsint.lib
LIBOBJS =\
$(OUT)\afscbint.cs.obj \
$(OUT)\afscbint.ss.obj \
$(OUT)\afscbint.xdr.obj \
$(OUT)\afsint.cs.obj \
$(OUT)\afsint.ss.obj \
$(OUT)\afsint.xdr.obj \
$(OUT)\afsaux.obj \
$(OUT)\AFS_component_version_number.obj
$(LIBFILE): $(LIBOBJS)
$(LIBARCH)
# use rxgen on afscbint.xg and afsint.xg
afscbint.cs.c afscbint.ss.c afscbint.xdr.c afscbint.h : afscbint.xg common.xg
$(RXGEN) -x -y afscbint.xg
afsint.cs.c afsint.ss.c afsint.xdr.c afsint.h: afsint.xg common.xg
$(RXGEN) -x afsint.xg
# mtafsint.lib
MT_LIBFILE = $(DESTDIR)\lib\afs\mtafsint.lib
MT_LIBOBJS =\
$(OUT)\afscbint.cs_mt.obj \
$(OUT)\afscbint.ss_mt.obj \
$(OUT)\afscbint.xdr_mt.obj \
$(OUT)\afsint.cs_mt.obj \
$(OUT)\afsint.ss_mt.obj \
$(OUT)\afsint.xdr_mt.obj \
$(OUT)\afsaux_mt.obj \
$(OUT)\AFS_component_version_number.obj
$(OUT)\afscbint.cs_mt.obj:afscbint.cs.c
$(C2OBJ) $** -DAFS_PTHREAD_ENV
$(OUT)\afscbint.ss_mt.obj:afscbint.ss.c
$(C2OBJ) $** -DAFS_PTHREAD_ENV
$(OUT)\afscbint.xdr_mt.obj:afscbint.xdr.c
$(C2OBJ) $** -DAFS_PTHREAD_ENV
$(OUT)\afsint.cs_mt.obj:afsint.cs.c
$(C2OBJ) $** -DAFS_PTHREAD_ENV
$(OUT)\afsint.ss_mt.obj:afsint.ss.c
$(C2OBJ) $** -DAFS_PTHREAD_ENV
$(OUT)\afsint.xdr_mt.obj:afsint.xdr.c
$(C2OBJ) $** -DAFS_PTHREAD_ENV
$(OUT)\afsaux_mt.obj:afsaux.c
$(C2OBJ) $** -DAFS_PTHREAD_ENV
$(MT_LIBFILE): $(MT_LIBOBJS)
$(LIBARCH)
install: $(LIBFILE) $(INCFILES) $(MT_LIBFILE)
install9x: install
clean::
$(DEL) *.cs.c *.ss.c *.xdr.c afsint.h afscbint.h
$(DEL) $(LIBFILE) $(MT_LIBFILE)
mkdir: