mirror of
https://git.openafs.org/openafs.git
synced 2025-01-22 17:00:15 +00:00
9c9b906c8a
Some functions in libafsutil depend upon the RX libraries, which means that pulling in other functions in this library can create a dependency upon RX. This is less than ideal for low-level libraries such as cmd and comerr. So, create a new low-level library (currently named 'opr') which can contain low-level functions from util, and elsewhere. This library should have no dependencies other than on system libraries and libroken. Change-Id: I703db3da4d8faf79ee82bf572af09d07152d9b25 Reviewed-on: http://gerrit.openafs.org/5363 Reviewed-by: Derrick Brashear <shadow@dementix.org> Tested-by: Derrick Brashear <shadow@dementix.org>
102 lines
2.5 KiB
Plaintext
102 lines
2.5 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
|
|
|
|
AFSDEV_AUXCDEFINES = -DAFS_PTHREAD_ENV -DRXDEBUG -DFSSYNC_BUILD_SERVER #-DAFS_DEMAND_ATTACH_FS
|
|
|
|
RELDIR=tviced
|
|
!INCLUDE ..\config\NTMakefile.$(SYS_NAME)
|
|
!INCLUDE ..\config\NTMakefile.version
|
|
|
|
SRC_DIR = ..\viced
|
|
|
|
############################################################################
|
|
# Build the fileserver
|
|
|
|
EXEFILE = $(DESTDIR)\root.server\usr\afs\bin\fileserver.exe
|
|
|
|
VICED = ..\viced
|
|
TVICED = .
|
|
LWP = ..\lwp
|
|
LIBACL = ..\libacl
|
|
FSINT = ..\fsint
|
|
RX = ..\rx
|
|
|
|
RXOBJS = $(OUT)\xdr_int64.obj \
|
|
$(OUT)\xdr_int32.obj
|
|
|
|
VICEDOBJS = $(OUT)\viced.obj $(OUT)\afsfileprocs.obj $(OUT)\fsstats.obj $(OUT)\host.obj $(OUT)\physio.obj $(OUT)\callback.obj
|
|
|
|
TVICEDRES = $(OUT)\fileserver.res
|
|
|
|
TVICEDOBJS = $(OUT)\serialize_state.obj
|
|
|
|
LWPOBJS = $(OUT)\lock.obj $(OUT)\fasttime.obj $(OUT)\threadname.obj
|
|
|
|
LIBACLOBJS = $(OUT)\aclprocs.obj $(OUT)\netprocs.obj
|
|
|
|
FSINTOBJS = $(OUT)\afsaux.obj $(OUT)\afscbint.cs.obj $(OUT)\afsint.ss.obj $(OUT)\afsint.xdr.obj
|
|
|
|
EXEOBJS = $(VICEDOBJS) $(TVICEDRES) $(LWPOBJS) $(LIBACLOBJS) \
|
|
$(FSINTOBJS) $(RXOBJS) #$(TVICEDOBJS)
|
|
|
|
noversion: install
|
|
|
|
all: fileserver
|
|
|
|
$(RXOBJS): $(RX)\$$(@B).c
|
|
$(C2OBJ) -I$(RX) $**
|
|
|
|
$(VICEDOBJS): $(VICED)\$$(@B).c
|
|
$(C2OBJ) -I$(VICED) $**
|
|
|
|
$(TVICEDRES): $(VICED)\fileserver.rc AFS_component_version_number.h
|
|
$(RC) /fo $(TVICEDRES) $(VICED)\fileserver.rc
|
|
|
|
$(TVICEDOBJS): $(TVICED)\$$(@B).c
|
|
$(C2OBJ) -I$(TVICED) $**
|
|
|
|
$(LWPOBJS): $(LWP)\$$(@B).C
|
|
$(C2OBJ) -I$(LWP) $**
|
|
|
|
$(LIBACLOBJS): $(LIBACL)\$$(@B).C
|
|
$(C2OBJ) -I$(LIBACL) $**
|
|
|
|
$(FSINTOBJS): $(FSINT)\$$(@B).C
|
|
$(C2OBJ) -I$(FSINT) $**
|
|
|
|
EXELIBS = \
|
|
$(DESTDIR)\lib\afsauthent.lib \
|
|
$(DESTDIR)\lib\afsrpc.lib \
|
|
$(DESTDIR)\lib\afs\afscmd.lib \
|
|
$(DESTDIR)\lib\afs\afsaudit.lib \
|
|
$(DESTDIR)\lib/afs/afscom_err.lib \
|
|
$(DESTDIR)\lib\afs\afsreg.lib \
|
|
$(DESTDIR)\lib\afs\afsprocmgmt.lib \
|
|
$(DESTDIR)\lib\afs\afseventlog.lib \
|
|
$(DESTDIR)\lib\afs\mtafsutil.lib \
|
|
$(DESTDIR)\lib\afs\mtafsvol.lib \
|
|
$(DESTDIR)\lib\afs\mtafsvldb.lib \
|
|
$(DESTDIR)\lib\afs\mtafsdir.lib \
|
|
$(DESTDIR)\lib\opr.lib \
|
|
$(DESTDIR)\lib\afspthread.lib \
|
|
$(DESTDIR)\lib\afsroken.lib
|
|
|
|
$(EXEFILE): $(EXEOBJS) $(EXELIBS)
|
|
$(EXECONLINK)
|
|
$(_VC_MANIFEST_EMBED_EXE)
|
|
$(EXEPREP)
|
|
$(CODESIGN_USERLAND)
|
|
$(SYMSTORE_IMPORT)
|
|
|
|
install: $(EXEFILE)
|
|
|
|
mkdir:
|
|
|
|
clean::
|
|
$(DEL) $(TVICEDRES)
|
|
|