File: config.mk

package info (click to toggle)
libixp 0.6~20121202%2Bhg148-5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 988 kB
  • sloc: ansic: 4,908; sh: 142; perl: 121; makefile: 111
file content (48 lines) | stat: -rw-r--r-- 874 bytes parent folder | download
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
39
40
41
42
43
44
45
46
47
48
# Customize below to fit your system

COMPONENTS = \
	libixp \
	libixp_pthread

# Paths
PREFIX = /usr/local
  BIN = $(PREFIX)/bin
  MAN = $(PREFIX)/share/man
  ETC = $(PREFIX)/etc
  LIBDIR = $(PREFIX)/lib
  INCLUDE = $(PREFIX)/include

# Includes and libs
INCLUDES = -I. -I$(ROOT)/include -I$(INCLUDE) -I/usr/include
LIBS = $(LDLIBS)

# Flags
include $(ROOT)/mk/gcc.mk
CFLAGS += $(INCS)
LDFLAGS =

# Compiler, Linker. Linker should usually *not* be ld.
CC = cc
LD = $(CC)
# Archiver
AR = ar crs
#AR = sh -c 'ar cr "$$@" && ranlib "$$@"'

# Solaris
#CFLAGS = -fast $(INCS)
#LDFLAGS = $(LIBS) -R$(PREFIX)/lib -lsocket -lnsl
#CFLAGS += -xtarget=ultra

# Misc
MAKESO = 1
SOLDFLAGS = $(LDFLAGS)
SHARED = -shared -Wl,-soname=$(SONAME)

# Extra Components
IGNORE = \
	libixp_task \
	libixp_rubythread

RUBYINC = -I/usr/local/lib/ruby/1.8/i386-freebsd6
TASKINC = -I$(HOME)/libtask