summaryrefslogtreecommitdiffstats
path: root/source4/param
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-05-18 19:37:24 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-05-18 19:37:24 +0200
commit30ad1af106b7cd3b94e65ff30fd268ecfb7b3929 (patch)
tree2f6ba2cc624e33dab18eab1e453729fdf7881bc7 /source4/param
parentc9d7ebcc0e0ed4de6c5252ed005f89fc473f6dc1 (diff)
downloadsamba-30ad1af106b7cd3b94e65ff30fd268ecfb7b3929.tar.gz
samba-30ad1af106b7cd3b94e65ff30fd268ecfb7b3929.tar.xz
samba-30ad1af106b7cd3b94e65ff30fd268ecfb7b3929.zip
Use variable for param src dir.
(This used to be commit f97bc5735803a73181030e6d7db2862ebc1b7f4b)
Diffstat (limited to 'source4/param')
-rw-r--r--source4/param/config.mk26
1 files changed, 9 insertions, 17 deletions
diff --git a/source4/param/config.mk b/source4/param/config.mk
index 4c202dc6ded..bdc8dd422d9 100644
--- a/source4/param/config.mk
+++ b/source4/param/config.mk
@@ -5,25 +5,17 @@ PRIVATE_DEPENDENCIES = DYNCONFIG LIBREPLACE_EXT CHARSET
LIBSAMBA-HOSTCONFIG_VERSION = 0.0.1
LIBSAMBA-HOSTCONFIG_SOVERSION = 0
-LIBSAMBA-HOSTCONFIG_OBJ_FILES = param/loadparm.o \
- param/generic.o \
- param/util.o \
- lib/version.o
-
-LIBSAMBA-CONFIG_OBJ_FILES = param/loadparm.o \
- param/params.o \
- param/generic.o \
- param/util.o \
- lib/version.o
+LIBSAMBA-HOSTCONFIG_OBJ_FILES = $(addprefix $(paramsrcdir)/, \
+ loadparm.o generic.o util.o) lib/version.o
PUBLIC_HEADERS += param/param.h
-PC_FILES += param/samba-hostconfig.pc
+PC_FILES += $(paramsrcdir)/samba-hostconfig.pc
[SUBSYSTEM::PROVISION]
PRIVATE_DEPENDENCIES = LIBPYTHON
-PROVISION_OBJ_FILES = param/provision.o
+PROVISION_OBJ_FILES = $(paramsrcdir)/provision.o
#################################
# Start SUBSYSTEM share
@@ -33,7 +25,7 @@ PRIVATE_DEPENDENCIES = LIBSAMBA-UTIL
# End SUBSYSTEM share
#################################
-share_OBJ_FILES = param/share.o
+share_OBJ_FILES = $(paramsrcdir)/share.o
PUBLIC_HEADERS += param/share.h
@@ -46,7 +38,7 @@ PRIVATE_DEPENDENCIES = LIBSAMBA-UTIL
# End MODULE share_classic
################################################
-share_classic_OBJ_FILES = param/share_classic.o
+share_classic_OBJ_FILES = $(paramsrcdir)/share_classic.o
################################################
# Start MODULE share_ldb
@@ -57,15 +49,15 @@ PRIVATE_DEPENDENCIES = LIBLDB LDB_WRAP
# End MODULE share_ldb
################################################
-share_ldb_OBJ_FILES = param/share_ldb.o
+share_ldb_OBJ_FILES = $(paramsrcdir)/share_ldb.o
[SUBSYSTEM::SECRETS]
PRIVATE_DEPENDENCIES = LIBLDB TDB_WRAP UTIL_TDB NDR_SECURITY
-SECRETS_OBJ_FILES = param/secrets.o
+SECRETS_OBJ_FILES = $(paramsrcdir)/secrets.o
[PYTHON::param]
SWIG_FILE = param.i
PRIVATE_DEPENDENCIES = LIBSAMBA-HOSTCONFIG
-param_OBJ_FILES = param/param_wrap.o
+param_OBJ_FILES = $(paramsrcdir)/param_wrap.o