1 ################################################
3 ### Generic system dependant Makefile
4 ### edit this file to build a new system
6 ################################################
12 OFILES = $(LS) *.o | $(WC) -l
13 SFILES = $(LS) *.c | $(WC) -l
16 #BISON = /usr/local/bin/bison
17 #FLEX = /usr/local/bin/flex
19 BISON = /usr/bin/bison
22 # ${HOME}/bison-1.28/bin/bison
26 ### Compiler and compiler flags
28 ### NOTE: CC is set in top level Makefile
31 CC = /usr/local/bin/gcc -O3 -Wall
32 CCOPT = /usr/local/bin/gcc -O3
33 # -O4 doesn't work with bison 1.25
36 ### CPPFLAGS also used by lclint --- it should only include -I, -D and
40 CPPFLAGS = -I$(HEADERDIR) -DUNIX -DNOSTDLIB=0 -DUGS=1
41 ### -DUGS=1 is needed for AIX (should be set by configure)
49 CFLAGS = $(CPPFLAGS) -Wpointer-arith -Wcast-qual -Wcomment -Wswitch -Wunused -Wreturn-type -ansi -pedantic
54 DEBUGFLAGS = -DYYDEBUG=1 -DYYIMPURE=1 # don't change this
58 YFLAGS = -v -t -d --debug
61 ### controls lclint checking (uncomment this line to have
62 ### lclint check each source file before compiling)
80 MAKEDEPEND = makedepend
81 LASTBACKUP = lastbackup
82 VERSION_NUMBER = lastversion
86 ### Defaults (overrode by environment varialbles for local build)
89 SYSTEM_LIBDIR = /usr/include
90 DEFAULT_LARCHPATH = /usr/local/lclint-2.5m/lib
91 DEFAULT_LCLIMPORTDIR = /usr/local/lclint-2.5m/imports