summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2006-03-17 21:16:44 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:58:40 -0500
commit8836535421fc6dafeb16971b78434d93ec057454 (patch)
treeeea87de352073b165bbfa43be9432bfcd352dc08
parentec483282d7253f2e69e630e400bcdcb6c1235bb0 (diff)
downloadsamba-8836535421fc6dafeb16971b78434d93ec057454.tar.gz
samba-8836535421fc6dafeb16971b78434d93ec057454.tar.bz2
samba-8836535421fc6dafeb16971b78434d93ec057454.zip
r14533: Install pidl, remove some useless header dependencies
(This used to be commit 2b93fd5246c64f8abad8a8f52b933553d93cb167)
-rw-r--r--source4/main.mk13
1 files changed, 7 insertions, 6 deletions
diff --git a/source4/main.mk b/source4/main.mk
index e9ed163b26..d441939ba2 100644
--- a/source4/main.mk
+++ b/source4/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