1 | @echo off |
---|
2 | REM |
---|
3 | REM File: bldrel.bat |
---|
4 | REM Purpose: To compile the XNTP source tree for Win NT. |
---|
5 | REM Date: 05/03/1996 |
---|
6 | REM |
---|
7 | @echo on |
---|
8 | |
---|
9 | @echo ----------------------------------------- |
---|
10 | @echo Building event logging Resources |
---|
11 | @echo ----------------------------------------- |
---|
12 | @cd libntp |
---|
13 | call makemc |
---|
14 | @echo ----------------------------------------- |
---|
15 | @echo Compiling the support library |
---|
16 | @echo ----------------------------------------- |
---|
17 | nmake /f libntp.mak CFG="libntp - Win32 Release" |
---|
18 | |
---|
19 | @echo ----------------------------------------- |
---|
20 | @echo Compiling ntpq program |
---|
21 | @echo ----------------------------------------- |
---|
22 | @cd ..\ntpq |
---|
23 | perl ..\scripts\mkver.bat -P ntpq |
---|
24 | nmake /f ntpq.mak CFG="ntpq - Win32 Release" |
---|
25 | |
---|
26 | @echo ----------------------------------------- |
---|
27 | @echo Compiling ntpdate program |
---|
28 | @echo ----------------------------------------- |
---|
29 | @cd ..\ntpdate |
---|
30 | perl ..\scripts\mkver.bat -P ntpdate |
---|
31 | nmake /f ntpdate.mak CFG="ntpdate - Win32 Release" |
---|
32 | |
---|
33 | @echo ----------------------------------------- |
---|
34 | @echo Compiling ntptrace program |
---|
35 | @echo ----------------------------------------- |
---|
36 | @cd ..\ntptrace |
---|
37 | perl ..\scripts\mkver.bat -P ntptrace |
---|
38 | nmake /f ntptrace.mak CFG="ntptrace - Win32 Release" |
---|
39 | |
---|
40 | @echo ----------------------------------------- |
---|
41 | @echo Compiling the Network Time Protocol server |
---|
42 | @echo ----------------------------------------- |
---|
43 | @cd ..\xntpd |
---|
44 | perl ..\scripts\mkver.bat -P xntpd |
---|
45 | nmake /f xntpd.mak CFG="xntpd - Win32 Release" |
---|
46 | |
---|
47 | @echo ----------------------------------------- |
---|
48 | @echo Compiling the NTP server control program |
---|
49 | @echo ----------------------------------------- |
---|
50 | @cd ..\xntpdc |
---|
51 | perl ..\scripts\mkver.bat -P xntpdc |
---|
52 | nmake /f xntpdc.mak CFG="xntpdc - Win32 Release" |
---|
53 | |
---|
54 | @echo ----------------------------------------- |
---|
55 | @echo Compiling the service installer |
---|
56 | @echo ----------------------------------------- |
---|
57 | @cd ..\scripts\wininstall\instsrv |
---|
58 | nmake /f instsrv.mak CFG="instsrv - Win32 Release" |
---|
59 | |
---|
60 | @echo ----------------------------------------- |
---|
61 | @echo Compiling the InstallShield support DLL |
---|
62 | @echo ----------------------------------------- |
---|
63 | @cd .. |
---|
64 | nmake /f ntpdll.mak CFG="ntpdll - Win32 Release" |
---|
65 | |
---|
66 | @echo ----------------------------------------- |
---|
67 | @echo Now copying all executables to the scripts\wininstall\distrib directory |
---|
68 | @echo ----------------------------------------- |
---|
69 | @cd ..\.. |
---|
70 | copy xntpd\winrel\*.exe scripts\wininstall\distrib |
---|
71 | copy xntpdc\winrel\*.exe scripts\wininstall\distrib |
---|
72 | copy ntpq\winrel\*.exe scripts\wininstall\distrib |
---|
73 | copy ntpdate\winrel\*.exe scripts\wininstall\distrib |
---|
74 | copy ntptrace\winrel\*.exe scripts\wininstall\distrib |
---|
75 | copy scripts\wininstall\instsrv\winrel\*.exe scripts\wininstall\distrib |
---|
76 | copy scripts\wininstall\winrel\*.dll scripts\wininstall |
---|
77 | @echo ----------------------------------------- |
---|
78 | @echo ----------------------------------------- |
---|
79 | @echo |
---|
80 | |
---|
81 | @echo ----------------------------------------- |
---|
82 | @echo Building InstallShield Package |
---|
83 | @echo ----------------------------------------- |
---|
84 | @cd scripts\wininstall |
---|
85 | build.bat |
---|
86 | |
---|
87 | @echo |
---|
88 | @echo ----------------------------------------- |
---|
89 | @echo Build Complete |
---|
90 | @echo Run install.bat in scripts\wininstall\distrib |
---|
91 | @echo to complete installation. |
---|
92 | @echo ----------------------------------------- |
---|