summarylogtreecommitdiffstats
path: root/Makefile.def
blob: 00568869aff7b1bc888f385287112ee6ca6e462d (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
31
32
# Slightly modified to work better with makepkg :
# - use "overide CFLAGS" to append to environment CFLAGS
# - remove "-fomit-frame-pointer" which is enabled at -O3 anyway
# - prepend "$DESTDIR" so "make install" will work as desired

CC = gcc
LD = gcc
override CFLAGS += -O3 -Wall

TARG_OBJEXTENSION = .o
TARG_EXEXTENSION =

HOST_OBJEXTENSION = $(TARG_OBJEXTENSION)
HOST_EXEXTENSION = $(TARG_EXEXTENSION)

# -------------------------------------------------------------------------
# directories where binaries, includes, and manpages should go during
# installation

BINDIR = $(DESTDIR)/usr/bin
INCDIR = $(DESTDIR)/usr/include/asl
MANDIR = $(DESTDIR)/usr/share/man
LIBDIR = $(DESTDIR)/usr/lib/asl
DOCDIR = $(DESTDIR)/usr/share/doc/asl

# -------------------------------------------------------------------------
# character encoding to use (choose one of them)

# CHARSET = CHARSET_ASCII7
# CHARSET = CHARSET_IBM437
CHARSET = CHARSET_UTF8
# CHARSET = CHARSET_ISO8859_1