libndr: EXT_NSL doesn't exist anymore, but it wasn't needed anyway
[jelmer/samba4-debian.git] / source / dynconfig.mk
1 [SUBSYSTEM::DYNCONFIG]
2 OBJ_FILES = dynconfig.o
3
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 = $(sysconfdir)/smb.conf
8 PKGCONFIGDIR = $(libdir)/pkgconfig
9 LMHOSTSFILE = $(sysconfdir)/lmhosts
10
11 PATH_FLAGS = -DCONFIGFILE=\"$(CONFIGFILE)\" \
12          -DBINDIR=\"$(bindir)\" -DLMHOSTSFILE=\"$(LMHOSTSFILE)\" \
13          -DLOCKDIR=\"$(lockdir)\" -DPIDDIR=\"$(piddir)\" -DDATADIR=\"$(datadir)\" \
14          -DLOGFILEBASE=\"$(logfilebase)\" \
15          -DCONFIGDIR=\"$(sysconfdir)\" -DNCALRPCDIR=\"$(NCALRPCDIR)\" \
16          -DSWATDIR=\"$(SWATDIR)\" \
17          -DPRIVATE_DIR=\"$(privatedir)\" \
18          -DMODULESDIR=\"$(modulesdir)\" -DJSDIR=\"$(JSDIR)\" \
19          -DTORTUREDIR=\"$(TORTUREDIR)\" \
20          -DSETUPDIR=\"$(SETUPDIR)\" -DWINBINDD_SOCKET_DIR=\"$(winbindd_socket_dir)\"
21
22 dynconfig.o: dynconfig.c Makefile
23         @echo Compiling $<
24         @$(CC) $(CFLAGS) $(CPPFLAGS) $(PICFLAG) \
25                 $(PATH_FLAGS) -c $< -o $@