summaryrefslogtreecommitdiff
path: root/source3/lib/netapi/examples/Makefile.in
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2007-12-21 16:08:13 +0100
committerGünther Deschner <gd@samba.org>2007-12-21 16:08:13 +0100
commitf3607f85b673ade41773fcfd2cb6935b512fbf60 (patch)
treeb3114f35d1ad4381d5dc0b6286dbab63efbe34db /source3/lib/netapi/examples/Makefile.in
parentbe57bc8568fc48597695327473f1e06354574236 (diff)
downloadsamba-f3607f85b673ade41773fcfd2cb6935b512fbf60.tar.gz
samba-f3607f85b673ade41773fcfd2cb6935b512fbf60.tar.bz2
samba-f3607f85b673ade41773fcfd2cb6935b512fbf60.zip
Add netdomjoin cmd line tool (another libnetapi example).
Guenther (This used to be commit c502686f09713a7cf3786c254be6515a7aa23555)
Diffstat (limited to 'source3/lib/netapi/examples/Makefile.in')
-rw-r--r--source3/lib/netapi/examples/Makefile.in7
1 files changed, 6 insertions, 1 deletions
diff --git a/source3/lib/netapi/examples/Makefile.in b/source3/lib/netapi/examples/Makefile.in
index 79f9187d84..d618599433 100644
--- a/source3/lib/netapi/examples/Makefile.in
+++ b/source3/lib/netapi/examples/Makefile.in
@@ -21,8 +21,9 @@ COMPILE = $(COMPILE_CC)
$(COMPILE_CC) >/dev/null 2>&1
GETDC_OBJ = getdc.o
+NETDOMJOIN_OBJ = netdomjoin.o
-PROGS = getdc
+PROGS = getdc netdomjoin
all: $(PROGS)
@@ -30,5 +31,9 @@ getdc: $(GETDC_OBJ)
@echo Linking $@
@$(CC) $(FLAGS) -o $@ $(GETDC_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) $(KRB5LIBS) $(LDAP_LIBS)
+netdomjoin: $(NETDOMJOIN_OBJ)
+ @echo Linking $@
+ @$(CC) $(FLAGS) -o $@ $(NETDOMJOIN_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) $(KRB5LIBS) $(LDAP_LIBS)
+
clean:
@rm -f $(PROGS)