diff options
author | Andrew Shadura <andrew@shadura.me> | 2013-10-16 16:27:16 +0200 |
---|---|---|
committer | Andrew Shadura <andrew@shadura.me> | 2013-10-16 16:46:07 +0200 |
commit | 4cea11d2553c18bc8a8ae3a384c2dfea321f1b7e (patch) | |
tree | 2959323c7a19b86498c9203b309829abd3b0a073 /netbsd | |
parent | fd0f74fe511df46b2d3ba39f3bf5f6e9841e1623 (diff) | |
download | xombrero-4cea11d2553c18bc8a8ae3a384c2dfea321f1b7e.tar.gz |
Synchronise makefiles, add BSD makefile for Linux.
Diffstat (limited to 'netbsd')
-rw-r--r-- | netbsd/Makefile | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/netbsd/Makefile b/netbsd/Makefile index b77fd25..de7e892 100644 --- a/netbsd/Makefile +++ b/netbsd/Makefile @@ -11,8 +11,9 @@ SRCS+= history.c completion.c tldlist.c externaleditor.c unix.c xombrero.c SRCS+= netbsd.c .PATH: ${.CURDIR}/.. -CFLAGS+= -O2 -Wall -Wno-format-extra-args -Wunused -CFLAGS+= -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare ${DEBUG} +CFLAGS+= -O2 -Wall -Wno-format-extra-args -Wunused -Wextra -Wno-unused-parameter +CFLAGS+= -Wno-missing-field-initializers -Wno-sign-compare +CFLAGS+= -Wno-deprecated-declarations -Wfloat-equal ${DEBUG} CFLAGS+= -DGTK_DISABLE_SINGLE_INCLUDES -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGSEAL_ENABLE CFLAGS+= -DGDK_DISABLE_DEPRECATION_WARNINGS -DGLIB_DISABLE_DEPRECATION_WARNINGS CFLAGS+= -I. -I.. @@ -60,10 +61,12 @@ tooltip.h: ${MAN} ../ascii2txt.pl ../txt2tooltip.pl beforeinstall: install -m 755 -d ${PREFIX}/bin - install -m 755 -d ${PREFIX}/man/man1/ - install -m 755 -d ${PREFIX}/man/html1/ + install -m 755 -d ${MANDIR}/man1/ + install -m 755 -d ${MANDIR}/html1/ install -m 755 -d ${PREFIX}/share/xombrero - install -m 644 $(.CURDIR)/../xombrero.css ${PREFIX}/share/xombrero + install -m 755 -d ${PREFIX}/share/applications + install -m 644 ${.CURDIR}/../xombrero.css ${PREFIX}/share/xombrero + install -m 644 ${.CURDIR}/../xombrero.desktop ${PREFIX}/share/applications install -m 644 ${.CURDIR}/../xombreroicon16.png ${PREFIX}/share/xombrero install -m 644 ${.CURDIR}/../xombreroicon32.png ${PREFIX}/share/xombrero install -m 644 ${.CURDIR}/../xombreroicon48.png ${PREFIX}/share/xombrero @@ -74,6 +77,10 @@ beforeinstall: install -m 644 ${.CURDIR}/../tld-rules ${PREFIX}/share/xombrero install -m 644 ${.CURDIR}/../style.css ${PREFIX}/share/xombrero install -m 644 ${.CURDIR}/../hsts-preload ${PREFIX}/share/xombrero + install -m 644 ${.CURDIR}/../user-agent-headers ${PREFIX}/share/xombrero + install -m 644 ${.CURDIR}/../http-accept-headers ${PREFIX}/share/xombrero + install -m 644 ${.CURDIR}/../torenabled.ico ${PREFIX}/share/xombrero + install -m 644 ${.CURDIR}/../tordisabled.ico ${PREFIX}/share/xombrero ${PROG} ${OBJS} beforedepend: javascript.h tooltip.h |