"Fossies" - the Fresh Open Source Software Archive

Member "links-1.03/Makefile.gen" (26 Dec 2007, 2534 Bytes) of archive /linux/www/links-1.03.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 ifeq ($(findstring ;,$(PATH)),;)
    2 # OS/2; compiler EMX
    3 _OS_=os2
    4 else
    5 # Unix, Linux or other clones; compiler GCC (and maybe CC?)
    6 _OS_=unix
    7 endif
    8 
    9 OPT=1
   10 
   11 ifeq ($(_OS_),os2)
   12 ifeq ($(CC),cc)
   13 CC=gcc
   14 endif
   15 LIBS=-lsocket -Zmt
   16 EXE=links.exe
   17 DFLAGS=-DHAVE_BEGINTHREAD -DHAVE_MOUOPEN -DHAVE_READ_KBD -DHAVE_SYS_SELECT_H -DHAVE_SYS_FMUTEX_H -Zmt
   18 ifneq ($(X11ROOT),)
   19 DFLAGS+= -DX2 -I$(X11ROOT)/XFree86/include
   20 LIBS+=-L$(X11ROOT)/XFree86/lib -lxf86_gcc
   21 endif
   22 else
   23 #F=-lefence
   24 LIBS=$(F)
   25 #-lgpm
   26 EXE=links
   27 endif
   28 
   29 ifeq ($(OPT),1)
   30 OFLAGS=-O3
   31 
   32 endif
   33 
   34 WARNINGS = -Wall
   35 
   36 CFLAGS = -DHAVE_CONFIG2_H $(DFLAGS) $(OFLAGS) $(WARNINGS) -g
   37 
   38 all : $(EXE)
   39 
   40 af_unix.o : af_unix.c links.h language.h
   41 beos.o : beos.c links.h language.h
   42 bfu.o : bfu.c links.h language.h
   43 bookmark.o : bookmark.c links.h language.h
   44 cache.o : cache.c links.h language.h
   45 charsets.o : charsets.c links.h language.h
   46 connect.o : connect.c links.h language.h
   47 cookies.o : cookies.c links.h language.h
   48 default.o : default.c links.h language.h
   49 dns.o : dns.c links.h language.h
   50 error.o : error.c links.h language.h
   51 file.o : file.c links.h language.h
   52 finger.o : finger.c links.h language.h
   53 ftp.o : ftp.c links.h language.h
   54 html_r.o : html_r.c links.h language.h
   55 html_tbl.o : html_tbl.c links.h language.h
   56 html.o : html.c links.h language.h
   57 http.o : http.c links.h language.h
   58 https.o : https.c links.h language.h
   59 kbd.o : kbd.c links.h language.h
   60 kbdbind.o : kbdbind.c links.h language.h
   61 language.o : language.c links.h language.h
   62 mailto.o : mailto.c links.h language.h
   63 main.o : main.c links.h language.h
   64 menu.o : menu.c links.h language.h
   65 os_dep.o : os_dep.c links.h language.h
   66 sched.o : sched.c links.h language.h
   67 select.o : select.c links.h language.h
   68 session.o : session.c links.h language.h
   69 smb.o : smb.c links.h language.h
   70 terminal.o : terminal.c links.h language.h
   71 types.o : types.c links.h language.h
   72 url.o : url.c links.h language.h
   73 view.o : view.c links.h language.h
   74 $(EXE) : af_unix.o beos.o bfu.o bookmark.o cache.o charsets.o connect.o cookies.o default.o dns.o error.o file.o finger.o ftp.o html_r.o html_tbl.o html.o http.o https.o kbd.o kbdbind.o language.o mailto.o main.o menu.o os_dep.o sched.o select.o session.o smb.o terminal.o types.o url.o view.o
   75 	$(CC) -o $(EXE) af_unix.o beos.o bfu.o bookmark.o cache.o charsets.o connect.o cookies.o default.o dns.o error.o file.o finger.o ftp.o html_r.o html_tbl.o html.o http.o https.o kbd.o kbdbind.o language.o main.o mailto.o menu.o os_dep.o sched.o select.o session.o smb.o terminal.o types.o url.o view.o $(LIBS)
   76 
   77 clean :
   78 	rm -f *.o