]> andersk Git - splint.git/blame - src/Makefile.sys
noexpand always false.
[splint.git] / src / Makefile.sys
CommitLineData
885824d3 1################################################
2###
3### Generic system dependant Makefile
4### edit this file to build a new system
5###
6################################################
7
8### File Counts
9
10WC = wc
11LS = ls
12OFILES = $(LS) *.o | $(WC) -l
13SFILES = $(LS) *.c | $(WC) -l
14
754746a0 15## on mamba
16#BISON = /usr/local/bin/bison
17#FLEX = /usr/local/bin/flex
18
19BISON = /usr/bin/bison
20FLEX = /usr/bin/flex
21
22# ${HOME}/bison-1.28/bin/bison
23
24
885824d3 25###
26### Compiler and compiler flags
27###
28### NOTE: CC is set in top level Makefile
29###
30
2934b455 31CC = gcc -Wall -g
32CCOPT = gcc -Wall -g
754746a0 33# -O4 doesn't work with bison 1.25
885824d3 34
35###
36### CPPFLAGS also used by lclint --- it should only include -I, -D and
37### -U flags
38###
39
40CPPFLAGS = -I$(HEADERDIR) -DUNIX -DNOSTDLIB=0 -DUGS=1
41### -DUGS=1 is needed for AIX (should be set by configure)
42
754746a0 43### lex library
44
45LINKFLAGS = -lfl
46
885824d3 47
48ifeq ($(CC), gcc)
b7b694d6 49 CFLAGS = -Wpointer-arith -Wcast-qual -Wcomment -Wswitch -Wunused -Wreturn-type -ansi -pedantic
885824d3 50else
b7b694d6 51 CFLAGS =
885824d3 52endif
53
54DEBUGFLAGS = -DYYDEBUG=1 -DYYIMPURE=1 # don't change this
55
56### bison flags
57
754746a0 58YFLAGS = -v -t -d --debug
885824d3 59
60###
61### controls lclint checking (uncomment this line to have
62### lclint check each source file before compiling)
63###
64### CHECK = TRUE
65###
66
67### SHELL = /bin/csh
68
69LCLINT = lclint
70
71HEADERDIR = Headers
72
73### standard commands
74
75RM = rm -f
76MV = mv -f
77CP = cp
78CAT = cat
6fcd0b1e 79SED = sed
885824d3 80
81MAKEDEPEND = makedepend
82LASTBACKUP = lastbackup
83VERSION_NUMBER = lastversion
84
85
754746a0 86###
87### Defaults (overrode by environment varialbles for local build)
88###
885824d3 89
2934b455 90SYSTEM_LIBDIR = "/usr/include"
b7e84605 91DEFAULT_LARCHPATH = "/usr/local/lclint/lib"
92DEFAULT_LCLIMPORTDIR = "/usr/local/lclint/imports"
885824d3 93
This page took 0.196852 seconds and 5 git commands to generate.