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
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 = -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)
81 MAKEDEPEND = makedepend
82 LASTBACKUP = lastbackup
83 VERSION_NUMBER = lastversion
87 ### Defaults (overrode by environment varialbles for local build)
90 SYSTEM_LIBDIR = "/usr/include"
91 DEFAULT_LARCHPATH = "/usr/local/lclint/lib"
92 DEFAULT_LCLIMPORTDIR = "/usr/local/lclint/imports"