Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

259 lines
10 KiB

  1. # File: D:\WACKER\tdll\makefile.t (Created: 26-Nov-1993)
  2. #
  3. # Copyright 1993, 1998 by Hilgraeve Inc. -- Monroe, MI
  4. # All rights reserved
  5. #
  6. # $Revision: 25 $
  7. # $Date: 2/28/02 4:27p $
  8. #
  9. .PATH.c=.;..\emu;..\xfer;..\cncttapi;..\comstd;\
  10. ..\ext;..\comwsock;..\nih;
  11. .PATH.cpp=.;..;\shared\classes
  12. MKMF_SRCS = \
  13. .\tdll.c .\globals.c \
  14. .\sf.c .\sessproc.c \
  15. .\misc.c .\dodialog.c \
  16. .\assert.c .\sidebar.c \
  17. .\com.c .\comdef.c \
  18. .\comsend.c \
  19. .\getchar.c .\sesshdl.c \
  20. .\toolbar.c .\statusbr.c \
  21. .\aboutdlg.c .\termproc.c \
  22. .\tchar.c .\update.c \
  23. .\backscrl.c .\termhdl.c \
  24. .\termupd.c .\termpnt.c \
  25. .\genrcdlg.c \
  26. .\load_res.c .\errorbox.c \
  27. .\send_dlg.c .\timers.c \
  28. .\open_msc.c .\termutil.c \
  29. .\file_msc.c .\recv_dlg.c \
  30. .\sessmenu.c .\cloop.c \
  31. .\cloopctl.c .\cloopout.c \
  32. .\xfer_msc.c .\sessutil.c \
  33. .\vu_meter.c .\xfdspdlg.c \
  34. .\cncthdl.c .\sessfile.c \
  35. .\cpf_dlg.c .\capture.c \
  36. .\fontdlg.c .\print.c \
  37. .\cncthdl.c .\cnctstub.c \
  38. .\property.c .\printhdl.c \
  39. .\print.c .\termcpy.c \
  40. .\clipbrd.c .\prnecho.c \
  41. .\termmos.c .\termcur.c \
  42. .\printdc.c .\printset.c \
  43. .\file_io.c .\new_cnct.c \
  44. .\asciidlg.c .\cloopset.c \
  45. .\propterm.c \
  46. .\banner.c \
  47. .\autosave.c .\translat.c \
  48. .\telnetck.c .\registry.c \
  49. .\upgrddlg.c .\hlptable.c \
  50. .\key_sdlg.c .\key_dlg.c \
  51. .\keymacro.cpp .\keymlist.cpp \
  52. .\keyextrn.cpp .\keyutil.c \
  53. .\keyedit.c .\nagdlg.c \
  54. .\serialno.c \
  55. .\register.c \
  56. \
  57. ..\emu\emudlgs.c \
  58. ..\emu\colrdlg.c \
  59. ..\emu\emu.c ..\emu\emu_std.c \
  60. \
  61. ..\emu\emu_ansi.c ..\emu\emu_scr.c \
  62. ..\emu\vt52.c \
  63. ..\emu\ansi.c ..\emu\ansiinit.c \
  64. ..\emu\vt100.c ..\emu\vt_xtra.c \
  65. ..\emu\emuhdl.c ..\emu\vt100ini.c \
  66. ..\emu\vt_chars.c ..\emu\vt52init.c \
  67. ..\emu\viewdini.c ..\emu\viewdata.c \
  68. ..\emu\autoinit.c ..\emu\minitel.c \
  69. ..\emu\minitelf.c \
  70. ..\emu\vt220ini.c ..\emu\vt220.c \
  71. ..\emu\vtutf8ini.c \
  72. \
  73. ..\xfer\x_kr_dlg.c ..\xfer\xfr_todo.c \
  74. ..\xfer\xfr_srvc.c ..\xfer\xfr_dsp.c \
  75. ..\xfer\x_entry.c ..\xfer\x_params.c \
  76. ..\xfer\itime.c \
  77. ..\xfer\foo.c ..\xfer\zmdm.c \
  78. ..\xfer\zmdm_snd.c ..\xfer\zmdm_rcv.c \
  79. ..\xfer\mdmx.c \
  80. ..\xfer\mdmx_sd.c ..\xfer\mdmx_res.c \
  81. ..\xfer\mdmx_crc.c ..\xfer\mdmx_rcv.c \
  82. ..\xfer\mdmx_snd.c ..\xfer\krm.c \
  83. ..\xfer\krm_res.c ..\xfer\krm_rcv.c \
  84. ..\xfer\krm_snd.c ..\xfer\x_xy_dlg.c \
  85. ..\xfer\x_zm_dlg.c \
  86. \
  87. ..\cncttapi\cncttapi.c ..\cncttapi\dialdlg.c \
  88. ..\cncttapi\enum.c ..\cncttapi\cnfrmdlg.c \
  89. ..\cncttapi\phonedlg.c ..\cncttapi\pcmcia.c \
  90. \
  91. ..\comstd\comstd.c \
  92. \
  93. ..\comwsock\comwsock.c ..\comwsock\comnvt.c \
  94. \
  95. ..\ext\pageext.c ..\ext\fspage.c \
  96. ..\ext\defclsf.c \
  97. \
  98. HDRS =
  99. EXTHDRS =
  100. SRCS =
  101. OBJS =
  102. #-------------------#
  103. RCSFILES = .\makefile.t .\tdll.def \
  104. .\sess_ids.h ..\term\term.rc \
  105. ..\term\tables.rc ..\term\dialogs.rc \
  106. ..\emu\emudlgs.rc ..\term\buttons.bmp \
  107. ..\term\test.rc ..\term\banner.bmp \
  108. ..\cncttapi\cncttapi.rc \
  109. ..\term\newcon.ico ..\term\delphi.ico \
  110. ..\term\att.ico ..\term\dowjones.ico \
  111. ..\term\mci.ico ..\term\genie.ico \
  112. ..\term\compuser.ico ..\term\gen01.ico \
  113. ..\term\gen02.ico ..\term\gen03.ico \
  114. ..\term\gen04.ico ..\term\gen05.ico \
  115. ..\term\gen06.ico ..\term\gen07.ico \
  116. ..\term\gen08.ico ..\term\gen09.ico \
  117. ..\term\gen10.ico ..\term\s_delphi.ico \
  118. ..\term\s_newcon.ico ..\term\s_att.ico \
  119. ..\term\s_dowj.ico ..\term\s_mci.ico \
  120. ..\term\s_genie.ico ..\term\s_compu.ico \
  121. ..\term\s_gen01.ico ..\term\s_gen02.ico \
  122. ..\term\s_gen03.ico ..\term\s_gen04.ico \
  123. ..\term\s_gen05.ico ..\term\s_gen06.ico \
  124. ..\term\s_gen07.ico ..\term\s_gen08.ico \
  125. ..\term\s_gen09.ico ..\term\s_gen10.ico \
  126. .\features.h ..\term\sbuttons.bmp \
  127. ..\term\htperead.doc ..\nih\htpesess.exe \
  128. ..\term\globe.avi ..\term\htpebnr.bmp \
  129. ..\term\banner1.bmp ..\term\htpeupgd.rtf \
  130. ..\term\htntupgd.rtf ..\term\orderfrm.doc \
  131. ..\term\htperead.htm ..\term\image1.gif \
  132. ..\term\orderfrm.htm ..\term\hyperterminal.ico \
  133. \
  134. ..\help\hyper_pr.rtf ..\help\hypertrm.rtf \
  135. ..\help\hypertrm.cnt ..\help\hypertrm.hpj \
  136. ..\help\cshelp.bmp \
  137. ..\help\hypertrm.hlp ..\term\htpe3bnr.bmp \
  138. ..\help\hypertrm.chm \
  139. \
  140. ..\setup\sessions\htpesess.zip \
  141. ..\setup\ARIALALT.TTF ..\setup\ARIALALS.TTF \
  142. ..\setup\HTPE3.WSE ..\setup\htorder.wse \
  143. ..\setup\htpestub.wse ..\setup\globe.bmp \
  144. ..\setup\globtext.bmp \
  145. $(SRCS) $(EXTHDRS)
  146. NOTUSED = bv_text.c frameprc.c pre_dlg.c .\propgnrl.c \
  147. ..\emu\emustate.c ..\emu\emudisp.c \
  148. .\mc.c .\propcolr.c \
  149. ..\setup\build.bat \
  150. ..\setup\setup\setup.rul ..\setup\setup\setup.lst \
  151. ..\term\htperead.txt ..\term\orderfrm.txt \
  152. ..\setup\FINISHED.DLG \
  153. ..\setup\WELCOME.DLG ..\setup\README.DLG \
  154. ..\setup\CHOOSE.DLG ..\setup\GROUP.DLG \
  155. ..\setup\READY.DLG ..\setup\RADIO.DLG \
  156. ..\setup\Compnent.dlg \
  157. ..\setup\where.dlg \
  158. ..\emu\vt100.hh ..\emu\vt100.hh \
  159. .\cscript.h \
  160. .\cscript.cpp \
  161. ..\nih\shmalloc.h ..\nih\smrtheap.h \
  162. ..\nih\Shdw32md.lib ..\nih\Sh22w32d.dll \
  163. ..\nih\shfusion.c ..\nih\shfusion.h \
  164. ..\nih\msvcrt.dll ..\nih\msvcirt.dll \
  165. #-------------------#
  166. %include ..\common.mki
  167. #-------------------#
  168. TARGETS : hypertrm.dll hypertrm.exp hypertrm.lib
  169. #-------------------#
  170. CFLAGS += /Fd$(BD)\hypertrm
  171. %if defined(USE_BROWSER) && $(VERSION) == WIN_DEBUG
  172. CFLAGS += /Fr$(BD)/
  173. TARGETS : hypertrm.bsc
  174. %endif
  175. %if defined(MAP_AND_SYMBOLS)
  176. TARGETS : hypertrm.sym
  177. %endif
  178. %if $(VERSION) == WIN_DEBUG
  179. LFLAGS += msvcrtd.lib /NODEFAULTLIB:libcmt.lib /NODEFAULTLIB:msvcrt.lib \
  180. %endif
  181. %if $(VERSION) == WIN_RELEASE
  182. LFLAGS += msvcrt.lib /NODEFAULTLIB:libcmtd.lib /NODEFAULTLIB:msvcrtd.lib \
  183. %endif
  184. LFLAGS += /DLL /entry:TDllEntry $(**,M\.res) /PDB:$(BD)\hypertrm \
  185. user32.lib gdi32.lib kernel32.lib winspool.lib \
  186. tapi32.lib shell32.lib uuid.lib comdlg32.lib advapi32.lib \
  187. comctl32.lib wsock32.lib ole32.lib oleaut32.lib
  188. #--------------------------------------------------------------------#
  189. # If the user has the Platform SDK installed, then link with the
  190. # platform SDK version of htmlhelp because the correct version of
  191. # the library will be used for both 32-bit and 64-bit builds.
  192. # Otherwise link with the older 32-bit version of htmlhlp.lib that
  193. # is located in the nih directory. REV: 11/16/2001
  194. #--------------------------------------------------------------------#
  195. %if defined(PLATFORM_SDK_INSTALLED)
  196. LFLAGS += htmlhelp.lib
  197. %else
  198. LFLAGS += ..\nih\htmlhelp.lib
  199. %endif
  200. #-------------------#
  201. hypertrm.dll + hypertrm.exp + hypertrm.lib .MISER : $(OBJS) ..\tdll\tdll.def term.res
  202. @echo Linking $(@,F) ...
  203. @link $(LFLAGS) $(OBJS:X) /DEF:..\tdll\tdll.def -out:$(@,M\.dll)
  204. %chdir $(BD)
  205. @bind hypertrm.dll
  206. hypertrm.bsc : $(OBJS,.obj=.sbr)
  207. @echo Building browser file $(@,F) ...
  208. @bscmake /nologo /o$@ $(OBJS,X,.obj=.sbr)
  209. hypertrm.sym : hypertrm.map
  210. @mapsym -o $@ $**
  211. #-------------------#
  212. term.res .MISER : \
  213. ..\term\term.rc ..\term\res.h \
  214. ..\term\tables.rc ..\term\dialogs.rc \
  215. ..\emu\emudlgs.rc \
  216. ..\cncttapi\cncttapi.rc ..\term\test.rc \
  217. ..\term\buttons.bmp ..\term\banner.bmp \
  218. ..\term\sbuttons.bmp ..\term\globe.avi \
  219. ..\tdll\features.h \
  220. ..\term\htntupgd.rtf ..\term\htpeupgd.rtf
  221. @echo compiling resources
  222. # Changed to term dir to build rc files. This accommadates changes
  223. # made to the rc files by Microsoft. - mrw:10/20/95
  224. %chdir ..\term
  225. @rc -r $(EXTRA_RC_DEFS) /D$(BLD_VER) /DWIN32 /D$(LANG) -i..\ -i..\tdll -fo$@ ..\term\term.rc
  226. #-------------------#
  227. ### OPUS MKMF: Do not remove this line! Generated dependencies follow.