1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00

r26602: Revert my previous commit as it only works with GNU make.

(This used to be commit ecd2d96c31)
This commit is contained in:
Jelmer Vernooij 2007-12-25 17:34:07 -06:00 committed by Stefan Metzmacher
parent 3a3633be85
commit aa79008d4b
4 changed files with 10 additions and 11 deletions

View File

@ -215,7 +215,6 @@ sub run_config_mk($$$$)
# corresponding input files. The curlies are so you can match the
# BEGIN/END pairs in a text editor.
$makefile .= "# BEGIN{ $parsing_file\n";
$makefile .= "dir = $basedir\n";
foreach (@lines) {
$linenum++;

View File

@ -3,9 +3,9 @@ CFLAGS = -Iheimdal/lib/roken
OBJ_FILES = lex.o parse_adm.o
PRIVATE_DEPENDENCIES = LIBSAMBA-UTIL LIBSAMBA-CONFIG LIBTALLOC CHARSET
$(dir)/lex.l: $(dir)/parse_adm.h
lib/policy/lex.l: lib/policy/parse_adm.h
$(dir)/parse_adm.h: $(dir)/parse_adm.c
lib/policy/parse_adm.h: lib/policy/parse_adm.c
[BINARY::dumpadm]
OBJ_FILES = dumpadm.o

View File

@ -3,16 +3,16 @@ PUBLIC_DEPENDENCIES = TDR
OBJ_FILES = tdr_regf.o
# Special support for external builddirs
$(dir)/regf.c: $(dir)/tdr_regf.c
$(srcdir)/$(dir)/regf.c: $(dir)/tdr_regf.c
$(dir)/tdr_regf.h: $(dir)/tdr_regf.c
$(dir)/tdr_regf.c: $(srcdir)/$(dir)/regf.idl
lib/registry/regf.c: lib/registry/tdr_regf.c
$(srcdir)/lib/registry/regf.c: lib/registry/tdr_regf.c
lib/registry/tdr_regf.h: lib/registry/tdr_regf.c
lib/registry/tdr_regf.c: $(srcdir)/lib/registry/regf.idl
@CPP="$(CPP)" srcdir="$(srcdir)" $(PERL) $(srcdir)/pidl/pidl $(PIDL_ARGS) \
--header --outputdir=$(dir) \
--tdr-parser -- $(srcdir)/$(dir)/regf.idl
--header --outputdir=lib/registry \
--tdr-parser -- $(srcdir)/lib/registry/regf.idl
clean::
@-rm -f $(dir)/regf.h $(dir)/tdr_regf*
@-rm -f lib/registry/regf.h lib/registry/tdr_regf*
################################################
# Start SUBSYSTEM registry

View File

@ -33,7 +33,7 @@ pythonmods: $(PYTHON_DSOS)
PYDOCTOR_MODULES=bin/python/ldb.py bin/python/auth.py bin/python/credentials.py bin/python/registry.py bin/python/tdb.py bin/python/security.py
pydoctor:: pythonmods
LD_LIBRARY_PATH=bin/shared PYTHONPATH=bin/python pydoctor --make-html --docformat=restructuredtext --add-package $(dir)/samba/ $(addprefix --add-module , $(PYDOCTOR_MODULES))
LD_LIBRARY_PATH=bin/shared PYTHONPATH=bin/python pydoctor --make-html --docformat=restructuredtext --add-package scripting/python/samba/ $(addprefix --add-module , $(PYDOCTOR_MODULES))
clean::
@echo "Removing python modules"