]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - Ada95/samples/Makefile.in
ncurses 6.2 - patch 20200808
[ncurses.git] / Ada95 / samples / Makefile.in
index 43e9ebaa6c67d074b509ba54aa28206b0fec16c9..6c970acacfd50ecfc95b92d5ab2029b4b615fddc 100644 (file)
@@ -1,5 +1,6 @@
 ##############################################################################
 ##############################################################################
-# Copyright (c) 1998-2018,2019 Free Software Foundation, Inc.                #
+# Copyright 2018-2019,2020 Thomas E. Dickey                                  #
+# Copyright 1998-2015,2018 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"), #
 #                                                                            #
 # Permission is hereby granted, free of charge, to any person obtaining a    #
 # copy of this software and associated documentation files (the "Software"), #
@@ -28,7 +29,7 @@
 #
 #  Author:  Juergen Pfeifer, 1996
 #
 #
 #  Author:  Juergen Pfeifer, 1996
 #
-#  $Id: Makefile.in,v 1.56 2019/09/08 00:01:38 tom Exp $
+#  $Id: Makefile.in,v 1.60 2020/08/08 19:52:58 tom Exp $
 #
 .SUFFIXES:
 
 #
 .SUFFIXES:
 
@@ -61,9 +62,9 @@ CPPFLAGS      = @ACPPFLAGS@ \
 
 CCFLAGS                = $(CPPFLAGS) $(CFLAGS)
 
 
 CCFLAGS                = $(CPPFLAGS) $(CFLAGS)
 
-CFLAGS_NORMAL  = $(CCFLAGS)
-CFLAGS_DEBUG   = $(CCFLAGS) @CC_G_OPT@ -DTRACE
-CFLAGS_PROFILE = $(CCFLAGS) -pg
+CFLAGS_NORMAL  = $(CCFLAGS) -DNCURSES_STATIC
+CFLAGS_DEBUG   = $(CCFLAGS) -DNCURSES_STATIC @CC_G_OPT@ -DTRACE
+CFLAGS_PROFILE = $(CCFLAGS) -DNCURSES_STATIC -pg
 CFLAGS_SHARED  = $(CCFLAGS) @CC_SHARED_OPTS@
 
 CFLAGS_DEFAULT = $(CFLAGS_@DFT_UPR_MODEL@)
 CFLAGS_SHARED  = $(CCFLAGS) @CC_SHARED_OPTS@
 
 CFLAGS_DEFAULT = $(CFLAGS_@DFT_UPR_MODEL@)
@@ -82,6 +83,7 @@ DATADIR               = $(DESTDIR)$(datadir)
 LIBDIR         = $(DESTDIR)$(libdir)
 
 MY_DATADIR     = $(DATADIR)/@ADA_LIBNAME@
 LIBDIR         = $(DESTDIR)$(libdir)
 
 MY_DATADIR     = $(DATADIR)/@ADA_LIBNAME@
+THIS_DATADIR   = $(datadir)/@ADA_LIBNAME@
 
 ################################################################################
 ada_srcdir     = ../src
 
 ################################################################################
 ada_srcdir     = ../src
@@ -165,4 +167,4 @@ realclean :: distclean
 
 $(THISLIB)-explanation.adb : $(srcdir)/$(THISLIB)-explanation.adb_p
        rm -f $@
 
 $(THISLIB)-explanation.adb : $(srcdir)/$(THISLIB)-explanation.adb_p
        rm -f $@
-       $(ADAPREP) -DTHIS_DATADIR=\"$(DATADIR)\" @GNATPREP_OPTS@ $(srcdir)/$(THISLIB)-explanation.adb_p $@
+       $(AWK) -v this_datadir=$(THIS_DATADIR) -f $(srcdir)/split-path.awk < $(srcdir)/$(THISLIB)-explanation.adb_p  >$@