X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=Ada95%2Fgen%2FMakefile.in;h=ac5e1283026e34e2c0785f250b35e4457d545c17;hp=bccea45f57413775fd7cf3bf6cf570d38557c9cd;hb=027ae42953e3186daed8f3882da73de48291b606;hpb=46722468f47c2b77b3987729b4bcf2321cccfd01 diff --git a/Ada95/gen/Makefile.in b/Ada95/gen/Makefile.in index bccea45f..ac5e1283 100644 --- a/Ada95/gen/Makefile.in +++ b/Ada95/gen/Makefile.in @@ -1,5 +1,5 @@ ############################################################################## -# Copyright (c) 1998 Free Software Foundation, Inc. # +# Copyright (c) 1998-2005,2006 Free Software Foundation, Inc. # # # # Permission is hereby granted, free of charge, to any person obtaining a # # copy of this software and associated documentation files (the "Software"), # @@ -27,10 +27,8 @@ ############################################################################## # # Author: Juergen Pfeifer, 1996 -# Contact: http://www.familiepfeifer.de/Contact.aspx?Lang=en # -# Version Control -# $Revision: 1.41 $ +# $Id: Makefile.in,v 1.51 2006/12/17 16:53:33 tom Exp $ # .SUFFIXES: @@ -53,6 +51,7 @@ INSTALL_DATA = @INSTALL_DATA@ AWK = @AWK@ LN_S = @LN_S@ +CC = @CC@ HOST_CC = @BUILD_CC@ CFLAGS = @CFLAGS@ @@ -67,13 +66,15 @@ CFLAGS_SHARED = $(CCFLAGS) @CC_SHARED_OPTS@ CFLAGS_DEFAULT = $(CFLAGS_@DFT_UPR_MODEL@) +REL_VERSION = @cf_cv_rel_version@ +ABI_VERSION = @cf_cv_abi_version@ +LOCAL_LIBDIR = @top_builddir@/lib + LINK = $(HOST_CC) -LD_FLAGS = @LD_MODEL@ $(LOCAL_LIBS) @LDFLAGS@ @LIBS@ @LOCAL_LDFLAGS2@ $(LDFLAGS) +LD_FLAGS = @LD_MODEL@ $(LOCAL_LIBS) @LDFLAGS@ @LIBS@ @LOCAL_LDFLAGS2@ $(LDFLAGS) @TINFO_ARGS2@ RANLIB = @RANLIB@ -LIB_CURSES = -L../../lib -lncurses@LIB_SUFFIX@ - M4 = m4 M4FLAGS = @@ -82,8 +83,6 @@ DEL_ADAMODE = sed -e '/^\-\-\ \ \-\*\-\ ada\ \-\*\-.*/d' GNATHTML = `type -p gnathtml || type -p gnathtml.pl` GNATHP = www.gnat.com -MAIL = www.familiepfeifer.de/Contact.aspx?Lang=en -HOMEP = www.familiepfeifer.de/juergen ################################################################################ ALIB = @cf_ada_package@ @@ -154,7 +153,7 @@ GEN_SRC = $(srcdir)/$(ABASE).ads.m4 \ all \ libs : $(GEN_TARGETS) - @ + @echo made $@ sources: @@ -165,15 +164,18 @@ $(ADA_OBJECTS) : install \ install.libs :: $(ADA_INCLUDE) @echo installing package $(ALIB) in $(ADA_INCLUDE) + @$(top_srcdir)/tar-copy.sh '$(ALIB)*.ad?' $(ADA_SRCDIR) $(ADA_INCLUDE) @$(top_srcdir)/tar-copy.sh '$(ALIB)[-.]*.ad?' $(ADA_SRCDIR) $(ADA_INCLUDE) + @test $(srcdir) != ./ && $(top_srcdir)/tar-copy.sh '$(ALIB)*.ad?' $(srcdir)/../src $(ADA_INCLUDE) @test $(srcdir) != ./ && $(top_srcdir)/tar-copy.sh '$(ALIB)[-.]*.ad?' $(srcdir)/../src $(ADA_INCLUDE) install \ install.libs :: $(ADA_OBJECTS) @echo installing package $(ALIB) in $(ADA_OBJECTS) - @chmod a-wx $(ADA_SRCDIR)/*.ali + @-chmod a-wx $(ADA_SRCDIR)/*.ali + @$(top_srcdir)/tar-copy.sh '$(ALIB)*.ali' $(ADA_SRCDIR) $(ADA_OBJECTS) @$(top_srcdir)/tar-copy.sh '$(ALIB)[-.]*.ali' $(ADA_SRCDIR) $(ADA_OBJECTS) - @chmod u+x $(ADA_SRCDIR)/*.ali + @-chmod u+x $(ADA_SRCDIR)/*.ali uninstall \ uninstall.libs :: @@ -186,7 +188,7 @@ uninstall.libs :: -@cd $(ADA_OBJECTS) && rm -f $(ALIB)[-.]* gen$x: gen.o - @ECHO_LINK@ $(LINK) $(CFLAGS_NORMAL) gen.o $(LD_FLAGS) -o $@ $(LIB_CURSES) + @ECHO_LINK@ $(LINK) $(CFLAGS_NORMAL) gen.o $(LD_FLAGS) -o $@ gen.o: $(srcdir)/gen.c $(HOST_CC) $(CFLAGS_NORMAL) -c -o $@ $(srcdir)/gen.c @@ -402,7 +404,7 @@ $(HTML_DIR)/table.html : instab.tmp @rm -f instab.tmp adahtml: - @rm -rf $(HTML_DIR)/ + @find $(HTML_DIR) -type f -exec rm -f {} \; @mkdir -p $(HTML_DIR) cp -p ../src/*.ad[sb] . && chmod +w *.ad[sb] ln -sf ../src/*.ali . @@ -420,11 +422,9 @@ adahtml: sed -e 's%">%">%g' |\ sed -e 's/3X/3x/g' |\ sed -e 's/$$\([ABCDEFGHIJKLMNOPQRSTUVWXZabcdefghijklmnopqrstuvwxz0123456789_]*:.*\)\$$/@\1@/' |\ - sed -e 's%Juergen Pfeifer%J\ürgen Pfeifer%g' |\ - sed -e 's%http://$(MAIL)%$(MAIL)%g' |\ sed -e 's%</A>%%g' > $$a.tmp ;\ mv $$a.tmp $$f ;\ - done + done @rm -f *.ad[sb] *.ali *.tmp @for f in funcs.htm main.htm ; do \ sed -e "\%\[ \]%d" < html/$$f > $$f ;\ @@ -435,7 +435,7 @@ adahtml: @rm -rf html html : adahtml $(HTML_DIR)/table.html - @ + @echo made $@ ############################################################################### # The remainder of this file is automatically generated during configuration