bug-groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

make depend problem


From: Larry Jones
Subject: make depend problem
Date: Tue, 29 Apr 2008 16:20:42 -0400 (EDT)

When I run a make depend, I get a bunch of warnings like:

        ./device.c:12: warning: No include path in which to find X11/Xos.h

The following fixes it, but I'm not sure whether it would be better to
add the EXTRA flags to the ALL flags instead.

Index: Makefile.comm
===================================================================
RCS file: /sources/groff/groff/Makefile.comm,v
retrieving revision 1.36
diff -u -r1.36 Makefile.comm
--- Makefile.comm       25 Feb 2007 21:06:21 -0000      1.36
+++ Makefile.comm       29 Apr 2008 19:57:41 -0000
@@ -302,9 +302,9 @@
          ytabc="$(YTABC)"; \
        fi; \
        test -z "$(CCSRCS)$(YTABC)" \
-         || $(CCC) $(ALL_CCFLAGS) -MM $(CCSRCS) $$ytabc >>depend.temp
+         || $(CCC) $(ALL_CCFLAGS) $(EXTRA_CCFLAGS) -MM $(CCSRCS) $$ytabc 
>>depend.temp
        test -z "$(CSRCS)" \
-         || $(CC) $(ALL_CFLAGS) -MM $(CSRCS) >>depend.temp
+         || $(CC) $(ALL_CFLAGS) $(EXTRA_CFLAGS) -MM $(CSRCS) >>depend.temp
        test -z "$(YTABH)" \
          || (sed -e 's|$(YTABH)|$(YTABC)|g' depend.temp >depend1.temp; \
              mv depend1.temp depend.temp)

-Larry Jones

You can never really enjoy Sundays because in the back of your
mind you know you have to go to school the next day. -- Calvin




reply via email to

[Prev in Thread] Current Thread [Next in Thread]