/[hurd]/hurd/Makeconf
ViewVC logotype

Diff of /hurd/Makeconf

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.193 by roland, Sat Aug 25 01:40:34 2001 UTC revision 1.194 by roland, Wed Nov 14 23:58:22 2001 UTC
# Line 63  CFLAGS += -Wall -g -O3 Line 63  CFLAGS += -Wall -g -O3
63    
64  # Include the configure-generated file of parameters.  # Include the configure-generated file of parameters.
65  # This sets up variables for build tools and installation directories.  # This sets up variables for build tools and installation directories.
66    ifneq (,$(wildard $(..)config.make))
67  include $(..)config.make  include $(..)config.make
68    # Set a flag for the makefiles to indicated config.make was included.
69    configured = yes
70    endif
71    
72    # If we're not configured, don't do deps; then `make TAGS' and such can work.
73    ifndef configured
74    no_deps = t
75    endif
76    
77  # Test build options set by configure.  # Test build options set by configure.
78  ifeq (no,$(build-profiled))  ifeq (no,$(build-profiled))
# Line 370  endif Line 379  endif
379    
380  # TAGS files  # TAGS files
381  ifneq ($(dir),.)  ifneq ($(dir),.)
382  DEP_SRCS = sed -e 's/^.*://' -e 's/ \\$$//' | tr ' ' '\012'| \  ifeq ($(SRCS),)
            sed -n -e 's@^$(srcdir)@&@p' -e 's@^[^/]@&@p' | sort -ur  
 ifeq ($(OBJS),)  
383  TAGS: $(OTHERTAGS)  TAGS: $(OTHERTAGS)
384  ifeq ($(OTHERTAGS),)  ifeq ($(OTHERTAGS),)
385  # no tags, but parent will include this file, so make empty one.  # no tags, but parent will include this file, so make empty one.
# Line 381  else Line 388  else
388          etags -o $@ $^          etags -o $@ $^
389  endif  endif
390  else  else
391  TAGS: $(OBJS:.o=.d) $(OTHERTAGS)  TAGS: $(SRCS) $(OTHERTAGS)
392          cat $(OBJS:.o=.d) | $(DEP_SRCS) | etags -o $@ - $(OTHERTAGS)          etags -o $@ $^
393  endif  endif
394  endif  endif
395    

Legend:
Removed from v.1.193  
changed lines
  Added in v.1.194

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26