2006-03-17 01:38:14 +00:00
[LIBRARY :: DYNCONFIG ]
2006-03-19 17:24:31 +00:00
VERSION = 0.0.1
SO_VERSION = 0
2006-03-17 01:38:14 +00:00
OBJ_FILES = dynconfig.o
PATH_FLAGS = -DCONFIGFILE= \" $( CONFIGFILE) \" \
-DBINDIR= \" $( BINDIR) \" -DLMHOSTSFILE= \" $( LMHOSTSFILE) \" \
-DLOCKDIR= \" $( LOCKDIR) \" -DPIDDIR= \" $( PIDDIR) \" -DDATADIR= \" $( DATADIR) \" \
-DLOGFILEBASE= \" $( LOGFILEBASE) \" -DSHLIBEXT= \" $( SHLIBEXT) \" \
-DCONFIGDIR= \" $( CONFIGDIR) \" -DNCALRPCDIR= \" $( NCALRPCDIR) \" \
-DSWATDIR= \" $( SWATDIR) \" -DPRIVATE_DIR= \" $( PRIVATEDIR) \" \
-DMODULESDIR= \" $( MODULESDIR) \" -DJSDIR= \" $( JSDIR) \" \
-DSETUPDIR= \" $( SETUPDIR) \" -DWINBINDD_SOCKET_DIR= \" $( WINBINDD_SOCKET_DIR) \"
2006-09-09 09:16:53 +00:00
dynconfig.o : dynconfig .c Makefile
2006-03-17 01:38:14 +00:00
@echo Compiling $<
2006-09-09 02:35:38 +00:00
@$( CC) ` $( PERL) $( srcdir) /script/cflags.pl $@ ` $( CFLAGS) $( PICFLAG) $( PATH_FLAGS) -c $< -o $@
2006-03-17 01:38:14 +00:00
# dynconfig defines used for binaries in bin/, when configure ran in developer
# mode:
DEVEL_PATH_FLAGS = -DCONFIGFILE= \" $( CONFIGFILE) \" -DBINDIR= \" $( builddir) /bin\" \
-DLMHOSTSFILE= \" $( LMHOSTSFILE) \" -DLOCKDIR= \" $( LOCKDIR) \" \
-DPIDDIR= \" $( PIDDIR) \" -DDATADIR= \" $( srcdir) /codepages\" \
-DLOGFILEBASE= \" $( LOGFILEBASE) \" -DSHLIBEXT= \" $( SHLIBEXT) \" \
-DCONFIGDIR= \" $( CONFIGDIR) \" -DNCALRPCDIR= \" $( NCALRPCDIR) \" \
-DSWATDIR= \" $( srcdir) /../swat\" -DPRIVATE_DIR= \" $( PRIVATEDIR) \" \
-DMODULESDIR= \" $( builddir) /bin/modules\" \
-DJSDIR= \" $( srcdir) /scripting/libjs\" \
-DSETUPDIR= \" $( srcdir) /setup\" \
-DWINBINDD_SOCKET_DIR= \" $( WINBINDD_SOCKET_DIR) \"
2006-09-09 09:16:53 +00:00
dynconfig-devel.o : dynconfig .c Makefile
2006-03-17 01:38:14 +00:00
@echo Compiling $<
2006-09-09 09:16:53 +00:00
@$( CC) ` $( PERL) $( srcdir) /script/cflags.pl $@ ` $( CFLAGS) $( PICFLAG) $( DEVEL_PATH_FLAGS) -c $< -o $@