mirror of
https://github.com/samba-team/samba.git
synced 2024-12-27 03:21:53 +03:00
4fa24df98d
works again now, by specifying --enable-dso to configure.
(This used to be commit 7a01235067
)
20 lines
778 B
Makefile
20 lines
778 B
Makefile
[LIBRARY::DYNCONFIG]
|
|
VERSION = 0.0.1
|
|
SO_VERSION = 0
|
|
OBJ_FILES = dynconfig.o
|
|
|
|
PATH_FLAGS = -DCONFIGFILE=\"$(CONFIGFILE)\" \
|
|
-DBINDIR=\"$(BINDIR)\" -DLMHOSTSFILE=\"$(LMHOSTSFILE)\" \
|
|
-DLOCKDIR=\"$(LOCKDIR)\" -DPIDDIR=\"$(PIDDIR)\" -DDATADIR=\"$(DATADIR)\" \
|
|
-DLOGFILEBASE=\"$(LOGFILEBASE)\" \
|
|
-DCONFIGDIR=\"$(CONFIGDIR)\" -DNCALRPCDIR=\"$(NCALRPCDIR)\" \
|
|
-DSWATDIR=\"$(SWATDIR)\" -DSERVICESDIR=\"$(SERVICESDIR)\" \
|
|
-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 $< -o $@
|