1# This file is only for RPM automated build
2# Don't use it for any other purposes!
3
4ARCH:=$(shell getconf LONG_BIT)
5PREFIX=/usr
6ifeq ($(ARCH), 64)
7    LIBDIR=$(PREFIX)/lib64
8else
9    LIBDIR=$(PREFIX)/lib
10endif
11BINDIR=$(PREFIX)/bin
12MANDIR=$(PREFIX)/share/man
13INCDIR=$(PREFIX)/include
14CFGDIR=~/fido/etc/husky
15CC=gcc
16CXX=g++
17TERMCAP=ncurses
18GPP=g++
19PC=ppc386
20AR=ar
21MKSHARED=gcc
22RM=rm
23INSTALL=install
24LN=ln
25MKDIR=mkdir
26LDCONFIG=
27MV=mv
28CP=cp
29RANLIB=ar s
30H2PAS=h2pas
31OSTYPE=UNIX
32UNAME=
33DIRSEP=/
34DEBUG=0
35PERL=1
36USE_HPTZIP=0
37DYNLIBS=0
38EXENAMEFLAG=-o
39WARNFLAGS=-Wall
40OPTCFLAGS=-c -s -O3 -fomit-frame-pointer -fstrength-reduce -fPIC
41ifeq ( $(DYNLIBS), 0 )
42  ifeq ($(OSTYPE), UNIX)
43    WARNFLAGS+= -static
44    OPTCFLAGS+= -static
45  endif
46endif
47DEBCFLAGS=-c -ggdb
48OPTLFLAGS=-s
49DEBLFLAGS=-g
50ifeq ($(DEBUG), 1)
51    IBOPT =-c -m 555
52else
53    IBOPT =-c -s -m 555
54endif
55ISOPT=-c -m 555
56ILOPT=-c -m 555
57ISLOPT=-c -m 444
58IMOPT=-c -m 444
59IIOPT=-c -m 444
60LNOPT=-sf
61AR_R = r
62MKDIROPT=-p
63RMOPT=-f
64_EXE=
65_OBJ=.o
66_LIB=.a
67_DLL=.so
68_TPU=.ppu
69