~ubuntu-branches/ubuntu/gutsy/openafs/gutsy

« back to all changes in this revision

Viewing changes to src/update/NTMakefile

  • Committer: Bazaar Package Importer
  • Author(s): Sam Hartman
  • Date: 2004-01-10 16:37:33 UTC
  • Revision ID: james.westby@ubuntu.com-20040110163733-jvr0n1uahshlb1uu
Tags: upstream-1.2.11
ImportĀ upstreamĀ versionĀ 1.2.11

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Copyright 2000, International Business Machines Corporation and others.
 
2
# All Rights Reserved.
 
3
 
4
# This software has been released under the terms of the IBM Public
 
5
# License.  For details, see the LICENSE file in the top-level source
 
6
# directory or online at http://www.openafs.org/dl/license10.html
 
7
 
 
8
!INCLUDE ..\config\NTMakefile.$(SYS_NAME)
 
9
!INCLUDE ..\config\NTMakefile.version
 
10
 
 
11
 
 
12
LIBS = \
 
13
        $(DESTDIR)\lib\afs\afsauth.lib \
 
14
        $(DESTDIR)\lib\afs\afsauth.lib \
 
15
        $(DESTDIR)\lib\afs\afscom_err.lib \
 
16
        $(DESTDIR)\lib\afs\afsutil.lib \
 
17
        $(DESTDIR)\lib\afs\afsreg.lib \
 
18
        $(DESTDIR)\lib\afslwp.lib \
 
19
        $(DESTDIR)\lib\afsdes.lib \
 
20
        $(DESTDIR)\lib\afsrx.lib \
 
21
        $(DESTDIR)\lib\afsubik.lib \
 
22
        $(DESTDIR)\lib\afs\afseventlog.lib \
 
23
        $(DESTDIR)\lib\afsrxkad.lib \
 
24
        $(DESTDIR)\lib\afs\afsprocmgmt.lib \
 
25
        $(DESTDIR)\lib\cm_dns.obj
 
26
 
 
27
############################################################################
 
28
# Definitions for generating files via RXGEN
 
29
 
 
30
update.cs.c update.ss.c update.er.c update.h: update.xg
 
31
        $(RXGEN) $**
 
32
 
 
33
############################################################################
 
34
# upserver
 
35
UPSERVER = $(DESTDIR)\root.server\usr\afs\bin\upserver.exe
 
36
 
 
37
USVR_OBJS = \
 
38
        AFS_component_version_number.obj \
 
39
        server.obj \
 
40
        utils.obj \
 
41
        update.ss.obj \
 
42
        upserver.res
 
43
 
 
44
$(UPSERVER):  $(USVR_OBJS) $(LIBS)
 
45
        $(EXECONLINK)
 
46
        $(EXEPREP) 
 
47
 
 
48
############################################################################
 
49
# upclient
 
50
UPCLIENT = $(DESTDIR)\root.server\usr\afs\bin\upclient.exe
 
51
 
 
52
UCLNT_OBJS = \
 
53
        AFS_component_version_number.obj \
 
54
        client.obj \
 
55
        utils.obj \
 
56
        update.cs.obj \
 
57
        upclient.res
 
58
 
 
59
$(UPCLIENT):  $(UCLNT_OBJS)  $(LIBS)
 
60
        $(EXECONLINK)
 
61
        $(EXEPREP) 
 
62
 
 
63
############################################################################
 
64
# generate versioninfo resources
 
65
 
 
66
upserver.res: upserver.rc AFS_component_version_number.h
 
67
        $(RC) $*.rc
 
68
upclient.res: upclient.rc AFS_component_version_number.h
 
69
        $(RC) $*.rc
 
70
 
 
71
############################################################################
 
72
# Install update executables.
 
73
 
 
74
install: update.h $(UPCLIENT) $(UPSERVER)
 
75
 
 
76
 
 
77
############################################################################
 
78
# Local clean target; augments predefined clean target
 
79
 
 
80
clean::
 
81
        $(DEL) update.cs.c update.ss.c update.xdr.c update.h