X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=c%2B%2B%2FMakefile.in;h=1e79b8625cfb621173a93f3f6600b71755456f1c;hp=04a7bf8c2d2098962cabf13ea262acf8a1bd930a;hb=87f20fc6e737084b06b6343c8c7206404daec4a2;hpb=8a82f8535bbbd3aa9db75fb79812b5c5b1c81d28 diff --git a/c++/Makefile.in b/c++/Makefile.in index 04a7bf8c..1e79b862 100644 --- a/c++/Makefile.in +++ b/c++/Makefile.in @@ -1,6 +1,6 @@ -# $Id: Makefile.in,v 1.103 2013/03/30 21:03:33 tom Exp $ +# $Id: Makefile.in,v 1.108 2014/11/15 00:46:17 tom Exp $ ############################################################################## -# Copyright (c) 1998-2012,2013 Free Software Foundation, Inc. # +# Copyright (c) 1998-2013,2014 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"), # @@ -44,13 +44,21 @@ o = .@OBJEXT@ MODEL = ../@DFT_OBJ_SUBDIR@ DESTDIR = @DESTDIR@ +top_srcdir = @top_srcdir@ srcdir = @srcdir@ prefix = @prefix@ exec_prefix = @exec_prefix@ +bindir = @bindir@ libdir = @libdir@ includedir = @includedir@ +includesubdir = @includesubdir@ + +INCLUDEDIR = $(DESTDIR)$(includedir)$(includesubdir) + +PACKAGE = @PACKAGE@ LIBTOOL = @LIBTOOL_CXX@ +LIBTOOL_OPTS = @LIBTOOL_OPTS@ LIBTOOL_CLEAN = @LIB_CLEAN@ LIBTOOL_COMPILE = @LIB_COMPILE@ LIBTOOL_LINK = @LIB_LINK@ @@ -79,7 +87,7 @@ CXXFLAGS = @CXXFLAGS@ @EXTRA_CXXFLAGS@ CXXLIBS = @CXXLIBS@ INCDIR = ../include -CPPFLAGS = -I../c++ -I$(INCDIR) -I$(srcdir) -DHAVE_CONFIG_H @CPPFLAGS@ +CPPFLAGS = -DHAVE_CONFIG_H @CPPFLAGS@ CTAGS = @CTAGS@ ETAGS = @ETAGS@ @@ -157,25 +165,6 @@ depend : tags: $(CTAGS) *.[h] *.cc -OBJS_DEMO = $(MODEL)/demo$o - -$(MODEL)/demo$o : $(srcdir)/demo.cc \ - $(internal_h) \ - $(cursesf_h) \ - $(cursesm_h) \ - $(cursesapp_h) - @echo 'compiling demo (obj_s)' - @$(LIBTOOL_COMPILE) $(CXX) $(CFLAGS_DEFAULT) -c $(srcdir)/demo.cc -o $@ - -demo$x: $(OBJS_DEMO) \ - $(LIBRARIES) \ - @TEST_DEPS@ - @ECHO_LD@ $(LINK) -o $@ $(OBJS_DEMO) $(LDFLAGS_DEFAULT) - -etip.h: $(srcdir)/etip.h.in $(srcdir)/edit_cfg.sh - cp $(srcdir)/etip.h.in $@ - sh $(srcdir)/edit_cfg.sh ../include/ncurses_cfg.h $@ - $(DESTDIR)$(libdir) : mkdir -p $@ @@ -234,6 +223,27 @@ $(INCDIR)/menu.h : $(INCDIR)/panel.h : cd ../panel && $(MAKE) $@ +############################################################################### + +OBJS_DEMO = $(MODEL)/demo$o + +$(MODEL)/demo$o : $(srcdir)/demo.cc \ + $(internal_h) \ + $(cursesf_h) \ + $(cursesm_h) \ + $(cursesapp_h) + @echo 'compiling demo (obj_s)' + @$(LIBTOOL_COMPILE) $(CXX) $(CFLAGS_DEFAULT) -c $(srcdir)/demo.cc -o $@ + +demo$x: $(OBJS_DEMO) \ + $(LIBRARIES) \ + @TEST_DEPS@ + @ECHO_LD@ $(LINK) -o $@ $(OBJS_DEMO) $(LDFLAGS_DEFAULT) + +etip.h: $(srcdir)/etip.h.in $(srcdir)/edit_cfg.sh + cp $(srcdir)/etip.h.in $@ + sh $(srcdir)/edit_cfg.sh ../include/ncurses_cfg.h $@ + ############################################################################### # The remainder of this file is automatically generated during configuration ###############################################################################