blob: 897c50d739a93fd05e15dc430f99fb9824e4fbcd (
plain)
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
|
#!/bin/sh
# Build and install options for qlibs
#
#********************************************************************************
# default compiler flags - usually this shouldn't be changed
CFLAGS='-O2 -Iinclude -fPIC -Wall'
# under OmniOS the binaries are build as 32 bit version; except enabling this:
#CFLAGS='-O2 -Iinclude -Wall -fPIC -m64'
# You can check the ELFCLASS while calling eg.: 'file open.o'.
#********************************************************************************
# destination folder(s) (install options of qlibs)
#
# Define a destination where libs and/or header files will be installed into. If
# a var is empty, then nothing will be installed (copied). The term 'libs' here
# means all '*.a' files and additional all files given by $OFILES (see below).
# Example 1:
# LIBDIR=.. - copy all libs into the upper folder
# HDRDIR= - don't copy header files ('*.h')
# Example 2:
# LIBDIR=/usr/local/lib - copy all libs into /usr/local/lib
# HDRDIR=$LIBDIR/include - copy all header files into /usr/local/lib/include
#
LIBDIR=..
HDRDIR=../include/
#********************************************************************************
# Additional libs (object files, delimited by space, enclosed in "'")
OFILES='base64.o byte.o fmt.o prot.o pathexec.o readclose.o scan.o constmap.o'
|