mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
d6c66ea774
in handwritten rules too, hopefully fix the build
of ldb with bsd make.
metze
(This used to be commit 9d6d296105
)
26 lines
982 B
Makefile
26 lines
982 B
Makefile
[SUBSYSTEM::DYNCONFIG]
|
|
OBJ_FILES = dynconfig.o
|
|
|
|
# set these to where to find various files
|
|
# These can be overridden by command line switches (see smbd(8))
|
|
# or in smb.conf (see smb.conf(5))
|
|
CONFIGFILE = $(CONFIGDIR)/smb.conf
|
|
PKGCONFIGDIR = $(LIBDIR)/pkgconfig
|
|
LMHOSTSFILE = $(CONFIGDIR)/lmhosts
|
|
|
|
PATH_FLAGS = -DCONFIGFILE=\"$(CONFIGFILE)\" \
|
|
-DBINDIR=\"$(BINDIR)\" -DLMHOSTSFILE=\"$(LMHOSTSFILE)\" \
|
|
-DLOCKDIR=\"$(LOCKDIR)\" -DPIDDIR=\"$(PIDDIR)\" -DDATADIR=\"$(DATADIR)\" \
|
|
-DLOGFILEBASE=\"$(LOGFILEBASE)\" \
|
|
-DCONFIGDIR=\"$(CONFIGDIR)\" -DNCALRPCDIR=\"$(NCALRPCDIR)\" \
|
|
-DSWATDIR=\"$(SWATDIR)\" \
|
|
-DPRIVATE_DIR=\"$(PRIVATEDIR)\" \
|
|
-DMODULESDIR=\"$(MODULESDIR)\" -DJSDIR=\"$(JSDIR)\" \
|
|
-DTORTUREDIR=\"$(TORTUREDIR)\" \
|
|
-DSETUPDIR=\"$(SETUPDIR)\" -DWINBINDD_SOCKET_DIR=\"$(WINBINDD_SOCKET_DIR)\"
|
|
|
|
dynconfig.o: dynconfig.c Makefile
|
|
@echo Compiling $<
|
|
@$(CC) `$(PERL) $(srcdir)/script/cflags.pl $@` $(CFLAGS) $(PICFLAG) \
|
|
$(PATH_FLAGS) -c $(FIRST_PREREQ) -o $@
|