From fe1caf010da5c437bef378e87b87d12d451da271 Mon Sep 17 00:00:00 2001 From: "alecf%netscape.com" Date: Tue, 11 May 1999 23:43:36 +0000 Subject: [PATCH] add a way to avoid generating .xpt files (since forward declaring in xpt files is broken right now) add a rule to generate tags for emacs --- config/rules.mk | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/config/rules.mk b/config/rules.mk index d9e7ef51b535..43f23b6e3d20 100644 --- a/config/rules.mk +++ b/config/rules.mk @@ -917,6 +917,7 @@ $(XPIDL_GEN_DIR)/%.h: %.idl $(IDL_COMPILE) $(XPIDL_GEN_DIR) export:: $(patsubst %.idl,$(XPIDL_GEN_DIR)/%.h, $(XPIDLSRCS)) $(XPDIST)/include $(INSTALL) -m 444 $^ +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) @@ -928,6 +929,8 @@ $(XPIDL_GEN_DIR)/$(MODULE).xpt: $(patsubst %.idl,$(XPIDL_GEN_DIR)/%.xpt,$(XPIDLS install:: $(XPIDL_GEN_DIR)/$(MODULE).xpt $(INSTALL) -m 444 $(XPIDL_GEN_DIR)/$(MODULE).xpt $(DIST)/bin/components +endif + GARBAGE += $(XPIDL_GEN_DIR) # add $(XPIDL_GEN_DIR) to clobber candidates endif endif @@ -1108,6 +1111,12 @@ endif # Used as a dependency to force targets to rebuild FORCE: +tags: TAGS + +TAGS: $(CSRCS) $(CPPSRCS) $(wildcard *.h) + -etags $(CSRCS) $(CPPSRCS) $(wildcard *.h) + +$(LOOP_OVER_DIRS) + envirocheck:: @echo ----------------------------------- @echo "Enviro-Check (tm)"