File: common.mk

package info (click to toggle)
budgie-desktop 10.2.9-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 15,508 kB
  • sloc: ansic: 187,912; sh: 11,436; makefile: 1,559; xml: 345
file content (33 lines) | stat: -rw-r--r-- 955 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
AM_CFLAGS = \
	-fstack-protector -Wall -pedantic			\
	-Wstrict-prototypes -Wundef -fno-common 		\
	-Werror-implicit-function-declaration 			\
	-Wformat -Wformat-security -Werror=format-security 	\
	-Wconversion -Wunused-variable -Wunreachable-code 	\
	-Wall -W -D_FORTIFY_SOURCE=2 -std=c11			\
        -DDATADIR=\"$(datadir)\" -DSYSCONFDIR=\"$(sysconfdir)\" \
	-DGDK_VERSION_MAX_ALLOWED=GDK_VERSION_3_16 		\
	-DGDK_VERSION_MIN_REQUIRED=GDK_VERSION_3_16		\
	-DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_44		\
	-DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_44


AM_CPPFLAGS += \
	-I $(top_srcdir) \
	-I $(top_srcdir)/src/gvc \
	-I $(top_srcdir)/src/config \
	-I $(top_srcdir)/src/lib \
	-I $(top_srcdir)/src/libsession \
	-I $(top_srcdir)/src/panel \
	-I $(top_srcdir)/src/plugin \
	-I $(top_srcdir)/src/raven \
	-I $(top_srcdir)/src/theme \
	-O2

DECLARATIONS = \
	-DGETTEXT_PACKAGE=\"$(GETTEXT_PACKAGE)\"

MODULE_FLAGS = \
	-module \
	-avoid-version \
	-shared