about summary refs log tree commit diff stats
path: root/sandbox
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2017-06-16 10:10:30 -0700
committerKartik K. Agaram <vc@akkartik.com>2017-06-16 15:58:38 -0700
commit960e75d0c69287c13202c9843c968a01ecf54f15 (patch)
tree120840063f4dab5dfb476627e05d84ff1ef264cf /sandbox
parent816a782afe52e2c4c464fd19d84b418ce3a34a28 (diff)
downloadmu-960e75d0c69287c13202c9843c968a01ecf54f15.tar.gz
3916 - minimal prints when commenting lines
Diffstat (limited to 'sandbox')
-rw-r--r--sandbox/003-shortcuts.mu160
1 files changed, 143 insertions, 17 deletions
diff --git a/sandbox/003-shortcuts.mu b/sandbox/003-shortcuts.mu
index d8e804f0..ee53335f 100644
--- a/sandbox/003-shortcuts.mu
+++ b/sandbox/003-shortcuts.mu
@@ -10,7 +10,7 @@ scenario editor-inserts-two-spaces-on-tab [
   s:text <- new [ab
 cd]
   e:&:editor <- new-editor s, 0/left, 5/right
-  render screen, e
+  editor-render screen, e
   $clear-trace
   assume-console [
     press tab
@@ -32,7 +32,7 @@ scenario editor-inserts-two-spaces-and-wraps-line-on-tab [
   assume-screen 10/width, 5/height
   s:text <- new [abcd]
   e:&:editor <- new-editor s, 0/left, 5/right
-  render screen, e
+  editor-render screen, e
   $clear-trace
   assume-console [
     press tab
@@ -1010,18 +1010,17 @@ def move-to-previous-line editor:&:editor -> editor:&:editor [
     # then scan back another line
     # if either step fails, give up without modifying cursor or coordinates
     curr:&:duplex-list:char <- copy before-cursor
+    old:&:duplex-list:char <- copy curr
     {
-      old:&:duplex-list:char <- copy curr
       c2:char <- get *curr, value:offset
       at-newline?:bool <- equal c2, 10/newline
       break-if at-newline?
-      curr:&:duplex-list:char <- before-previous-line curr, editor
+      curr <- before-previous-screen-line curr, editor
       no-motion?:bool <- equal curr, old
       return-if no-motion?
     }
     {
-      old <- copy curr
-      curr <- before-previous-line curr, editor
+      curr <- before-previous-screen-line curr, editor
       no-motion?:bool <- equal curr, old
       return-if no-motion?
     }
@@ -2185,7 +2184,7 @@ def before-start-of-next-line original:&:duplex-list:char, max:num -> curr:&:dup
 # previous *wrapped* line
 # returns original if no next newline
 # beware: never return null pointer
-def before-previous-line in:&:duplex-list:char, editor:&:editor -> out:&:duplex-list:char [
+def before-previous-screen-line in:&:duplex-list:char, editor:&:editor -> out:&:duplex-list:char [
   local-scope
   load-ingredients
   curr:&:duplex-list:char <- copy in
@@ -2227,7 +2226,6 @@ def before-previous-line in:&:duplex-list:char, editor:&:editor -> out:&:duplex-
 ]
 
 # ctrl-/ - comment/uncomment current line
-# todo: scenarios
 
 after <handle-special-character> [
   {
@@ -2236,13 +2234,7 @@ after <handle-special-character> [
     cursor-column:num <- get *editor, cursor-column:offset
     data:&:duplex-list:char <- get *editor, data:offset
     <insert-character-begin>
-    cursor:&:duplex-list:char <- get *editor, before-cursor:offset
-    {
-      next:&:duplex-list:char <- next cursor
-      break-unless next
-      cursor <- copy next
-    }
-    before-line-start:&:duplex-list:char <- before-previous-line cursor, editor
+    before-line-start:&:duplex-list:char <- before-start-of-screen-line editor
     line-start:&:duplex-list:char <- next before-line-start
     commented-out?:bool <- match line-start, [#? ]  # comment prefix
     {
@@ -2250,23 +2242,73 @@ after <handle-special-character> [
       # uncomment
       data <- remove line-start, 3/length-comment-prefix, data
       cursor-column <- subtract cursor-column, 3/length-comment-prefix
+      *editor <- put *editor, cursor-column:offset, cursor-column
+      go-render? <- render-line-from-start screen, editor, 3/size-of-comment-leader
     }
     {
       break-if commented-out?
       # comment
       insert before-line-start, [#? ]
       cursor-column <- add cursor-column, 3/length-comment-prefix
+      *editor <- put *editor, cursor-column:offset, cursor-column
+      go-render? <- render-line-from-start screen, editor, 0
     }
-    *editor <- put *editor, cursor-column:offset, cursor-column
     <insert-character-end>
-    return 1/do-render
+    return
   }
 ]
 
+# Render just from the start of the current line, and only if it wasn't
+# wrapping before (include margin) and isn't wrapping now. Otherwise just tell
+# the caller to go-render? the entire screen.
+def render-line-from-start screen:&:screen, editor:&:editor, right-margin:num -> go-render?:bool, screen:&:screen [
+  local-scope
+  load-ingredients
+  before-line-start:&:duplex-list:char <- before-start-of-screen-line editor
+  line-start:&:duplex-list:char <- next before-line-start
+  color:num <- copy 7/white
+  left:num <- get *editor, left:offset
+  cursor-row:num <- get *editor, cursor-row:offset
+  screen <- move-cursor screen, cursor-row, left
+  right:num <- get *editor, right:offset
+  end:num <- subtract right, right-margin
+  i:num <- copy 0
+  curr:&:duplex-list:char <- copy line-start
+  {
+    render-all?:bool <- greater-or-equal i, end
+    return-if render-all?, 1/go-render
+    break-unless curr
+    c:char <- get *curr, value:offset
+    newline?:bool <- equal c, 10/newline
+    break-if newline?
+    color <- get-color color, c
+    print screen, c, color
+    curr <- next curr
+    i <- add i, 1
+    loop
+  }
+  clear-line-until screen, right
+  return 0/dont-render
+]
+
+def before-start-of-screen-line editor:&:editor -> result:&:duplex-list:char [
+  local-scope
+  load-ingredients
+  cursor:&:duplex-list:char <- get *editor, before-cursor:offset
+  {
+    next:&:duplex-list:char <- next cursor
+    break-unless next
+    cursor <- copy next
+  }
+  result <- before-previous-screen-line cursor, editor
+]
+
 scenario editor-comments-empty-line [
   local-scope
   assume-screen 10/width, 5/height
   e:&:editor <- new-editor [], 0/left, 5/right
+  editor-render screen, e
+  $clear-trace
   assume-console [
     press ctrl-slash
   ]
@@ -2285,12 +2327,15 @@ scenario editor-comments-empty-line [
     4 <- 1
     5 <- 3
   ]
+  check-trace-count-for-label 5, [print-character]
 ]
 
 scenario editor-comments-at-start-of-contents [
   local-scope
   assume-screen 10/width, 5/height
   e:&:editor <- new-editor [ab], 0/left, 10/right
+  editor-render screen, e
+  $clear-trace
   assume-console [
     press ctrl-slash
   ]
@@ -2309,12 +2354,15 @@ scenario editor-comments-at-start-of-contents [
     4 <- 1
     5 <- 3
   ]
+  check-trace-count-for-label 10, [print-character]
 ]
 
 scenario editor-comments-at-end-of-contents [
   local-scope
   assume-screen 10/width, 5/height
   e:&:editor <- new-editor [ab], 0/left, 10/right
+  editor-render screen, e
+  $clear-trace
   assume-console [
     left-click 1, 7
     press ctrl-slash
@@ -2334,4 +2382,82 @@ scenario editor-comments-at-end-of-contents [
     4 <- 1
     5 <- 5
   ]
+  check-trace-count-for-label 10, [print-character]
+  # toggle to uncomment
+  $clear-trace
+  assume-console [
+    press ctrl-slash
+  ]
+  run [
+    editor-event-loop screen, console, e
+    4:num/raw <- get *e, cursor-row:offset
+    5:num/raw <- get *e, cursor-column:offset
+  ]
+  screen-should-contain [
+    .          .
+    .ab        .
+    .┈┈┈┈┈┈┈┈┈┈.
+    .          .
+  ]
+  check-trace-count-for-label 10, [print-character]
+]
+
+scenario editor-comments-almost-wrapping-line [
+  local-scope
+  assume-screen 10/width, 5/height
+  # editor starts out with a non-wrapping line
+  e:&:editor <- new-editor [abcd], 0/left, 5/right
+  editor-render screen, e
+  screen-should-contain [
+    .          .
+    .abcd      .
+    .┈┈┈┈┈     .
+    .          .
+  ]
+  $clear-trace
+  # on commenting the line is now wrapped
+  assume-console [
+    left-click 1, 7
+    press ctrl-slash
+  ]
+  run [
+    editor-event-loop screen, console, e
+  ]
+  screen-should-contain [
+    .          .
+    .#? a↩     .
+    .bcd       .
+    .┈┈┈┈┈     .
+    .          .
+  ]
+]
+
+scenario editor-uncomments-just-wrapping-line [
+  local-scope
+  assume-screen 10/width, 5/height
+  # editor starts out with a comment that wraps the line
+  e:&:editor <- new-editor [#? ab], 0/left, 5/right
+  editor-render screen, e
+  screen-should-contain [
+    .          .
+    .#? a↩     .
+    .b         .
+    .┈┈┈┈┈     .
+    .          .
+  ]
+  $clear-trace
+  # on uncommenting the line is no longer wrapped
+  assume-console [
+    left-click 1, 7
+    press ctrl-slash
+  ]
+  run [
+    editor-event-loop screen, console, e
+  ]
+  screen-should-contain [
+    .          .
+    .ab        .
+    .┈┈┈┈┈     .
+    .          .
+  ]
 ]
makefile.msc?id=83824f14360f92f8a3a47ac5f136bb077b141065'>^
c68ecb8b ^
a2a1ab1e ^
8df98234 ^
a2a1ab1e ^

cdccafb6 ^
a2a1ab1e ^
4c510de6 ^
a2a1ab1e ^
a2a1ab1e ^











d1349dd6 ^

a2a1ab1e ^


a2a1ab1e ^















a2a1ab1e ^
d1349dd6 ^
a2a1ab1e ^











a2a1ab1e ^














112f25f7 ^
a2a1ab1e ^
a2a1ab1e ^






d1349dd6 ^

a2a1ab1e ^
2d161b7d ^
a2a1ab1e ^







d1349dd6 ^



a2a1ab1e ^

383b3f2d ^
cdccafb6 ^
383b3f2d ^
d1349dd6 ^
a2a1ab1e ^






































































































112f25f7 ^


a2a1ab1e ^





























2d161b7d ^


a2a1ab1e ^

















a2a1ab1e ^


a2a1ab1e ^





































































































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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444











                                                                   
                                                                              
                                               
                                     
                                                         
                                                         
 



                                                                               




                           
                                            





                        

                         

                    
              
                




                      
                   
                
                     
                       
                            
                              
                     
                        
                     
                        
                
             



                 
                        
                 
               
                                     
                                      
                                                                   
                                                                           
                                                                  
                                                                   
                                             
                                                
 
                   
                            










                        
                         

                        














                        
                    
                        










                           













                          
                           
                       





                           
                        
                    
                        






                           


                                       
              
       
                  
                  
                      





































































































                                            

                                           




























                                           

                                        
















                                       

                                      




































































































                                        
#
# Makefile for `Lynx' browser for Microsoft Visual C++ 4.2 or later
#

CC       = cl
LD       = link

SRC_DIR = src
WWW_DIR = WWW\Library\Implementation

# pdcurses.lib panel.lib dirent.obj curses.h panel.h dirent.h
ETC_LIB = lib

# Uncomment the CS_DEFS and CS_OBJS lines if you wish to build the color-style
# configuration.
#CS_DEFS = /D "CHAR_BIT=8" /D "USE_COLOR_STYLE"
#CS_OBJS = "LYHash.obj" "LYStyle.obj"

# Uncomment SOCK_DEFS if you wish to build with winsock2.
#SOCK_DEFS = /D "USE_WINSOCK2_H" /D "_WIN32_WINNT=0x0400"

# Uncomment these to build with OpenSSL, adjusting SSL_DIR as needed.
#SSL_DIR = C:\OpenSSL
#SSL_DEFS = /D "USE_SSL" -I "$(SSL_DIR)\include" -I"$(SSL_DIR)\include\openssl"
#SSL_LIBS = "$(SSL_DIR)\lib\ssleay32.lib" "$(SSL_DIR)\lib\libeay32.lib"

INCLUDES = \
 /I "." \
 /I "$(SRC_DIR)" \
 /I "$(SRC_DIR)\chrtrans" \
 /I "$(WWW_DIR)" \
 /I "$(ETC_LIB)"
DEFS = $(CS_DEFS) $(SOCK_DEFS) $(SSL_DEFS) \
 /D "ACCESS_AUTH" \
 /D "CJK_EX" \
 /D "COLOR_CURSES" \
 /D "DIRED_SUPPORT" \
 /D "DISP_PARTIAL" \
 /D "DOSPATH" \
 /D "EXP_ALT_BINDINGS" \
 /D "EXP_CMD_LOGGING" \
 /D "EXP_JUSTIFY_ELTS" \
 /D "EXP_NESTED_TABLES" \
 /D "FANCY_CURSES" \
 /D "HAVE_KEYPAD" \
 /D "LONG_LIST" \
 /D "NDEBUG" \
 /D "NOSIGHUP" \
 /D "NOUSERS" \
 /D "NO_CONFIG_INFO" \
 /D "NO_CUSERID" \
 /D "NO_FILIO_H" \
 /D "NO_TTYTYPE" \
 /D "NO_UNISTD_H" \
 /D "NO_UTMP" \
 /D "OK_OVERRIDE" \
 /D "PDCURSES" \
 /D "SH_EX" \
 /D "USE_EXTERNALS" \
 /D "USE_FILE_UPLOAD" \
 /D "USE_MULTIBYTE_CURSES" \
 /D "USE_PERSISTENT_COOKIES" \
 /D "USE_PRETTYSRC" \
 /D "USE_READPROGRESS" \
 /D "USE_SCROLLBAR" \
 /D "USE_SOURCE_CACHE" \
 /D "USE_ZLIB" \
 /D "WIN32" \
 /D "WIN_EX" \
 /D "_CONSOLE" \
 /D "_MBCS" \
 /D "_WINDOWS" \
 /D "__WIN32__" \
 /D LY_MAXPATH="1024"  \
 /D _WIN_CC="1" \
 /D VC="2.14FM"
CFLAGS   = /nologo /MT /W3 /GX /O2 /c
#CFLAGS   = /nologo /MT /W3 /GX /Zi /c

LDFLAGS  = /nologo /subsystem:console /incremental:no /machine:I386
#LDFLAGS  = /debug /nologo /subsystem:console /incremental:no /machine:I386
LIBS     = kernel32.lib user32.lib wsock32.lib /NODEFAULTLIB:libc\
 $(ETC_LIB)\pdcurses.lib $(ETC_LIB)\zlib.lib dirent.obj $(SSL_LIBS)

COMPILE = $(CC) $(CFLAGS) $(INCLUDES) $(DEFS)
LINK    = $(LD) $(LDFLAGS) /map:lynx.map /out:$@

OBJS = $(CS_OBJS) \
	"DefaultStyle.obj" \
	"GridText.obj" \
	"HTAABrow.obj" \
	"HTAAProt.obj" \
	"HTAAUtil.obj" \
	"HTAccess.obj" \
	"HTAlert.obj" \
	"HTAnchor.obj" \
	"HTAssoc.obj" \
	"HTAtom.obj" \
	"HTBTree.obj" \
	"HTChunk.obj" \
	"HTDOS.obj" \
	"HTFTP.obj" \
	"HTFWriter.obj" \
	"HTFile.obj" \
	"HTFinger.obj" \
	"HTFormat.obj" \
	"HTGopher.obj" \
	"HTGroup.obj" \
	"HTInit.obj" \
	"HTLex.obj" \
	"HTList.obj" \
	"HTMIME.obj" \
	"HTML.obj" \
	"HTMLDTD.obj" \
	"HTMLGen.obj" \
	"HTNews.obj" \
	"HTParse.obj" \
	"HTPlain.obj" \
	"HTRules.obj" \
	"HTString.obj" \
	"HTStyle.obj" \
	"HTTCP.obj" \
	"HTTP.obj" \
	"HTTelnet.obj" \
	"HTUU.obj" \
	"HTWSRC.obj" \
	"LYBookmark.obj" \
	"LYCgi.obj" \
	"LYCharSets.obj" \
	"LYCharUtils.obj" \
	"LYClean.obj" \
	"LYCookie.obj" \
	"LYCurses.obj" \
	"LYDownload.obj" \
	"LYEdit.obj" \
	"LYEditmap.obj" \
	"LYExtern.obj" \
	"LYForms.obj" \
	"LYGetFile.obj" \
	"LYHistory.obj" \
	"LYJump.obj" \
	"LYKeymap.obj" \
	"LYLeaks.obj" \
	"LYList.obj" \
	"LYLocal.obj" \
	"LYMail.obj" \
	"LYMain.obj" \
	"LYMainLoop.obj" \
	"LYMap.obj" \
	"LYNews.obj" \
	"LYOptions.obj" \
	"LYPrettySrc.obj" \
	"LYPrint.obj" \
	"LYReadCFG.obj" \
	"LYSearch.obj" \
	"LYShowInfo.obj" \
	"LYStrings.obj" \
	"LYTraversal.obj" \
	"LYUpload.obj" \
	"LYUtils.obj" \
	"LYexit.obj" \
	"LYrcFile.obj" \
	"SGML.obj" \
	"TRSTable.obj" \
	"UCAuto.obj" \
	"UCAux.obj" \
	"UCdomap.obj" \
	"Xsystem.obj"


# Dependencies for building

.SUFFIXES : .i
.c.i :
	$(CC) $(INCLUDES) $(DEFS) /P $<

all : lynx.exe

clean :
	-del *.map
	-del *.obj
	-del/f/s/q *.i

lynx.exe: $(OBJS) dirent.obj
	$(LINK) $(OBJS) $(LIBS)

DefaultStyle.obj : $(SRC_DIR)\DefaultStyle.c
	$(COMPILE) $(SRC_DIR)\DefaultStyle.c

GridText.obj : $(SRC_DIR)\GridText.c
	$(COMPILE) $(SRC_DIR)\GridText.c

HTAlert.obj : $(SRC_DIR)\HTAlert.c
	$(COMPILE) $(SRC_DIR)\HTAlert.c

HTFWriter.obj : $(SRC_DIR)\HTFWriter.c
	$(COMPILE) $(SRC_DIR)\HTFWriter.c

HTInit.obj : $(SRC_DIR)\HTInit.c
	$(COMPILE) $(SRC_DIR)\HTInit.c

HTML.obj : $(SRC_DIR)\HTML.c
	$(COMPILE) $(SRC_DIR)\HTML.c

LYBookmark.obj : $(SRC_DIR)\LYBookmark.c
	$(COMPILE) $(SRC_DIR)\LYBookmark.c

LYCgi.obj : $(SRC_DIR)\LYCgi.c
	$(COMPILE) $(SRC_DIR)\LYCgi.c

LYCharSets.obj : $(SRC_DIR)\LYCharSets.c
	$(COMPILE) $(SRC_DIR)\LYCharSets.c

LYCharUtils.obj : $(SRC_DIR)\LYCharUtils.c
	$(COMPILE) $(SRC_DIR)\LYCharUtils.c

LYClean.obj : $(SRC_DIR)\LYClean.c
	$(COMPILE) $(SRC_DIR)\LYClean.c

LYCookie.obj : $(SRC_DIR)\LYCookie.c
	$(COMPILE) $(SRC_DIR)\LYCookie.c

LYCurses.obj : $(SRC_DIR)\LYCurses.c
	$(COMPILE) $(SRC_DIR)\LYCurses.c

LYDownload.obj : $(SRC_DIR)\LYDownload.c
	$(COMPILE) $(SRC_DIR)\LYDownload.c

LYEdit.obj : $(SRC_DIR)\LYEdit.c
	$(COMPILE) $(SRC_DIR)\LYEdit.c

LYEditmap.obj : $(SRC_DIR)\LYEditmap.c
	$(COMPILE) $(SRC_DIR)\LYEditmap.c

LYexit.obj : $(SRC_DIR)\LYexit.c
	$(COMPILE) $(SRC_DIR)\LYexit.c

LYExtern.obj : $(SRC_DIR)\LYExtern.c
	$(COMPILE) $(SRC_DIR)\LYExtern.c

LYForms.obj : $(SRC_DIR)\LYForms.c
	$(COMPILE) $(SRC_DIR)\LYForms.c

LYGetFile.obj : $(SRC_DIR)\LYGetFile.c
	$(COMPILE) $(SRC_DIR)\LYGetFile.c

LYHash.obj : $(SRC_DIR)\LYHash.c
	$(COMPILE) $(SRC_DIR)\LYHash.c

LYHistory.obj : $(SRC_DIR)\LYHistory.c
	$(COMPILE) $(SRC_DIR)\LYHistory.c

LYJump.obj : $(SRC_DIR)\LYJump.c
	$(COMPILE) $(SRC_DIR)\LYJump.c

LYKeymap.obj : $(SRC_DIR)\LYKeymap.c
	$(COMPILE) $(SRC_DIR)\LYKeymap.c

LYLeaks.obj : $(SRC_DIR)\LYLeaks.c
	$(COMPILE) $(SRC_DIR)\LYLeaks.c

LYList.obj : $(SRC_DIR)\LYList.c
	$(COMPILE) $(SRC_DIR)\LYList.c

LYLocal.obj : $(SRC_DIR)\LYLocal.c
	$(COMPILE) $(SRC_DIR)\LYLocal.c

LYMail.obj : $(SRC_DIR)\LYMail.c
	$(COMPILE) $(SRC_DIR)\LYMail.c

LYMain.obj : $(SRC_DIR)\LYMain.c
	$(COMPILE) $(SRC_DIR)\LYMain.c

LYMainLoop.obj : $(SRC_DIR)\LYMainLoop.c
	$(COMPILE) $(SRC_DIR)\LYMainLoop.c

LYMap.obj : $(SRC_DIR)\LYMap.c
	$(COMPILE) $(SRC_DIR)\LYMap.c

LYNews.obj : $(SRC_DIR)\LYNews.c
	$(COMPILE) $(SRC_DIR)\LYNews.c

LYOptions.obj : $(SRC_DIR)\LYOptions.c
	$(COMPILE) $(SRC_DIR)\LYOptions.c

LYPrettySrc.obj : $(SRC_DIR)\LYPrettySrc.c
	$(COMPILE) $(SRC_DIR)\LYPrettySrc.c

LYPrint.obj : $(SRC_DIR)\LYPrint.c
	$(COMPILE) $(SRC_DIR)\LYPrint.c

LYrcFile.obj : $(SRC_DIR)\LYrcFile.c
	$(COMPILE) $(SRC_DIR)\LYrcFile.c

LYReadCFG.obj : $(SRC_DIR)\LYReadCFG.c
	$(COMPILE) $(SRC_DIR)\LYReadCFG.c

LYSearch.obj : $(SRC_DIR)\LYSearch.c
	$(COMPILE) $(SRC_DIR)\LYSearch.c

LYShowInfo.obj : $(SRC_DIR)\LYShowInfo.c
	$(COMPILE) $(SRC_DIR)\LYShowInfo.c

LYStrings.obj : $(SRC_DIR)\LYStrings.c
	$(COMPILE) $(SRC_DIR)\LYStrings.c

LYStyle.obj : $(SRC_DIR)\LYStyle.c
	$(COMPILE) $(SRC_DIR)\LYStyle.c

LYTraversal.obj : $(SRC_DIR)\LYTraversal.c
	$(COMPILE) $(SRC_DIR)\LYTraversal.c

LYUpload.obj : $(SRC_DIR)\LYUpload.c
	$(COMPILE) $(SRC_DIR)\LYUpload.c

LYUtils.obj : $(SRC_DIR)\LYUtils.c
	$(COMPILE) $(SRC_DIR)\LYUtils.c

TRSTable.obj : $(SRC_DIR)\TRSTable.c
	$(COMPILE) $(SRC_DIR)\TRSTable.c

mktime.obj : $(SRC_DIR)\mktime.c
	$(COMPILE) $(SRC_DIR)\mktime.c

strstr.obj : $(SRC_DIR)\strstr.c
	$(COMPILE) $(SRC_DIR)\strstr.c

UCAuto.obj : $(SRC_DIR)\UCAuto.c
	$(COMPILE) $(SRC_DIR)\UCAuto.c

UCAux.obj : $(SRC_DIR)\UCAux.c
	$(COMPILE) $(SRC_DIR)\UCAux.c

UCdomap.obj : $(SRC_DIR)\UCdomap.c
	$(COMPILE) $(SRC_DIR)\UCdomap.c

Xsystem.obj : $(SRC_DIR)\Xsystem.c
	$(COMPILE) $(SRC_DIR)\Xsystem.c

dirent.obj : $(ETC_LIB)\dirent.c
	$(COMPILE) $(ETC_LIB)\dirent.c

HTAABrow.obj : $(WWW_DIR)\HTAABrow.c
	$(COMPILE) $(WWW_DIR)\HTAABrow.c

HTAAFile.obj : $(WWW_DIR)\HTAAFile.c
	$(COMPILE) $(WWW_DIR)\HTAAFile.c

HTAAProt.obj : $(WWW_DIR)\HTAAProt.c
	$(COMPILE) $(WWW_DIR)\HTAAProt.c

HTAAUtil.obj : $(WWW_DIR)\HTAAUtil.c
	$(COMPILE) $(WWW_DIR)\HTAAUtil.c

HTAccess.obj : $(WWW_DIR)\HTAccess.c
	$(COMPILE) $(WWW_DIR)\HTAccess.c

HTAnchor.obj : $(WWW_DIR)\HTAnchor.c
	$(COMPILE) $(WWW_DIR)\HTAnchor.c

HTAssoc.obj : $(WWW_DIR)\HTAssoc.c
	$(COMPILE) $(WWW_DIR)\HTAssoc.c

HTAtom.obj : $(WWW_DIR)\HTAtom.c
	$(COMPILE) $(WWW_DIR)\HTAtom.c

HTBTree.obj : $(WWW_DIR)\HTBTree.c
	$(COMPILE) $(WWW_DIR)\HTBTree.c

HTChunk.obj : $(WWW_DIR)\HTChunk.c
	$(COMPILE) $(WWW_DIR)\HTChunk.c

HTDOS.obj : $(WWW_DIR)\HTDOS.c
	$(COMPILE) $(WWW_DIR)\HTDOS.c

HTFile.obj : $(WWW_DIR)\HTFile.c
	$(COMPILE) $(WWW_DIR)\HTFile.c

HTFinger.obj : $(WWW_DIR)\HTFinger.c
	$(COMPILE) $(WWW_DIR)\HTFinger.c

HTFormat.obj : $(WWW_DIR)\HTFormat.c
	$(COMPILE) $(WWW_DIR)\HTFormat.c

HTFTP.obj : $(WWW_DIR)\HTFTP.c
	$(COMPILE) $(WWW_DIR)\HTFTP.c

HTGopher.obj : $(WWW_DIR)\HTGopher.c
	$(COMPILE) $(WWW_DIR)\HTGopher.c

HTGroup.obj : $(WWW_DIR)\HTGroup.c
	$(COMPILE) $(WWW_DIR)\HTGroup.c

HTLex.obj : $(WWW_DIR)\HTLex.c
	$(COMPILE) $(WWW_DIR)\HTLex.c

HTList.obj : $(WWW_DIR)\HTList.c
	$(COMPILE) $(WWW_DIR)\HTList.c

HTMIME.obj : $(WWW_DIR)\HTMIME.c
	$(COMPILE) $(WWW_DIR)\HTMIME.c

HTMLDTD.obj : $(WWW_DIR)\HTMLDTD.c
	$(COMPILE) $(WWW_DIR)\HTMLDTD.c

HTMLGen.obj : $(WWW_DIR)\HTMLGen.c
	$(COMPILE) $(WWW_DIR)\HTMLGen.c

HTNews.obj : $(WWW_DIR)\HTNews.c
	$(COMPILE) $(WWW_DIR)\HTNews.c

HTParse.obj : $(WWW_DIR)\HTParse.c
	$(COMPILE) $(WWW_DIR)\HTParse.c

HTPlain.obj : $(WWW_DIR)\HTPlain.c
	$(COMPILE) $(WWW_DIR)\HTPlain.c

HTRules.obj : $(WWW_DIR)\HTRules.c
	$(COMPILE) $(WWW_DIR)\HTRules.c

HTString.obj : $(WWW_DIR)\HTString.c
	$(COMPILE) $(WWW_DIR)\HTString.c

HTStyle.obj : $(WWW_DIR)\HTStyle.c
	$(COMPILE) $(WWW_DIR)\HTStyle.c

HTTCP.obj : $(WWW_DIR)\HTTCP.c
	$(COMPILE) $(WWW_DIR)\HTTCP.c

HTTelnet.obj : $(WWW_DIR)\HTTelnet.c
	$(COMPILE) $(WWW_DIR)\HTTelnet.c

HTTP.obj : $(WWW_DIR)\HTTP.c
	$(COMPILE) $(WWW_DIR)\HTTP.c

HTUU.obj : $(WWW_DIR)\HTUU.c
	$(COMPILE) $(WWW_DIR)\HTUU.c

HTWSRC.obj : $(WWW_DIR)\HTWSRC.c
	$(COMPILE) $(WWW_DIR)\HTWSRC.c

SGML.obj : $(WWW_DIR)\SGML.c
	$(COMPILE) $(WWW_DIR)\SGML.c