/[ascend]/trunk/base/generic/lib/Makefile.in
ViewVC logotype

Diff of /trunk/base/generic/lib/Makefile.in

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

revision 44 by ben.allan, Thu Mar 3 07:19:05 2005 UTC revision 162 by johnpye, Tue Jan 3 06:51:30 2006 UTC
# Line 70  include $(builddir)/Makefile.Rules Line 70  include $(builddir)/Makefile.Rules
70    
71  #  Copy the bintoken header file from the compiler directory  #  Copy the bintoken header file from the compiler directory
72    
73  btprolog.h: $(srcdir)/../compiler/btprolog.h  ascConfig.h: $(srcdir)/../utilities/ascConfig.h
74      $(CP) $(srcdir)/../compiler/btprolog.h .      $(CP) $^ $@
75    
76    %.h: $(srcdir)/../compiler/%.h
77        $(CP) $^ $@
78    
79  #  Build a Makfile suitable for installing  #  Build a Makfile suitable for installing
80    
# Line 141  $(BTTARGET) _dummy_target: $(BTTARGET).c Line 143  $(BTTARGET) _dummy_target: $(BTTARGET).c
143    
144  #  Files to install  #  Files to install
145    
146  install-binaries:: btprolog.h Makefile.bt  LIB_DIR_FILES = btprolog.h Makefile.bt instance_enum.h ascConfig.h
147    
148    install-binaries:: $(LIB_DIR_FILES)
149      @if test ! -d $(LIB_DIR) ; then \      @if test ! -d $(LIB_DIR) ; then \
150        echo Making directory $(LIB_DIR) ; \        echo Making directory $(LIB_DIR) ; \
151        mkdir -p $(LIB_DIR) ; \        mkdir -p $(LIB_DIR) ; \
152      fi      fi
153      @for i in btprolog.h Makefile.bt /dev/null ; do \      @for i in $(LIB_DIR_FILES) /dev/null ; do \
154        if $(CMP) -s $$i $(LIB_DIR)/$$i ; then \        if $(CMP) -s $$i $(LIB_DIR)/$$i ; then \
155          echo "Skipping $$i (up to date)" ; \          echo "Skipping $$i (up to date)" ; \
156        elif test $$i != "/dev/null" ; then \        elif test $$i != "/dev/null" ; then \
# Line 156  install-binaries:: btprolog.h Makefile.b Line 160  install-binaries:: btprolog.h Makefile.b
160      done      done
161    
162  uninstall-binaries::  uninstall-binaries::
163      @for i in btprolog.h Makefile.bt /dev/null ; do \      @for i in $(LIB_DIR_FILES) /dev/null ; do \
164        if test -f $(LIB_DIR)/$$i ; then \        if test -f $(LIB_DIR)/$$i ; then \
165          echo Removing $(LIB_DIR)/$$i ; \          echo Removing $(LIB_DIR)/$$i ; \
166          $(RM) $(LIB_DIR)/$$i ; \          $(RM) $(LIB_DIR)/$$i ; \
# Line 168  uninstall-binaries:: Line 172  uninstall-binaries::
172  #  Files, in addition to the default, to remove when we `make clean'  #  Files, in addition to the default, to remove when we `make clean'
173    
174  clean::  clean::
175      -$(RM) btprolog.h Makefile.bt *.so *.sl      -$(RM) $(LIB_DIR_FILES) *.so *.sl
176    
177    
178    

Legend:
Removed from v.44  
changed lines
  Added in v.162

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22