From b6f386cfc1de9cd301e86b243b74ac90c8325b97 Mon Sep 17 00:00:00 2001 From: "alecf%netscape.com" Date: Wed, 12 May 1999 21:50:17 +0000 Subject: [PATCH] also add -I$(srcdir) when generating xpt files --- config/rules.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/rules.mk b/config/rules.mk index dc2777467f9e..8b365f41d537 100644 --- a/config/rules.mk +++ b/config/rules.mk @@ -921,7 +921,7 @@ ifndef NO_GEN_XPT # generate intermediate .xpt files into $(XPIDL_GEN_DIR), then link # into $(MODULE).xpt and export it to $(DIST)/bin/components. $(XPIDL_GEN_DIR)/%.xpt: %.idl $(IDL_COMPILE) $(XPIDL_GEN_DIR) - $(XPIDL_COMPILE) -m typelib -w -I $(XPDIST)/idl -o $(XPIDL_GEN_DIR)/$* $< + $(XPIDL_COMPILE) -m typelib -w -I $(XPDIST)/idl -I$(srcdir) -o $(XPIDL_GEN_DIR)/$* $< $(XPIDL_GEN_DIR)/$(MODULE).xpt: $(patsubst %.idl,$(XPIDL_GEN_DIR)/%.xpt,$(XPIDLSRCS)) $(XPIDL_LINK) $(XPIDL_GEN_DIR)/$(MODULE).xpt $^