File: jmake

package info (click to toggle)
lookup 1.08b-5
  • links: PTS
  • area: contrib
  • in suites: woody
  • size: 1,108 kB
  • ctags: 1,305
  • sloc: ansic: 12,634; makefile: 236; perl: 174; sh: 53
file content (38 lines) | stat: -rwxr-xr-x 863 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
:
##
## Can have Make-style "var=val" arguments to override the variables
## below. Also "make=options" to add additioal options to make.
##
## To make the server, try
##	jmake EXTRA=-DSERVER_CONFIG
##

CC=gcc2
CFLAGS_EXTRA=-I/usr/local/lib/gcc-lib/m88k-omron-luna/latest/include

#OTHERLIBS=/mach1/jfriedl/dbmalloc/libdbmalloc.a -lmach
#OTHERLIBS=-lmach
KIBISHII=-DKIBHISHII_DEBUG
gcc=gcc2
warn=1
kibishii=1
pedantic=1
debug=1
#md=1
MANPAGE_WIDTH=-r195

#############################################################################
## allow to be changed on jmake command line
eval $@
export OTHERLIBS
export KIBISHII
export CFLAGS_EXTRA
export MANPAGE_WIDTH
export EXTRA

gmake -k $make CC="$CC" gcc="$gcc" warn="$warn" debug="$debug" md="$md"\
	kibishii="$kibishii" pedantic="$pedantic" 2>&1| sed \
	-e '/^\//d' \
	-e '/ included from /d' \
	-e '/^ *from /d'