mirror of
https://github.com/samba-team/samba.git
synced 2025-06-23 11:17:06 +03:00
FreeBSD 4.3. They might on Linux. (This used to be commit 1f115c95d635377a36c0a3a1f56b4b8def04fd7e)
33 lines
767 B
Makefile
33 lines
767 B
Makefile
#
|
|
CC = gcc
|
|
|
|
SAMBA_INCL = ../../source/include
|
|
EXTLIB_INCL = -I/usr/include/gtk-1.2 \
|
|
-I/usr/include/glib-1.2 \
|
|
-I/usr/lib/glib/include
|
|
|
|
CFLAGS = -I$(SAMBA_INCL) $(EXTLIB_INCL)
|
|
|
|
LDFLAGS = -L/usr/lib
|
|
|
|
all: testsmbc tree testacl
|
|
|
|
testsmbc: testsmbc.o
|
|
@echo Linking testsmbc
|
|
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< -lsmbclient -L/usr/local/lib
|
|
|
|
testsmbc-static: testsmbc.o
|
|
@echo Linking testsmbc
|
|
@$(CC) $(CFLAGS) -static $(LDFLAGS) -o $@ $< -lsmbclient -ldl -lnsl
|
|
|
|
tree: tree.o
|
|
@echo Linking tree
|
|
@$(CC) `gtk-config --cflags` $(CFLAGS) $(LDFLAGS) -o $@ `gtk-config --libs` -lsmbclient $<
|
|
|
|
testacl: testacl.o
|
|
@echo Linking testacl
|
|
@$(CC) `gtk-config --cflags` $(CFLAGS) $(LDFLAGS) -o $@ `gtk-config --libs` -lsmbclient -lpopt $<
|
|
|
|
clean:
|
|
@rm -f *.o *~
|