]> andersk Git - splint.git/blob - src/Makefile.sys-mine
noexpand always false.
[splint.git] / src / Makefile.sys-mine
1 ################################################
2 ###
3 ### Generic system dependant Makefile
4 ### edit this file to build a new system
5 ###
6 ################################################
7
8 ### File Counts
9
10 WC = wc
11 LS = ls
12 OFILES = $(LS) *.o | $(WC) -l
13 SFILES = $(LS) *.c | $(WC) -l
14
15 ## on mamba
16 #BISON     = /usr/local/bin/bison
17 #FLEX      = /usr/local/bin/flex
18
19 BISON = /usr/bin/bison
20 FLEX = /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
31 CC              = /usr/local/bin/gcc -O3 -Wall
32 CCOPT           = /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
40 CPPFLAGS     = -I$(HEADERDIR) -DUNIX -DNOSTDLIB=0 -DUGS=1
41 ### -DUGS=1 is needed for AIX (should be set by configure)
42
43 ### lex library
44
45 LINKFLAGS     = -lfl
46
47
48 ifeq ($(CC), gcc)
49   CFLAGS       = $(CPPFLAGS) -Wpointer-arith -Wcast-qual -Wcomment -Wswitch -Wunused -Wreturn-type -ansi -pedantic
50 else
51   CFLAGS       = $(CPPFLAGS)
52 endif
53
54 DEBUGFLAGS = -DYYDEBUG=1 -DYYIMPURE=1 # don't change this
55
56 ### bison flags
57
58 YFLAGS          = -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
69 LCLINT          = lclint
70
71 HEADERDIR       = Headers
72
73 ### standard commands
74
75 RM              = rm -f
76 MV              = mv -f
77 CP              = cp
78 CAT             = cat
79
80 MAKEDEPEND      = makedepend
81 LASTBACKUP      = lastbackup
82 VERSION_NUMBER  = lastversion
83
84
85 ###
86 ### Defaults (overrode by environment varialbles for local build)
87 ###
88
89 SYSTEM_LIBDIR   = /usr/include
90 DEFAULT_LARCHPATH = /usr/local/lclint-2.5m/lib
91 DEFAULT_LCLIMPORTDIR = /usr/local/lclint-2.5m/imports
92
This page took 0.179694 seconds and 5 git commands to generate.