summaryrefslogtreecommitdiffstats
path: root/source/main.mk
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2006-03-17 21:16:44 +0000
committerJelmer Vernooij <jelmer@samba.org>2006-03-17 21:16:44 +0000
commit4f42beb4c1d9cbd2e2f972f23057b65828ae1d51 (patch)
tree1aaab4e2104f59ca521616278778a13e167826d4 /source/main.mk
parent0dddae5a8b6f89004ffbe430e589583bd5935976 (diff)
downloadsamba-4f42beb4c1d9cbd2e2f972f23057b65828ae1d51.tar.gz
samba-4f42beb4c1d9cbd2e2f972f23057b65828ae1d51.tar.xz
samba-4f42beb4c1d9cbd2e2f972f23057b65828ae1d51.zip
r14533: Install pidl, remove some useless header dependencies
Diffstat (limited to 'source/main.mk')
-rw-r--r--source/main.mk13
1 files changed, 7 insertions, 6 deletions
diff --git a/source/main.mk b/source/main.mk
index e9ed163b263..d441939ba28 100644
--- a/source/main.mk
+++ b/source/main.mk
@@ -82,7 +82,7 @@ PKGCONFIGDIR = $(LIBDIR)/pkgconfig
LMHOSTSFILE = $(CONFIGDIR)/lmhosts
install: showlayout installbin installdat installswat installmisc installlib \
- installheader installpc installplugins
+ installheader installpc installplugins installpidl
# DESTDIR is used here to prevent packagers wasting their time
# duplicating the Makefile. Remove it and you will have the privilege
@@ -150,7 +150,7 @@ installpc: installdirs
@$(SHELL) $(srcdir)/script/installpc.sh $(srcdir) $(DESTDIR)$(PKGCONFIGDIR) $(PC_FILES)
uninstall: uninstallbin uninstallman uninstallmisc uninstalllib uninstallheader \
- uninstallplugins
+ uninstallplugins uninstallpidl
uninstallmisc:
#FIXME
@@ -182,7 +182,10 @@ pidl/Makefile: pidl/Makefile.PL
cd pidl && $(PERL) Makefile.PL
installpidl: pidl/Makefile
- cd pidl && $(MAKE) install
+ $(MAKE) -C pidl install
+
+uninstallpidl: pidl/Makefile
+ $(MAKE) -C pidl uninstall
IDL_FILES = $(wildcard librpc/idl/*.idl)
IDL_HEADER_FILES = $(patsubst librpc/idl/%.idl,librpc/gen_ndr/%.h,$(IDL_FILES))
@@ -238,9 +241,7 @@ include/includes.h: \
lib/util/util_proto.h \
lib/charset/charset.h \
param/proto.h \
- libcli/util/proto.h \
- librpc/ndr/ndr_orpc.h \
- librpc/ndr/ndr_compression.h
+ libcli/util/proto.h
clean_pch:
-rm -f include/includes.h.gch