r25598: Add missing become_root/unbecome_root around calls of add_aliases.
[sfrench/samba-autobuild/.git] / examples / libmsrpc / cacusermgr / Makefile
1 CC=gcc
2 INCLUDES= -I`pwd` -I../../../source/ -I../../../source/include -I../../../source/ubiqx
3
4 DEFS= -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE
5
6 CFLAGS= -g -Wall -ansi $(INCLUDES) 
7
8 OBJ= util.o mgr_group.o mgr_user.o
9
10 LDFLAGS=-L. -L../../bin/ 
11 LIBS=../../../source/bin/libmsrpc.so
12
13 all: cacusermgr
14
15 cacusermgr: cacusermgr.o $(OBJ)
16         $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(OBJ) $(LIBS)
17
18 .c.o:
19         $(CC) $(CFLAGS) -c $< -o $@
20
21 clean:
22         rm -f *.o cacusermgr