File: Make.rules.in

package info (click to toggle)
ncpfs 2.2.6-9
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 11,052 kB
  • sloc: ansic: 83,018; sh: 11,841; tcl: 2,904; perl: 2,572; makefile: 1,097; yacc: 316; php: 167; awk: 43; sed: 11
file content (62 lines) | stat: -rw-r--r-- 2,042 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# ########################################################
INSTALL := @INSTALL@
INSTALL_DATA := @INSTALL_DATA@
CC := @CC@

prefix := @prefix@
exec_prefix := @exec_prefix@
bindir := @bindir@
sbindir := @sbindir@
libsodir := @libdir@
#libsodir := /lib
libadir := @libdir@
mandir := @mandir@
srcdir := @srcdir@
includedir := @includedir@
sysconfdir := @sysconfdir@
localedir := @localedir@
VPATH = @srcdir@

NDS_SUPPORT := @NDS_SUPPORT@
SIGNATURES := @SIGNATURES@

PACKAGE := @PACKAGE_NAME@
VERSION := @PACKAGE_VERSION@

CC_WARNINGS := @CC_WARNINGS@

ifeq ($(CC_WARNINGS),yes)
#CWARN := -Wall -Wstrict-prototypes -Wpointer-arith -Wcast-qual -Waggregate-return -Wnested-externs -Winline -Wbad-function-cast -W #-Werror #-Wwrite-strings -Wtraditional -Wshadow
#CWARN := -Wall -Wstrict-prototypes -Wcast-qual -Waggregate-return -Wnested-externs -Winline -Wbad-function-cast -W #-Wpointer-arith #-Werror #-Wwrite-strings -Wtraditional -Wshadow
CWARN := -Wall -Wundef -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-prototypes -Wmissing-noreturn -Wredundant-decls   -Wstrict-prototypes -Wcast-qual -Waggregate-return -Wnested-externs -Winline -Wbad-function-cast -W #-Wpointer-arith #-Werror #-Wwrite-strings -Wtraditional -Wshadow
else
CWARN := 
endif

# ########################################################

INCLUDES := -I$(top_srcdir)/include -I$(top_srcdir)/intl -I$(top_builddir)/include

CFLAGS_OPTIONS += @CFLAGS@
CFLAGS_OPTIONS += $(CWARN)
CFLAGS_DEFINES := -DN_PLAT_LINUX -DLOCALEDIR=\"${localedir}\" -DNCPFS_VERSION=\"${VERSION}\" -DNCPFS_PACKAGE=\"${PACKAGE}\"

CCFLAGS := $(CFLAGS_DEFINES) $(CFLAGS_OPTIONS) $(INCLUDES)

LDFLAGS := @LDFLAGS@

# If your system is ELF, either also do a 'make install', or append the util/
# directory where the dynamic library resides to the environment
# variable LD_LIBRARY_PATH
HAVE_ELF := @ELF_TARGET@

VERSION_SOLIB := 2.3.0
VERSION_SONAME := 2.3

NEED_DEP := yes
ifneq ($(MAKECMDGOALS),)
ifeq ($(filter-out clean distclean mrproper, $(MAKECMDGOALS)),)
NEED_DEP := no
endif
endif