"Fossies" - the Fresh Open Source Software Archive

Member "xombrero-1.6.4/dragonfly/Makefile" (17 Feb 2015, 2636 Bytes) of package /linux/www/old/xombrero-1.6.4.tgz:


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. See also the latest Fossies "Diffs" side-by-side code changes report for "Makefile": 1.6.3_vs_1.6.4.

    1 GTK_VERSION?= gtk3
    2 .if ${GTK_VERSION} == "gtk2"
    3 LIBS= gtk+-2.0 webkit-1.0
    4 .else
    5 LIBS= gtk+-3.0 webkitgtk-3.0
    6 .endif
    7 LIBS+= libsoup-2.4 gnutls
    8 
    9 LDADD= -lutil -lX11
   10 GTK_CFLAGS!= pkg-config --cflags $(LIBS)
   11 GTK_LDFLAGS!= pkg-config --libs $(LIBS)
   12 CFLAGS+= $(GTK_CFLAGS) -O2 -Wall -I. -I..
   13 LDFLAGS+= $(GTK_LDFLAGS)
   14 
   15 PREFIX?= /usr/local
   16 BINDIR?= $(PREFIX)/bin
   17 MANDIR?= $(PREFIX)/man
   18 RESDIR?= $(PREFIX)/share/xombrero/
   19 CFLAGS+= -DXT_DS_RESOURCE_DIR=\"$(RESDIR)\"
   20 
   21 CC= cc
   22 
   23 all: ../javascript.h ../tooltip.h xombrero
   24 
   25 ../javascript.h: ../js-merge-helper.pl ../hinting.js ../autoscroll.js
   26 	perl ../js-merge-helper.pl ../hinting.js ../input-focus.js \
   27 	../autoscroll.js > ../javascript.h
   28 
   29 ../tooltip.h: ../ascii2txt.pl ../txt2tooltip.pl ../xombrero.1
   30 	nroff -c -Tascii -mandoc ../xombrero.1 | \
   31 	perl ../ascii2txt.pl | \
   32 	perl ../txt2tooltip.pl > ../tooltip.h
   33 
   34 xombrero.o: ../xombrero.o
   35 
   36 unix.o: ../unix.o
   37 
   38 marco.o: ../marco.o
   39 
   40 whitelist.o: ../whitelist.o
   41 
   42 settings.o: ../settings.o
   43 
   44 about.o: ../about.o
   45 
   46 inspector.o: ../inspector.o
   47 
   48 cookie.o: ../cookie.o
   49 
   50 inputfocus.o: ../inputfocus.o
   51 
   52 history.o: ../history.o
   53 
   54 completion.o: ../completion.o
   55 
   56 externaleditor.o: ../externaleditor.o
   57 
   58 tldlist.o: ../tldlist.o
   59 
   60 ../xombrero.o: ../javascript.h ../tooltip.h
   61 
   62 xombrero: xombrero.o dragonfly.o marco.o about.o inspector.o whitelist.o settings.o \
   63 	cookie.o history.o completion.o inputfocus.o tldlist.o externaleditor.o \
   64 	unix.o
   65 	$(CC) $(LDFLAGS) -o $@ *.o $+ $(LDADD)
   66 
   67 install: all
   68 	install -m 755 -d $(DESTDIR)$(BINDIR)
   69 	install -m 755 -d $(DESTDIR)$(MANDIR)/man1
   70 	install -m 755 -d $(DESTDIR)$(RESDIR)
   71 	install -m 755 -d $(DESTDIR)$(PREFIX)/share/applications
   72 	install -m 755 xombrero $(DESTDIR)$(BINDIR)
   73 	install -m 644 ../xombrero.1 $(DESTDIR)$(MANDIR)/man1/xombrero.1
   74 	install -m 644 ../xombrero.css $(DESTDIR)$(RESDIR)
   75 	install -m 644 ../xombrero.desktop $(DESTDIR)$(PREFIX)/share/applications
   76 	install -m 644 ../xombreroicon16.png $(DESTDIR)$(RESDIR)
   77 	install -m 644 ../xombreroicon32.png $(DESTDIR)$(RESDIR)
   78 	install -m 644 ../xombreroicon48.png $(DESTDIR)$(RESDIR)
   79 	install -m 644 ../xombreroicon64.png $(DESTDIR)$(RESDIR)
   80 	install -m 644 ../xombreroicon128.png $(DESTDIR)$(RESDIR)
   81 	install -m 644 ../xombreroicon256.png $(DESTDIR)$(RESDIR)
   82 	install -m 644 ../favicon.ico $(DESTDIR)$(RESDIR)
   83 	install -m 644 ../tld-rules $(DESTDIR)$(RESDIR)
   84 	install -m 644 ../style.css $(DESTDIR)$(RESDIR)
   85 	install -m 644 ../hsts-preload $(DESTDIR)$(RESDIR)
   86 	install -m 644 ../torenabled.ico $(DESTDIR)$(RESDIR)
   87 	install -m 644 ../tordisabled.ico $(DESTDIR)$(RESDIR)
   88 
   89 clean:
   90 	rm -f xombrero *.o
   91 	rm -f javascript.h
   92 	rm -f tooltip.h
   93 
   94 .PHONY: all install clean