mirror of
https://github.com/samba-team/samba.git
synced 2024-12-27 03:21:53 +03:00
4c8756f147
(This used to be commit f4a77b96f9
)
27 lines
929 B
Makefile
27 lines
929 B
Makefile
[SUBSYSTEM::DYNCONFIG]
|
|
|
|
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 = $(sysconfdir)/smb.conf
|
|
PKGCONFIGDIR = $(libdir)/pkgconfig
|
|
LMHOSTSFILE = $(sysconfdir)/lmhosts
|
|
|
|
dynconfig.o: dynconfig.c Makefile
|
|
@echo Compiling $<
|
|
@$(CC) $(CFLAGS) $(CPPFLAGS) $(PICFLAG) -c $< -o $@ \
|
|
-DCONFIGFILE=\"$(CONFIGFILE)\" -DBINDIR=\"$(bindir)\" \
|
|
-DLMHOSTSFILE=\"$(LMHOSTSFILE)\" \
|
|
-DLOCKDIR=\"$(lockdir)\" -DPIDDIR=\"$(piddir)\" -DDATADIR=\"$(datadir)\" \
|
|
-DLOGFILEBASE=\"$(logfilebase)\" \
|
|
-DCONFIGDIR=\"$(sysconfdir)\" -DNCALRPCDIR=\"$(NCALRPCDIR)\" \
|
|
-DSWATDIR=\"$(SWATDIR)\" \
|
|
-DPRIVATE_DIR=\"$(privatedir)\" \
|
|
-DMODULESDIR=\"$(modulesdir)\" -DJSDIR=\"$(JSDIR)\" \
|
|
-DTORTUREDIR=\"$(TORTUREDIR)\" \
|
|
-DSETUPDIR=\"$(SETUPDIR)\" -DWINBINDD_SOCKET_DIR=\"$(winbindd_socket_dir)\"
|
|
|
|
|