r15356: Remove unused 'flags' argument from socket_send() and friends.
[bbaumbach/samba-autobuild/.git] / source4 / dynconfig.mk
1 [LIBRARY::DYNCONFIG]
2 VERSION = 0.0.1
3 SO_VERSION = 0
4 OBJ_FILES = dynconfig.o
5
6 PATH_FLAGS = -DCONFIGFILE=\"$(CONFIGFILE)\" \
7          -DBINDIR=\"$(BINDIR)\" -DLMHOSTSFILE=\"$(LMHOSTSFILE)\" \
8          -DLOCKDIR=\"$(LOCKDIR)\" -DPIDDIR=\"$(PIDDIR)\" -DDATADIR=\"$(DATADIR)\" \
9          -DLOGFILEBASE=\"$(LOGFILEBASE)\" -DSHLIBEXT=\"$(SHLIBEXT)\" \
10          -DCONFIGDIR=\"$(CONFIGDIR)\" -DNCALRPCDIR=\"$(NCALRPCDIR)\" \
11          -DSWATDIR=\"$(SWATDIR)\" -DPRIVATE_DIR=\"$(PRIVATEDIR)\" \
12          -DMODULESDIR=\"$(MODULESDIR)\" -DJSDIR=\"$(JSDIR)\" \
13          -DSETUPDIR=\"$(SETUPDIR)\" -DWINBINDD_SOCKET_DIR=\"$(WINBINDD_SOCKET_DIR)\"
14
15 ./dynconfig.o: dynconfig.c Makefile
16         @echo Compiling $<
17         @$(CC) $(CFLAGS) $(PICFLAG) $(PATH_FLAGS) -c $< -o $@
18
19 # dynconfig defines used for binaries in bin/, when configure ran in developer 
20 # mode:
21
22 DEVEL_PATH_FLAGS = -DCONFIGFILE=\"$(CONFIGFILE)\" -DBINDIR=\"$(builddir)/bin\" \
23      -DLMHOSTSFILE=\"$(LMHOSTSFILE)\" -DLOCKDIR=\"$(LOCKDIR)\" \
24          -DPIDDIR=\"$(PIDDIR)\" -DDATADIR=\"$(srcdir)/codepages\" \
25          -DLOGFILEBASE=\"$(LOGFILEBASE)\" -DSHLIBEXT=\"$(SHLIBEXT)\" \
26          -DCONFIGDIR=\"$(CONFIGDIR)\" -DNCALRPCDIR=\"$(NCALRPCDIR)\" \
27          -DSWATDIR=\"$(srcdir)/../swat\" -DPRIVATE_DIR=\"$(PRIVATEDIR)\" \
28          -DMODULESDIR=\"$(builddir)/bin/modules\" \
29          -DJSDIR=\"$(srcdir)/scripting/libjs\" \
30          -DSETUPDIR=\"$(srcdir)/setup\" \
31          -DWINBINDD_SOCKET_DIR=\"$(WINBINDD_SOCKET_DIR)\"
32
33 ./dynconfig-devel.o: dynconfig.c Makefile
34         @echo Compiling $<
35         @$(CC) $(CFLAGS) $(PICFLAG) $(DEVEL_PATH_FLAGS) -c $< -o $@