win95-initial-port-20010430
[openafs.git] / src / WINNT / install / Win9x / NTMakeFile
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
9 !INCLUDE ..\..\..\config\NTMakefile.$(SYS_NAME)
10 !INCLUDE ..\..\..\config\NTMakefile.version
11 OUTDIR = $(DESTDIR)\WinInstall
12
13 ############################################################################
14
15 COMPONENTS = \
16         INSTALL.BAT \
17         UNINSTALL.BAT \
18         afsd.pif \
19         cellservdb \
20         readme.doc \
21         license.txt \
22         AFSD.EXE \
23         templet.reg \
24         runonce.pif \
25         $(DESTDIR)\bin\util_cr.exe \
26         $(DESTDIR)\root.client\usr\vice\etc\unlog.exe \
27         $(DESTDIR)\root.client\usr\vice\etc\afs_shl_ext_1033.dll \
28         $(DESTDIR)\lib\afsauthent.dll \
29         $(DESTDIR)\root.client\usr\vice\etc\afsshare.exe \
30         $(DESTDIR)\root.client\usr\vice\etc\fs.exe \
31         $(DESTDIR)\root.client\usr\vice\etc\klog.exe \
32         $(DESTDIR)\bin\kpasswd.exe \
33         $(DESTDIR)\root.client\usr\vice\etc\libosi.dll \
34         $(DESTDIR)\root.client\usr\vice\etc\libafsconf.dll \
35         $(DESTDIR)\bin\pts.exe \
36         $(DESTDIR)\root.client\usr\vice\etc\tokens.exe \
37         $(DESTDIR)\root.client\usr\vice\etc\afs_shl_ext.dll \
38         $(DESTDIR)\lib\win95\pthread.dll \
39         $(DESTDIR)\lib\afsrpc.dll
40                 
41
42 $(COMPONENTS)::
43         $(COPY) $@ $(DESTDIR)\WinInstall\.
44
45 !IF (EXIST(ISBUILD.H))
46 !INCLUDE ISBUILD.MAK
47 !ENDIF
48
49 build:
50         copy install.bat $(OUTDIR)\.
51
52 install: prep $(COMPONENTS) build
53
54 install9x: install
55
56 clean ::
57     $(DEL) $(OUTDIR)\DiskIm~1\Disk1\*
58     $(DEL) $(OUTDIR)\DiskIm~1\WebInstall\*
59
60 .SILENT:
61 prep :
62         if not exist $(DESTDIR)\WinInstall\sock.vxd $(DESTDIR)\bin\util_cr.exe ~ "SOCK.VXD is missing from $(DESTDIR)\WinInstall\."
63         if not exist $(DESTDIR)\WinInstall\mmap.vxd $(DESTDIR)\bin\util_cr.exe ~ "MMAP.VXD is missing from $(DESTDIR)\WinInstall\."
64         if not exist $(DESTDIR)\WinInstall\afsd.exe $(DESTDIR)\bin\util_cr.exe ~ "AFSD.EXE is missing from $(DESTDIR)\WinInstall\."
65