1# Customize below to fit your system
2
3COMPONENTS = \
4	libixp \
5	libixp_pthread
6
7# Paths
8PREFIX = /usr/local
9  BIN = $(PREFIX)/bin
10  MAN = $(PREFIX)/share/man
11  ETC = $(PREFIX)/etc
12  LIBDIR = $(PREFIX)/lib
13  INCLUDE = $(PREFIX)/include
14
15# Includes and libs
16INCPATH = .:$(ROOT)/include:$(INCLUDE):/usr/include
17LIBS = -L/usr/lib -lc
18
19# Flags
20include $(ROOT)/mk/gcc.mk
21CFLAGS += $(DEBUGCFLAGS) -O0 $(INCS) -fPIC
22LDFLAGS = -g $(LDLIBS) $(LIBS)
23
24# Compiler, Linker. Linker should usually *not* be ld.
25CC = cc -c
26LD = cc
27# Archiver
28AR = ar crs
29#AR = sh -c 'ar cr "$$@" && ranlib "$$@"'
30
31# Solaris
32#CFLAGS = -fast $(INCS)
33#LDFLAGS = $(LIBS) -R$(PREFIX)/lib -lsocket -lnsl
34#CFLAGS += -xtarget=ultra
35
36# Misc
37#MAKESO = 1
38
39# Extra Components
40IGNORE = \
41	libixp_task \
42	libixp_rubythread
43
44RUBYINC = -I/usr/local/lib/ruby/1.8/i386-freebsd6
45TASKINC = -I$(HOME)/libtask
46
47