2 OBJ_FILES
= dynconfig.o
4 # set these to where to find various files
5 # These can be overridden by command line switches (see smbd(8))
6 # or in smb.conf (see smb.conf(5))
7 CONFIGFILE
= $(CONFIGDIR
)/smb.conf
8 PKGCONFIGDIR
= $(LIBDIR
)/pkgconfig
9 LMHOSTSFILE
= $(CONFIGDIR
)/lmhosts
11 PATH_FLAGS
= -DCONFIGFILE
=\"$(CONFIGFILE
)\" \
12 -DBINDIR
=\"$(BINDIR
)\" -DLMHOSTSFILE
=\"$(LMHOSTSFILE
)\" \
13 -DLOCKDIR
=\"$(LOCKDIR
)\" -DPIDDIR
=\"$(PIDDIR
)\" -DDATADIR
=\"$(DATADIR
)\" \
14 -DLOGFILEBASE
=\"$(LOGFILEBASE
)\" \
15 -DCONFIGDIR
=\"$(CONFIGDIR
)\" -DNCALRPCDIR
=\"$(NCALRPCDIR
)\" \
16 -DWEBAPPSDIR
=\"$(WEBAPPSDIR
)\" -DSERVICESDIR
=\"$(SERVICESDIR
)\" \
17 -DPRIVATE_DIR
=\"$(PRIVATEDIR
)\" \
18 -DMODULESDIR
=\"$(MODULESDIR
)\" -DJSDIR
=\"$(JSDIR
)\" \
19 -DTORTUREDIR
=\"$(TORTUREDIR
)\" \
20 -DSETUPDIR
=\"$(SETUPDIR
)\" -DWINBINDD_SOCKET_DIR
=\"$(WINBINDD_SOCKET_DIR
)\"
22 dynconfig.o
: dynconfig.c Makefile
24 @
$(CC
) `$(PERL) $(srcdir)/script/cflags.pl $@` $(CFLAGS
) $(PICFLAG
) $(PATH_FLAGS
) -c
$< -o
$@