blob: 6e8ee8f42d4a0ab8e7555a32b0225f3f623aac8c (
plain) (
tree)
|
|
OBJS= UCdomap.o UCAux.o UCAuto.o \
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 \
HTML.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 LYExtern.o \
LYStyle.o LYHash.o LYPrettySrc.o TRSTable.o
CFLAGS= -O1 $(MCFLAGS) $(INTLFLAGS) -I. -I.. $(SLANGINC)
# comment this line to suppress DIRED support
DIRED_DEFS = \
-DDIRED_SUPPORT \
-DOK_UUDECODE \
-DOK_TAR \
-DOK_GZIP \
-DOK_ZIP \
-DOK_OVERRIDE
# Use this option to enable optional and *experimental* color style.
#ENABLE_COLOR_STYLE = \
-DUSE_COLOR_STYLE \
-DUSE_HASH \
-DLINKEDSTYLES
CC = gcc
MCFLAGS = \
$(DIRED_DEFS) \
$(ENABLE_COLOR_STYLE) \
-DACCESS_AUTH \
-DCOLOR_CURSES \
-DDISP_PARTIAL \
-DDOSPATH \
-DEXP_ADDRLIST_PAGE \
-DEXP_ALT_BINDINGS \
-DEXP_FILE_UPLOAD \
-DEXP_PERSISTENT_COOKIES \
-DFANCY_CURSES \
-DHAVE_GETBKGD \
-DNCURSES \
-DNOUSERS \
-DNO_CUSERID \
-DNO_TTYTYPE \
-DNO_UTMP \
-DSOURCE_CACHE \
-DUSE_EXTERNALS \
-DUSE_PRETTYSRC \
-DUSE_ZLIB \
-DWATT32 \
-I./chrtrans \
-I../WWW/Library/Implementation \
-I../curses \
-I../djgpp/watt32/inc \
-I../djgpp/watt32/inc/sys
WWWLIB = \
../WWW/Library/djgpp/libwww.a \
../curses/pdcurses.a \
../djgpp/watt32/lib/libwatt.a
LIBS= -lz # -lintl
#INTLFLAGS = -DHAVE_GETTEXT -DHAVE_LIBINTL_H
all: lynx
lynx: message $(OBJS) $(WWWLIB)
@echo "Linking and creating Lynx executable"
$(CC) $(CFLAGS) -o lynx.exe $(OBJS) $(WWWLIB) $(LIBS)
@echo "Welcome to Lynx!"
message:
@echo "Compiling Lynx sources"
dbg: $(OBJS) $(WWWLIB)
@echo "Making Lynx code"
$(CC) -g $(OBJS) $(CFLAGS) $(WWWLIB) $(LIBS)
lint:
lint *.c > ../lint.out
clean:
rm -f lynx.exe core *.[ob]
DefaultStyle.o: ../userdefs.h
HTFWriter.o: ../userdefs.h
LYBookmark.o: ../userdefs.h
LYCharSets.o: ../userdefs.h
LYCharUtils.o: ../userdefs.h
LYCookie.o: ../userdefs.h
LYDownload.o: ../userdefs.h
LYEditmap.o: ../userdefs.h
LYExtern.o: ../userdefs.h
LYGetFile.o: ../userdefs.h
LYHistory.o: ../userdefs.h
LYKeymap.o: ../userdefs.h
LYMain.o: ../userdefs.h
LYMainLoop.o: ../userdefs.h
LYOptions.o: ../userdefs.h
LYReadCFG.o: ../userdefs.h
LYShowInfo.o: ../userdefs.h
LYStrings.o: ../userdefs.h
LYTraversal.o: ../userdefs.h
LYUtils.o: ../userdefs.h
|