blob: 643c9754e8499a6326261ff194fc6e487863a386 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
# $Id: Makefile.inc,v 1.11 2002/04/16 02:57:46 bp Exp $
.ifmake !clean && !cleandepend
.if !defined(PREFIX)
.include "config.int"
.endif
.endif
BINDIR?=${PREFIX}/bin
SMBSBINDIR=${PREFIX}/sbin
MANDIR=${PREFIX}/man/man
CFLAGS += -Wall -I../kernel/mysys
.include <bsd.libnames.mk>
.if !defined(LIBSMB) || defined(COMPLETEBUILD)
CFLAGS += -L../lib/smb -L../lib/nb
CFLAGS += -I../include
LIBSMB = ../lib/smb/libsmb.a
.endif
.if !exists(${SYSDIR}/netsmb/smb.h)
CFLAGS += -I../kernel
.else
CFLAGS += -I${SYSDIR}
.endif
CFLAGS += -I../include
.if defined(SMBGDB)
CFLAGS+= -ggdb
.endif
deinstall:
@(if test -f ${BINDIR}/${PROG}; then \
echo removing ${BINDIR}/${PROG}; \
rm -f ${BINDIR}/${PROG}; \
fi;)
@(if test -f ${MANDIR}1/${MAN1}.gz ; then \
echo removing ${MANDIR}1/${MAN1}.gz; \
rm -f ${MANDIR}1/${MAN1}.gz; \
fi;)
@(if test -f ${MANDIR}8/${MAN8}.gz ; then \
echo removing ${MANDIR}8/${MAN8}.gz; \
rm -f ${MANDIR}8/${MAN8}.gz; \
fi;)
|