File: bldrel.bat

package info (click to toggle)
xntp3 5.93-2
  • links: PTS
  • area: main
  • in suites: hamm
  • size: 7,644 kB
  • ctags: 7,419
  • sloc: ansic: 59,474; perl: 3,633; sh: 2,623; awk: 417; makefile: 311; asm: 37
file content (92 lines) | stat: -rwxr-xr-x 3,127 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
@echo off
REM
REM File: bldrel.bat
REM Purpose: To compile the XNTP source tree for Win NT.
REM Date: 05/03/1996
REM
@echo on

@echo -----------------------------------------
@echo Building event logging Resources
@echo -----------------------------------------
@cd libntp
call makemc
@echo -----------------------------------------
@echo Compiling the support library
@echo -----------------------------------------
nmake  /f libntp.mak CFG="libntp - Win32 Release"

@echo -----------------------------------------
@echo Compiling ntpq program
@echo -----------------------------------------
@cd ..\ntpq
perl ..\scripts\mkver.bat -P ntpq
nmake  /f ntpq.mak CFG="ntpq - Win32 Release"

@echo -----------------------------------------
@echo Compiling ntpdate program
@echo -----------------------------------------
@cd ..\ntpdate
perl ..\scripts\mkver.bat -P ntpdate
nmake  /f ntpdate.mak CFG="ntpdate - Win32 Release"

@echo -----------------------------------------
@echo Compiling ntptrace program
@echo -----------------------------------------
@cd ..\ntptrace
perl ..\scripts\mkver.bat -P ntptrace
nmake  /f ntptrace.mak CFG="ntptrace - Win32 Release"

@echo -----------------------------------------
@echo Compiling the Network Time Protocol server
@echo -----------------------------------------
@cd ..\xntpd
perl ..\scripts\mkver.bat -P xntpd
nmake  /f xntpd.mak CFG="xntpd - Win32 Release"

@echo -----------------------------------------
@echo Compiling the NTP server control program
@echo -----------------------------------------
@cd ..\xntpdc
perl ..\scripts\mkver.bat -P xntpdc
nmake  /f xntpdc.mak CFG="xntpdc - Win32 Release"

@echo -----------------------------------------
@echo Compiling the service installer
@echo -----------------------------------------
@cd ..\scripts\wininstall\instsrv
nmake  /f instsrv.mak CFG="instsrv - Win32 Release"

@echo -----------------------------------------
@echo Compiling the InstallShield support DLL
@echo -----------------------------------------
@cd ..
nmake  /f ntpdll.mak CFG="ntpdll - Win32 Release"

@echo -----------------------------------------
@echo Now copying all executables to the scripts\wininstall\distrib directory
@echo -----------------------------------------
@cd ..\..
copy xntpd\winrel\*.exe    scripts\wininstall\distrib
copy xntpdc\winrel\*.exe   scripts\wininstall\distrib
copy ntpq\winrel\*.exe     scripts\wininstall\distrib
copy ntpdate\winrel\*.exe  scripts\wininstall\distrib
copy ntptrace\winrel\*.exe scripts\wininstall\distrib
copy scripts\wininstall\instsrv\winrel\*.exe  scripts\wininstall\distrib
copy scripts\wininstall\winrel\*.dll  scripts\wininstall
@echo -----------------------------------------
@echo -----------------------------------------
@echo

@echo -----------------------------------------
@echo Building InstallShield Package
@echo -----------------------------------------
@cd scripts\wininstall
build.bat

@echo
@echo -----------------------------------------
@echo Build Complete 
@echo Run install.bat in scripts\wininstall\distrib 
@echo to complete installation.
@echo -----------------------------------------