4 SAMBA_INCL
= ..
/..
/source
/include
5 EXTLIB_INCL
= -I
/usr
/include/gtk-1.2 \
6 -I
/usr
/include/glib-1.2 \
7 -I
/usr
/lib
/glib
/include
9 CFLAGS
= -I
$(SAMBA_INCL
) $(EXTLIB_INCL
)
13 all: testsmbc tree testacl
16 @echo Linking testsmbc
17 $(CC
) $(CFLAGS
) $(LDFLAGS
) -o
$@
$< -lsmbclient
-L
/usr
/local
/lib
19 testsmbc-static
: testsmbc.o
20 @echo Linking testsmbc
21 @
$(CC
) $(CFLAGS
) -static
$(LDFLAGS
) -o
$@
$< -lsmbclient
-ldl
-lnsl
25 @
$(CC
) `gtk-config --cflags` $(CFLAGS
) $(LDFLAGS
) -o
$@
`gtk-config --libs` -lsmbclient
$<
29 @
$(CC
) `gtk-config --cflags` $(CFLAGS
) $(LDFLAGS
) -o
$@
`gtk-config --libs` -lsmbclient
-lpopt
$<