summaryrefslogtreecommitdiffstats
path: root/ldap/servers/plugins/distrib/Makefile.SOLARIS64
blob: 170d2b47ebcc5b8f299b9206682bc28ee83b4bf5 (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
#
# PROPRIETARY/CONFIDENTIAL. Use of this product is subject to
# license terms. Copyright 2001 Sun Microsystems, Inc.
# Some preexisting portions Copyright 2001 Netscape Communications Corp.
# All rights reserved.
# 
# SOLARIS Makefile for Directory Server plug-in examples
#

CC = cc
LD = ld 

INCLUDE_FLAGS = -I../../include
CFLAGS = $(INCLUDE_FLAGS) -D_REENTRANT -KPIC -xarch=v9
LDFLAGS = -G -xarch=v9

OBJS = distrib.o

all: libtest-plugin.so


libtest-plugin.so: $(OBJS)
	$(LD) $(LDFLAGS) -o $@ $(OBJS)

.c.o:
	$(CC) $(CFLAGS) -c $<

clean:
	-rm -f $(OBJS) libtest-plugin.so