1 # Makefile for samba-pdb examples
7 SAMBA_SRC
= ..
/..
/source
8 SAMBA_INCL
= ..
/..
/source
/include
9 UBIQX_SRC
= ..
/..
/source
/ubiqx
10 SMBWR_SRC
= ..
/..
/source
/smbwrapper
11 CFLAGS
= -I
$(SAMBA_SRC
) -I
$(SAMBA_INCL
) -I
$(UBIQX_SRC
) -I
$(SMBWR_SRC
) -Wall
-g
-I
/usr
/include/heimdal
-fPIC
12 PDB_OBJS
= pdb_test.so
21 $(LIBTOOL
) --mode
=link
$(CC
) -shared
-o
$@
$< $(LDFLAGS
)
24 $(LIBTOOL
) --mode
=compile
$(CC
) $(CPPFLAGS
) $(CFLAGS
) -c
$<
30 rm -f core
*~
*% *.bak \
31 $(PDB_OBJS
) $(PDB_OBJS
:.so
=.o
) $(PDB_OBJS
:.so
=.lo
)