From 3066e2b407d3a0ede3884da7d01f7560eb059830 Mon Sep 17 00:00:00 2001 From: Eric Mullins Date: Sun, 12 Jul 2009 15:26:49 -0600 Subject: [PATCH] Removed obsolete makefiles and support files. --- winboard/bcc32.cfg | 7 --- winboard/borland.mak | 87 -------------------------------------- winboard/cygwin.mak | 96 ------------------------------------------ winboard/mingw32.mak | 90 --------------------------------------- winboard/msvc.mak | 113 -------------------------------------------------- winboard/msvc7.mak | 113 -------------------------------------------------- 6 files changed, 0 insertions(+), 506 deletions(-) delete mode 100644 winboard/bcc32.cfg delete mode 100644 winboard/borland.mak delete mode 100644 winboard/cygwin.mak delete mode 100644 winboard/mingw32.mak delete mode 100644 winboard/msvc.mak delete mode 100644 winboard/msvc7.mak diff --git a/winboard/bcc32.cfg b/winboard/bcc32.cfg deleted file mode 100644 index 20d4a38..0000000 --- a/winboard/bcc32.cfg +++ /dev/null @@ -1,7 +0,0 @@ --Ic:\bc45\include --Lc:\bc45\lib --Ld:\lib --w-ccc -w-eff -w-pia -w-par -w-stv -w-inl -w-aus -w-csu --w-pro -w-rch --tWE -tWM- -U_RTLDLL - diff --git a/winboard/borland.mak b/winboard/borland.mak deleted file mode 100644 index 0e45e24..0000000 --- a/winboard/borland.mak +++ /dev/null @@ -1,87 +0,0 @@ -# Makefile for Borland C -# Contributed by Don Fong -# Modified for Winboard Plus by Mark Williams -ENV=WIN32 -CPU=i386 - -cc=bcc32 -rc=brc32 -w32 -Ic:/bc45/include;. -link=$(cc) - -# Use up to date help compiler -hc="c:\program files\help workshop\hcrtf.exe" -xn - -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 -libs=wsock32.lib import32.lib -rm = c:\mksnt\rm -f - -cvars = -DWINVER=0x0400 - -.c.obj: - $(cc) -c $(cvars) $*.c - - - -all: $(proj).exe - -# Update the help file if necessary -$(proj).hlp : $(proj).rtf - $(hc) $(proj).hpj - cat $(proj).err - -# Update the resource if necessary -$(proj).res: $(proj).rc - $(rc) -r $(proj).rc - -# 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 - -backend.obj: backend.c config.h frontend.h backend.h common.h parser.h - -parser.obj: parser.C config.h common.h backend.h parser.h - -parser.C: parser.l - flex -L parser.l - del parser.C - rename lex.yy.c parser.C - -moves.obj: moves.c config.h backend.h common.h parser.h moves.h - -lists.obj: lists.c config.h lists.h common.h - -gamelist.obj: gamelist.c config.h lists.h common.h frontend.h backend.h \ - parser.h - -pgntags.obj: pgntags.c config.h common.h frontend.h backend.h parser.h lists.h - -wclipbrd.obj: wclipbrd.c config.h common.h winboard.h frontend.h backend.h - -wedittags.obj: wedittags.c config.h common.h winboard.h frontend.h backend.h - -wgamelist.obj: wgamelist.c config.h. common.h winboard.h frontend.h backend.h \ - wgamelist.h - -woptions.obj: woptions.c config.h common.h winboard.h frontend.h backend.h - -wsockerr.obj: wsockerr.c wsockerr.h - -zippy.obj: zippy.c config.h common.h zippy.h frontend.h - - -$(proj).exe: $(proj).bin $(proj).res - $(rc) -t -v -fe$(proj).exe $(proj).res $(proj).bin - -$(proj).bin: $(allobj) - $(link) -e$< @&&! -$(allobj) -$(libs) -! - -clean: - $(rm) *.obj - - diff --git a/winboard/cygwin.mak b/winboard/cygwin.mak deleted file mode 100644 index 1323670..0000000 --- a/winboard/cygwin.mak +++ /dev/null @@ -1,96 +0,0 @@ -# -# 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 diff --git a/winboard/mingw32.mak b/winboard/mingw32.mak deleted file mode 100644 index f60de0f..0000000 --- a/winboard/mingw32.mak +++ /dev/null @@ -1,90 +0,0 @@ -# -# 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 diff --git a/winboard/msvc.mak b/winboard/msvc.mak deleted file mode 100644 index ef96596..0000000 --- a/winboard/msvc.mak +++ /dev/null @@ -1,113 +0,0 @@ -# -# 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="c:\program files\microsoft visual studio\common\tools\hcrtf.exe" -xn -hc="c:\program files\help workshop\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: - rm -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 $(cvars) $(proj).rc - cvtres -$(CPU) $(proj).res -o $(proj).rbj - -# 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) $(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 - diff --git a/winboard/msvc7.mak b/winboard/msvc7.mak deleted file mode 100644 index bb4cd4f..0000000 --- a/winboard/msvc7.mak +++ /dev/null @@ -1,113 +0,0 @@ -# -# 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 - -- 1.7.0.4