about summary refs log tree commit diff stats
path: root/src/makefile.dos
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>1997-04-16 01:40:22 -0400
committerThomas E. Dickey <dickey@invisible-island.net>1997-04-16 01:40:22 -0400
commite4409c408eedf320b8845cafdd62b664bec1afd8 (patch)
treeccce96259ffd0a5edf9dc05e49262aaf5854fd99 /src/makefile.dos
parent36a66292ee2ec3530d776892d22d6c5ace810ae0 (diff)
downloadlynx-snapshots-e4409c408eedf320b8845cafdd62b664bec1afd8.tar.gz
snapshot of project "lynx", label v2-7-1ac_0-6
Diffstat (limited to 'src/makefile.dos')
-rw-r--r--src/makefile.dos54
1 files changed, 54 insertions, 0 deletions
diff --git a/src/makefile.dos b/src/makefile.dos
new file mode 100644
index 00000000..8a820ab8
--- /dev/null
+++ b/src/makefile.dos
@@ -0,0 +1,54 @@
+OBJS=  LYClean.o LYShowInfo.o LYEdit.o LYStrings.o \
+LYMail.o HTAlert.o GridText.o LYGetFile.o \
+LYMain.o LYMainLoop.o LYCurses.o LYBookmark.o LYUtils.o \
+LYOptions.o LYReadCFG.o LYSearch.o LYHistory.o \
+LYForms.o LYPrint.o LYrcFile.o LYDownload.o LYNews.o LYKeymap.o \
+HTFWriter.o HTInit.o DefaultStyle.o LYLocal.o LYUpload.o \
+LYLeaks.o LYexit.o LYJump.o LYList.o LYCgi.o LYTraversal.o \
+LYEditmap.o LYCharSets.o LYCharUtils.o LYMap.o LYCookie.o HTML.o \
+UCAUTO.o UCAUX.o UCDOMAP.o
+
+CFLAGS= $(MCFLAGS) -I.. $(SLANGINC)
+
+CC = gcc
+#MCFLAGS = -O -DNCURSES -DFANCY_CURSES -DACCESS_AUTH -DNO_CUSERID -DNOUSERS -DDOSPATH -DNO_TTYTYPE -DNO_UTMP -I../WWW/library/implementation -I../djgpp/tcplib/include -I../djgpp/tcplib/include/tcp -I../djgpp/pdcurses/include
+MCFLAGS = -DEXP_CHARTRANS -DCOLOR_CURSES -DNCURSES -DFANCY_CURSES -DACCESS_AUTH -DNO_CUSERID -DNOUSERS -DDOSPATH -DNO_TTYTYPE -DNO_UTMP -I../WWW/library/implementation -I../djgpp/tcplib/include -I../djgpp/tcplib/include/tcp -I../djgpp/pdcurses/include
+WWWLIB = ../WWW/library/djgpp/libwww.a ../djgpp/pdcurses/lib/libcurso.a ../djgpp/tcplib/obj/libtcp.a
+
+all: lynx
+
+lynx:   message $(OBJS) $(WWWLIB)
+	@echo "Linking and creating Lynx executable"
+	$(CC) $(CFLAGS) -o lynx  $(OBJS) $(WWWLIB) $(SLANGLIB) $(LIBS)
+	@echo "Welcome to Lynx!"
+
+message:
+	@echo "Compiling Lynx sources"
+
+dbg:	$(OBJS) $(WWWLIB)
+	@echo "Making Lynx code"
+	$(CC) -g $(OBJS) $(CFLAGS) $(WWWLIB) $(SLANGLIB) $(LIBS)
+
+lint:
+	lint *.c  > ../lint.out
+
+clean:
+	rm -f lynx core *.[ob]
+
+LYMain.o: ../userdefs.h
+LYMainLoop.o: LYMainLoop.c ../userdefs.h
+LYReadCFG.o: LYReadCFG.c ../userdefs.h
+HTFWriter.o: HTFWriter.c ../userdefs.h
+LYGetFile.o: LYGetFile.c ../userdefs.h
+LYOptions.o: LYOptions.c ../userdefs.h
+LYReadCFG.o: LYReadCFG.c ../userdefs.h
+LYTraversal.o: LYTraversal.c ../userdefs.h
+LYCharSets.o: LYCharSets.c ../userdefs.h
+LYShowInfo.o: LYShowInfo.c ../userdefs.h
+LYStrings.o: LYStrings.c ../userdefs.h
+LYBookmark.o: LYBookmark.c ../userdefs.h
+LYHistory.o: LYHistory.c ../userdefs.h
+LYDownload.o: LYDownload.c ../userdefs.h
+DefaultStyle.o: DefaultStyle.c ../userdefs.h
+LYEditmap.o: LYEditmap.c ../userdefs.h
+LYCharUtils.o: LYCharUtils.c ../userdefs.h