]> andersk Git - splint.git/blame - src/Makefile.sys-mine
noexpand always false.
[splint.git] / src / Makefile.sys-mine
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
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
25###
26### Compiler and compiler flags
27###
28### NOTE: CC is set in top level Makefile
29###
30
31CC = /usr/local/bin/gcc -O3 -Wall
32CCOPT = /usr/local/bin/gcc -O3
33# -O4 doesn't work with bison 1.25
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
43### lex library
44
45LINKFLAGS = -lfl
46
47
48ifeq ($(CC), gcc)
49 CFLAGS = $(CPPFLAGS) -Wpointer-arith -Wcast-qual -Wcomment -Wswitch -Wunused -Wreturn-type -ansi -pedantic
50else
51 CFLAGS = $(CPPFLAGS)
52endif
53
54DEBUGFLAGS = -DYYDEBUG=1 -DYYIMPURE=1 # don't change this
55
56### bison flags
57
58YFLAGS = -v -t -d --debug
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
79
80MAKEDEPEND = makedepend
81LASTBACKUP = lastbackup
82VERSION_NUMBER = lastversion
83
84
85###
86### Defaults (overrode by environment varialbles for local build)
87###
88
89SYSTEM_LIBDIR = /usr/include
90DEFAULT_LARCHPATH = /usr/local/lclint-2.5m/lib
91DEFAULT_LCLIMPORTDIR = /usr/local/lclint-2.5m/imports
92
This page took 0.098078 seconds and 5 git commands to generate.