4 OBJ_FILES
= dynconfig.o
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
)\"
15 dynconfig.o
: dynconfig.c Makefile
17 @
$(CC
) `$(PERL) $(srcdir)/script/cflags.pl $@` $(CFLAGS
) $(PICFLAG
) $(PATH_FLAGS
) -c
$< -o
$@
19 # dynconfig defines used for binaries in bin/, when configure ran in developer
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
)\"
33 dynconfig-devel.o
: dynconfig.c Makefile
35 @
$(CC
) `$(PERL) $(srcdir)/script/cflags.pl $@` $(CFLAGS
) $(PICFLAG
) $(DEVEL_PATH_FLAGS
) -c
$< -o
$@