move 32-bit libs to lib/i386 subdirs & 64-bit libs to lib/
[unleashed.git] / usr / src / cmd / smbsrv / bind-helper / Makefile
blobf4d2b0a58ffdd227f38e92ad0b2e861482e84acd
2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 # You may only use this file in accordance with the terms of version
5 # 1.0 of the CDDL.
7 # A full copy of the text of the CDDL should have accompanied this
8 # source. A copy of the CDDL is also available via the Internet at
9 # http://www.illumos.org/license/CDDL.
13 # Copyright 2013 Nexenta Systems, Inc. All rights reserved.
16 PROG= bind-helper
17 SRCS= bind-helper.c
19 include ../../Makefile.cmd
20 include ../Makefile.smbsrv.defs
23 ROOTLIBSMBSRVDIR = $(ROOT)/usr/lib/smbsrv
24 ROOTLIBSMBSRVPROG = $(PROG:%=$(ROOTLIBSMBSRVDIR)/%)
26 .KEEP_STATE:
28 all: $(PROG)
30 clean:
31 $(RM) $(OBJS)
34 $(PROG): $(OBJS)
35 $(LINK.c) -o $@ $(OBJS) $(LDLIBS)
36 $(POST_PROCESS)
38 include ../../Makefile.targ
40 $(ROOTLIBSMBSRVDIR)/%: %
41 $(INS.file)
43 install: all .WAIT $(ROOTLIBSMBSRVPROG)