#
# Parameters.

PLUGIN  = arfilterapiskl.so
OBJECTS = arfilterapiskl.o

RM      = rm -f

# Compiler flags.

CC      = xlc_r
LD      = ld
CFLAGS  = -I../../../include -D_REENTRANT -D_THREAD_SAFE
LDFLAGS = -G -bexpall -bnoentry -L /usr/lpp/xLC/lib -blibpath:/usr/lib/threads:/usr/lib:/lib
LDLIBS  = -lpthreads -lc_r

# Standard targets.

all:	 $(PLUGIN)

$(PLUGIN): $(OBJECTS)
	$(LD) -o $(PLUGIN) $(OBJECTS) $(LDFLAGS) $(LDLIBS)

clean:
	$(RM) $(PLUGIN) $(OBJECTS) core
