X-Git-Url: http://ncurses.scripts.mit.edu/?a=blobdiff_plain;f=Ada95%2Fsamples%2FMakefile.in;h=3a0c272f409228fea5684263226284a6ab3255c8;hb=4546e76f7d630a849ac9e17deda7bee36919f800;hp=c7323e8b249ed049b3edf54d58300c98bb788166;hpb=896224bea6196d73d03e39b1a266887d6f2cb6ff;p=ncurses.git diff --git a/Ada95/samples/Makefile.in b/Ada95/samples/Makefile.in index c7323e8b..3a0c272f 100644 --- a/Ada95/samples/Makefile.in +++ b/Ada95/samples/Makefile.in @@ -1,5 +1,6 @@ ############################################################################## -# Copyright (c) 1998-2018,2019 Free Software Foundation, Inc. # +# Copyright 2018-2020,2021 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"), # @@ -28,7 +29,7 @@ # # Author: Juergen Pfeifer, 1996 # -# $Id: Makefile.in,v 1.57 2019/12/22 01:09:19 tom Exp $ +# $Id: Makefile.in,v 1.62 2021/01/23 20:42:08 tom Exp $ # .SUFFIXES: @@ -54,16 +55,16 @@ AWK = @AWK@ LN_S = @LN_S@ CC = @CC@ -CFLAGS = @CFLAGS@ +CFLAGS = @CFLAGS@ @EXTRA_CFLAGS@ CPPFLAGS = @ACPPFLAGS@ \ -DHAVE_CONFIG_H -I$(srcdir) 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@) @@ -130,7 +131,7 @@ install.examples :: $(MY_DATADIR) $(INSTALL_DATA) explain.txt $(MY_DATADIR) uninstall.examples :: - -cd $(BINDIR) && rm -f $(PROGS) + -( cd $(BINDIR) && rm -f $(PROGS) ) -rmdir $(BINDIR) -rm -f $(MY_DATADIR)/explain.txt -rmdir $(MY_DATADIR) @@ -166,4 +167,4 @@ realclean :: distclean $(THISLIB)-explanation.adb : $(srcdir)/$(THISLIB)-explanation.adb_p rm -f $@ - $(ADAPREP) -DTHIS_DATADIR=\"$(THIS_DATADIR)/\" @GNATPREP_OPTS@ $(srcdir)/$(THISLIB)-explanation.adb_p $@ + $(AWK) -v this_datadir=$(THIS_DATADIR) -f $(srcdir)/split-path.awk < $(srcdir)/$(THISLIB)-explanation.adb_p >$@