+++ /dev/null
--Ic:\bc45\include\r
--Lc:\bc45\lib\r
--Ld:\lib\r
--w-ccc -w-eff -w-pia -w-par -w-stv -w-inl -w-aus -w-csu\r
--w-pro -w-rch\r
--tWE -tWM- -U_RTLDLL\r
-\r
+++ /dev/null
-# Makefile for Borland C\r
-# Contributed by Don Fong\r
-# Modified for Winboard Plus by Mark Williams\r
-ENV=WIN32\r
-CPU=i386\r
-\r
-cc=bcc32\r
-rc=brc32 -w32 -Ic:/bc45/include;.\r
-link=$(cc)\r
-\r
-# Use up to date help compiler\r
-hc="c:\program files\help workshop\hcrtf.exe" -xn\r
-\r
-proj = winboard\r
-allobj = winboard.obj backend.obj parser.obj moves.obj lists.obj \\r
- gamelist.obj pgntags.obj wedittags.obj wgamelist.obj zippy.obj \\r
- wsockerr.obj wclipbrd.obj woptions.obj\r
-libs=wsock32.lib import32.lib\r
-rm = c:\mksnt\rm -f\r
-\r
-cvars = -DWINVER=0x0400\r
-\r
-.c.obj:\r
- $(cc) -c $(cvars) $*.c\r
-\r
-\r
-\r
-all: $(proj).exe\r
-\r
-# Update the help file if necessary\r
-$(proj).hlp : $(proj).rtf\r
- $(hc) $(proj).hpj\r
- cat $(proj).err\r
-\r
-# Update the resource if necessary\r
-$(proj).res: $(proj).rc\r
- $(rc) -r $(proj).rc\r
-\r
-# Update the object files if necessary\r
-winboard.obj: winboard.c config.h winboard.h common.h frontend.h backend.h \\r
- moves.h wgamelist.h defaults.h resource.h\r
-\r
-backend.obj: backend.c config.h frontend.h backend.h common.h parser.h\r
-\r
-parser.obj: parser.C config.h common.h backend.h parser.h\r
-\r
-parser.C: parser.l\r
- flex -L parser.l\r
- del parser.C\r
- rename lex.yy.c parser.C\r
-\r
-moves.obj: moves.c config.h backend.h common.h parser.h moves.h\r
-\r
-lists.obj: lists.c config.h lists.h common.h\r
-\r
-gamelist.obj: gamelist.c config.h lists.h common.h frontend.h backend.h \\r
- parser.h\r
-\r
-pgntags.obj: pgntags.c config.h common.h frontend.h backend.h parser.h lists.h\r
-\r
-wclipbrd.obj: wclipbrd.c config.h common.h winboard.h frontend.h backend.h\r
-\r
-wedittags.obj: wedittags.c config.h common.h winboard.h frontend.h backend.h\r
-\r
-wgamelist.obj: wgamelist.c config.h. common.h winboard.h frontend.h backend.h \\r
- wgamelist.h\r
-\r
-woptions.obj: woptions.c config.h common.h winboard.h frontend.h backend.h\r
-\r
-wsockerr.obj: wsockerr.c wsockerr.h\r
-\r
-zippy.obj: zippy.c config.h common.h zippy.h frontend.h\r
-\r
-\r
-$(proj).exe: $(proj).bin $(proj).res\r
- $(rc) -t -v -fe$(proj).exe $(proj).res $(proj).bin\r
-\r
-$(proj).bin: $(allobj)\r
- $(link) -e$< @&&!\r
-$(allobj)\r
-$(libs)\r
-!\r
-\r
-clean:\r
- $(rm) *.obj\r
-\r
-\r
+++ /dev/null
-#
-# Makefile for WinBoard, using the GNU Cygwin toolset
-#
-
-# Uncomment both lines to turn on debugging symbols #######
-cdebug= -g
-linkdebug= -g
-#######################################################
-
-proj=winboard
-allobj= winboard.o backend.o parser.o moves.o lists.o \
- gamelist.o pgntags.o wedittags.o wgamelist.o zippy.o \
- wsockerr.o wbres.o wclipbrd.o woptions.o uci.o \
- wengineo.o wevalgraph.o whistory.o wlayout.o \
- wplugin.o wsnap.o book.o
-
-dotc= winboard.c backend.c parser.c moves.c lists.c \
- gamelist.c pgntags.c wedittags.c wgamelist.c zippy.c \
- wsockerr.c winboard.rc wclipbrd.c woptions.c uci.c \
- wengineo.c wevalgraph.c whistory.c wlayout.c \
- wplugin.c wsnap.c book.c
-
-# Currently WinBoard will build either with or without -mno-cygwin
-# however, a Cygwin bug in forming the command line to WinMain() is
-# exposed if -mno-cygwin is not used.
-cygwin= -mno-cygwin
-
-VPATH= .:..
-CFLAGS= $(cdebug)
-INCLUDES= -I. -I..
-CVARS= $(INCLUDES) $(cygwin)
-CC = gcc $(CVARS)
-WCC = $(CC) -mwindows $(linkdebug)
-HC="c:/program files/help workshop/hcrtf.exe" -xn
-
-all: $(proj).exe
-
-depend: $(dotc)
- makedepend -Y -f cygwin.mak $(INCLUDES) $^
-
-clean:
- rm -f *.obj *~ $(proj).exe $(proj).err $(proj).rbj \
- $(proj).RES $(proj).res $(proj).ini *.sbr *.bsc *.o \
- *.plg *.opt *.ncb *.debug *.bak *.gid *.GID
-
-maintainer-clean: clean
- rm -f parser.c *.hlp *.HLP
-
-# Update the help file if necessary
-$(proj).hlp : $(proj).rtf
- $(HC) $(proj).hpj
- cat $(proj).err
-
-# Update the resource if necessary
-wbres.o: $(proj).rc $(proj).h resource.h
- windres --use-temp-file --include-dir .. $< -O coff -o $@
-
-# Update the object files if necessary
-
-parser.c: parser.l
- flex -oparser.c -L $<
-
-$(proj).exe: $(allobj) $(proj).hlp $(proj).rc
- $(WCC) $(guiflags) $(allobj) \
- -lwsock32 -lwinmm \
- -o $(proj).exe
-
-# DO NOT DELETE
-
-winboard.o: config.h ../common.h winboard.h resource.h ../frontend.h
-winboard.o: ../backend.h ../lists.h ../moves.h wclipbrd.h wgamelist.h
-winboard.o: wedittags.h woptions.h wsockerr.h defaults.h
-backend.o: config.h ../common.h ../frontend.h ../backend.h ../lists.h
-backend.o: ../parser.h ../moves.h ../zippy.h ../backendz.h
-parser.o: config.h ../common.h ../backend.h ../lists.h ../frontend.h
-parser.o: ../parser.h ../moves.h
-moves.o: config.h ../common.h ../backend.h ../lists.h ../frontend.h
-moves.o: ../moves.h ../parser.h
-lists.o: config.h ../common.h ../lists.h
-gamelist.o: config.h ../common.h ../frontend.h ../backend.h ../lists.h
-gamelist.o: ../parser.h
-pgntags.o: config.h ../common.h ../frontend.h ../backend.h ../lists.h
-pgntags.o: ../parser.h
-wedittags.o: config.h ../common.h winboard.h resource.h ../frontend.h
-wedittags.o: ../backend.h ../lists.h
-wgamelist.o: config.h ../common.h winboard.h resource.h ../frontend.h
-wgamelist.o: ../backend.h ../lists.h
-zippy.o: config.h ../common.h ../zippy.h ../frontend.h ../backend.h
-zippy.o: ../lists.h ../backendz.h
-wsockerr.o: wsockerr.h
-winboard.o: resource.h
-wclipbrd.o: config.h ../common.h winboard.h resource.h ../frontend.h
-wclipbrd.o: ../backend.h ../lists.h wclipbrd.h
-woptions.o: config.h ../common.h winboard.h resource.h ../backend.h
-woptions.o: ../lists.h ../frontend.h woptions.h defaults.h wedittags.h
-book.o: ../common.h ../backend.h
\ No newline at end of file
+++ /dev/null
-#
-# Makefile for WinBoard, using the GNU Cygwin toolset
-#
-
-# Uncomment both lines to turn on debugging symbols #######
-cdebug= -g
-linkdebug= -g
-#######################################################
-
-proj=winboard
-allobj= winboard.o backend.o parser.o moves.o lists.o \
- gamelist.o pgntags.o wedittags.o wgamelist.o zippy.o \
- wsockerr.o wbres.o wclipbrd.o woptions.o
-
-dotc= winboard.c ../backend.c ../parser.c ../moves.c ../lists.c \
- ../gamelist.c ../pgntags.c wedittags.c wgamelist.c ../zippy.c \
- wsockerr.c winboard.rc wclipbrd.c woptions.c
-
-# Currently WinBoard will build either with or without -mno-cygwin
-# however, a Cygwin bug in forming the command line to WinMain() is
-# exposed if -mno-cygwin is not used.
-#cygwin= -mno-cygwin
-
-VPATH= .:..
-CFLAGS= $(cdebug)
-INCLUDES= -I. -I..
-CVARS= $(INCLUDES) $(cygwin)
-CC =i686-pc-mingw32-gcc $(CVARS)
-WCC = $(CC) -mwindows $(linkdebug)
-
-all: $(proj).exe
-
-depend: $(dotc)
- makedepend -Y -f cygwin.mak $(INCLUDES) $^
-
-clean:
- rm -f *.obj *~ $(proj).exe $(proj).err $(proj).rbj \
- $(proj).RES $(proj).res $(proj).ini *.sbr *.bsc *.o \
- *.plg *.opt *.ncb *.debug *.bak *.gid *.GID
-
-maintainer-clean: clean
- rm -f parser.c *.hlp *.HLP
-
-# Update the help file if necessary
-#$(proj).hlp : $(proj).rtf
-# $(HC) $(proj).hpj
-# cat $(proj).err
-
-# Update the resource if necessary
-wbres.o: $(proj).rc $(proj).h resource.h
- i686-pc-mingw32-windres --use-temp-file --include-dir .. $< -O coff -o $@
-
-# Update the object files if necessary
-
-parser.c: parser.l
- flex -oparser.c -L $<
-
-$(proj).exe: $(allobj) $(proj).rc
- $(WCC) $(guiflags) $(allobj) \
- -lwsock32 -lwinmm -lintl -lm -liberty \
- -o $(proj).exe
-
-# DO NOT DELETE
-
-winboard.o: config.h ../common.h winboard.h resource.h ../frontend.h
-winboard.o: ../backend.h ../lists.h ../moves.h wclipbrd.h wgamelist.h
-winboard.o: wedittags.h woptions.h wsockerr.h defaults.h
-backend.o: config.h ../common.h ../frontend.h ../backend.h ../lists.h
-backend.o: ../parser.h ../moves.h ../zippy.h ../backendz.h
-parser.o: config.h ../common.h ../backend.h ../lists.h ../frontend.h
-parser.o: ../parser.h ../moves.h
-moves.o: config.h ../common.h ../backend.h ../lists.h ../frontend.h
-moves.o: ../moves.h ../parser.h
-lists.o: config.h ../common.h ../lists.h
-gamelist.o: config.h ../common.h ../frontend.h ../backend.h ../lists.h
-gamelist.o: ../parser.h
-pgntags.o: config.h ../common.h ../frontend.h ../backend.h ../lists.h
-pgntags.o: ../parser.h
-wedittags.o: config.h ../common.h winboard.h resource.h ../frontend.h
-wedittags.o: ../backend.h ../lists.h
-wgamelist.o: config.h ../common.h winboard.h resource.h ../frontend.h
-wgamelist.o: ../backend.h ../lists.h
-zippy.o: config.h ../common.h ../zippy.h ../frontend.h ../backend.h
-zippy.o: ../lists.h ../backendz.h
-wsockerr.o: wsockerr.h
-winboard.o: resource.h
-wclipbrd.o: config.h ../common.h winboard.h resource.h ../frontend.h
-wclipbrd.o: ../backend.h ../lists.h wclipbrd.h
-woptions.o: config.h ../common.h winboard.h resource.h ../backend.h
-woptions.o: ../lists.h ../frontend.h woptions.h defaults.h wedittags.h
+++ /dev/null
-#\r
-# Makefile for WinBoard, using Microsoft Visual C++ and nmake\r
-# Command line: nmake /f msvc.mak\r
-#\r
-\r
-OS=NT\r
-ENV=WIN32\r
-CPU=i386\r
-\r
-!include <$(OS)$(ENV).MAK>\r
-\r
-# Use up to date help compiler\r
-#hc="c:\program files\microsoft visual studio\common\tools\hcrtf.exe" -xn\r
-hc="c:\program files\help workshop\hcrtf.exe" -xn\r
-\r
-# Comment out both to turn on debugging symbols #######\r
-#!!cdebug=\r
-#!!linkdebug=\r
-#######################################################\r
-\r
-proj = winboard\r
-allobj = winboard.obj backend.obj parser.obj moves.obj lists.obj \\r
- gamelist.obj pgntags.obj wedittags.obj wgamelist.obj zippy.obj \\r
- wsockerr.obj wclipbrd.obj woptions.obj\r
-\r
-cvars = $(cvars) -I. -I.. -DWINVER=0x0400\r
-#cflags = $(cflags) /FR\r
-cflags = $(cflags)\r
-\r
-all: $(proj).exe\r
-\r
-clean:\r
- rm -f *.obj *~ $(proj).exe $(proj).err $(proj).rbj $(proj).res \\r
- $(proj).ini *.sbr *.bsc *.o *.plg *.opt *.ncb *.debug *.bak *.gid\r
-\r
-# Update the help file if necessary\r
-$(proj).hlp : $(proj).rtf\r
- $(hc) $(proj).hpj\r
- type $(proj).err\r
-\r
-# Update the resource if necessary\r
-$(proj).rbj: $(proj).rc $(proj).h $(proj).res resource.h\r
- $(rc) $(rcvars) -r -fo $(proj).res $(cvars) $(proj).rc\r
- cvtres -$(CPU) $(proj).res -o $(proj).rbj\r
-\r
-# Update the object files if necessary\r
-winboard.obj: winboard.c config.h winboard.h ../common.h ../frontend.h \\r
- ../backend.h ../moves.h wgamelist.h defaults.h resource.h wclipbrd.h \\r
- wedittags.h wsockerr.h ../lists.h\r
- $(cc) $(cflags) $(cvars) $(cdebug) winboard.c\r
-\r
-backend.obj: ../backend.c config.h ../common.h ../frontend.h ../backend.h \\r
- ../parser.h ../moves.h ../zippy.h ../backendz.h ../lists.h\r
- $(cc) $(cflags) $(cvars) $(cdebug) ../backend.c\r
-\r
-parser.obj: parser.c config.h ../common.h ../backend.h ../parser.h \\r
- ../frontend.h ../moves.h ../lists.h\r
- $(cc) $(cflags) $(cvars) $(cdebug) parser.c\r
-\r
-parser.c: ../parser.l\r
- flex -oparser.c -L ../parser.l\r
-\r
-moves.obj: ../moves.c config.h ../backend.h ../common.h ../parser.h \\r
- ../moves.h ../lists.h ../frontend.h\r
- $(cc) $(cflags) $(cvars) $(cdebug) ../moves.c\r
-\r
-lists.obj: ../lists.c config.h ../lists.h ../common.h\r
- $(cc) $(cflags) $(cvars) $(cdebug) ../lists.c\r
-\r
-gamelist.obj: ../gamelist.c config.h ../lists.h ../common.h ../frontend.h \\r
- ../backend.h ../parser.h ../lists.h\r
- $(cc) $(cflags) $(cvars) $(cdebug) ../gamelist.c\r
-\r
-pgntags.obj: ../pgntags.c config.h ../common.h ../frontend.h ../backend.h \\r
- ../parser.h ../lists.h\r
- $(cc) $(cflags) $(cvars) $(cdebug) ../pgntags.c\r
-\r
-wclipbrd.obj: wclipbrd.c config.h ../common.h ../frontend.h ../backend.h \\r
- winboard.h wclipbrd.h ../lists.h resource.h\r
- $(cc) $(cflags) $(cvars) $(cdebug) wclipbrd.c\r
-\r
-wedittags.obj: wedittags.c config.h ../common.h winboard.h ../frontend.h \\r
- ../backend.h ../lists.h resource.h\r
- $(cc) $(cflags) $(cvars) $(cdebug) wedittags.c\r
-\r
-wgamelist.obj: wgamelist.c config.h. ../common.h winboard.h ../frontend.h \\r
- ../backend.h wgamelist.h ../lists.h resource.h\r
- $(cc) $(cflags) $(cvars) $(cdebug) wgamelist.c\r
-\r
-woptions.obj: woptions.c config.h ../common.h ../frontend.h ../backend.h \\r
- ../lists.h defaults.h\r
- $(cc) $(cflags) $(cvars) $(cdebug) woptions.c\r
-\r
-wsockerr.obj: wsockerr.c wsockerr.h\r
- $(cc) $(cflags) $(cvars) $(cdebug) wsockerr.c\r
-\r
-zippy.obj: ../zippy.c config.h ../common.h ../zippy.h ../frontend.h \\r
- ../backend.h ../backendz.h ../lists.h\r
- $(cc) $(cflags) $(cvars) $(cdebug) ../zippy.c\r
-\r
-$(proj).exe: $(allobj) $(proj).rbj $(proj).hlp $(proj).rc\r
- $(link) $(linkdebug) $(guiflags) $(allobj) \\r
- wsock32.lib comctl32.lib winmm.lib libc.lib oldnames.lib kernel32.lib \\r
- advapi32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib \\r
- ws2_32.lib \\r
- $(proj).rbj -out:$(proj).exe\r
-# I don't use the .sbr, but it can be reenabled. Also turn /FR back on above.\r
-# bscmake *.sbr\r
-\r
-test.exe: test.c\r
- $(cc) $(cflags) $(cvars) $(cdebug) test.c\r
- $(link) $(linkdebug) $(conflags) test.obj $(conlibs) -out:test.exe\r
-\r
+++ /dev/null
-#
-# Makefile for WinBoard, using Microsoft Visual C++ and nmake
-# Command line: nmake /f msvc.mak
-#
-
-OS=NT
-ENV=WIN32
-CPU=i386
-
-!include <$(OS)$(ENV).MAK>
-
-# Use up to date help compiler
-hc=hcrtf.exe -xn
-
-# Comment out both to turn on debugging symbols #######
-cdebug=
-linkdebug=
-#######################################################
-
-proj = winboard
-allobj = winboard.obj backend.obj parser.obj moves.obj lists.obj \
- gamelist.obj pgntags.obj wedittags.obj wgamelist.obj zippy.obj \
- wsockerr.obj wclipbrd.obj woptions.obj
-
-cvars = $(cvars) -I. -I.. -DWINVER=0x0400
-#cflags = $(cflags) /FR
-cflags = $(cflags)
-
-all: $(proj).exe
-
-clean:
- del /f *.obj *~ $(proj).exe $(proj).err $(proj).rbj $(proj).res \
- $(proj).ini *.sbr *.bsc *.o *.plg *.opt *.ncb *.debug *.bak *.gid
-
-# Update the help file if necessary
-$(proj).hlp : $(proj).rtf
- $(hc) $(proj).hpj
- type $(proj).err
-
-# Update the resource if necessary
-$(proj).rbj: $(proj).rc $(proj).h $(proj).res resource.h
- $(rc) $(rcvars) -r -fo $(proj).res $(proj).rc
- cvtres /machine:X86 /out:$(proj).rbj $(proj).res
-
-# Update the object files if necessary
-winboard.obj: winboard.c config.h winboard.h ../common.h ../frontend.h \
- ../backend.h ../moves.h wgamelist.h defaults.h resource.h wclipbrd.h \
- wedittags.h wsockerr.h ../lists.h
- $(cc) $(cflags) $(cvars) $(cdebug) winboard.c
-
-backend.obj: ../backend.c config.h ../common.h ../frontend.h ../backend.h \
- ../parser.h ../moves.h ../zippy.h ../backendz.h ../lists.h
- $(cc) $(cflags) $(cvars) $(cdebug) ../backend.c
-
-parser.obj: parser.c config.h ../common.h ../backend.h ../parser.h \
- ../frontend.h ../moves.h ../lists.h
- $(cc) $(cflags) $(cvars) $(cdebug) parser.c
-
-parser.c: ../parser.l
- flex -oparser.c -L ../parser.l
-
-moves.obj: ../moves.c config.h ../backend.h ../common.h ../parser.h \
- ../moves.h ../lists.h ../frontend.h
- $(cc) $(cflags) $(cvars) $(cdebug) ../moves.c
-
-lists.obj: ../lists.c config.h ../lists.h ../common.h
- $(cc) $(cflags) $(cvars) $(cdebug) ../lists.c
-
-gamelist.obj: ../gamelist.c config.h ../lists.h ../common.h ../frontend.h \
- ../backend.h ../parser.h ../lists.h
- $(cc) $(cflags) $(cvars) $(cdebug) ../gamelist.c
-
-pgntags.obj: ../pgntags.c config.h ../common.h ../frontend.h ../backend.h \
- ../parser.h ../lists.h
- $(cc) $(cflags) $(cvars) $(cdebug) ../pgntags.c
-
-wclipbrd.obj: wclipbrd.c config.h ../common.h ../frontend.h ../backend.h \
- winboard.h wclipbrd.h ../lists.h resource.h
- $(cc) $(cflags) $(cvars) $(cdebug) wclipbrd.c
-
-wedittags.obj: wedittags.c config.h ../common.h winboard.h ../frontend.h \
- ../backend.h ../lists.h resource.h
- $(cc) $(cflags) $(cvars) $(cdebug) wedittags.c
-
-wgamelist.obj: wgamelist.c config.h. ../common.h winboard.h ../frontend.h \
- ../backend.h wgamelist.h ../lists.h resource.h
- $(cc) $(cflags) $(cvars) $(cdebug) wgamelist.c
-
-woptions.obj: woptions.c config.h ../common.h ../frontend.h ../backend.h \
- ../lists.h defaults.h
- $(cc) $(cflags) $(cvars) $(cdebug) woptions.c
-
-wsockerr.obj: wsockerr.c wsockerr.h
- $(cc) $(cflags) $(cvars) $(cdebug) wsockerr.c
-
-zippy.obj: ../zippy.c config.h ../common.h ../zippy.h ../frontend.h \
- ../backend.h ../backendz.h ../lists.h
- $(cc) $(cflags) $(cvars) $(cdebug) ../zippy.c
-
-$(proj).exe: $(allobj) $(proj).rbj $(proj).hlp $(proj).rc
- $(link) $(linkdebug) /NODEFAULTLIB:LIBCD $(guiflags) $(allobj) \
- wsock32.lib comctl32.lib winmm.lib libc.lib oldnames.lib kernel32.lib \
- advapi32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib \
- ws2_32.lib \
- $(proj).rbj -out:$(proj).exe
-
-# I don't use the .sbr, but it can be reenabled. Also turn /FR back on above.
-# bscmake *.sbr
-
-test.exe: test.c
- $(cc) $(cflags) $(cvars) $(cdebug) test.c
- $(link) $(linkdebug) $(conflags) test.obj $(conlibs) -out:test.exe
-