1 # $Id: Makefile.in,v 1.20 1997/05/04 21:15:38 tom Exp $
2 ################################################################################
3 # Copyright 1996 by Thomas E. Dickey <dickey@clark.net> #
4 # All Rights Reserved. #
6 # Permission to use, copy, modify, and distribute this software and its #
7 # documentation for any purpose and without fee is hereby granted, provided #
8 # that the above copyright notice appear in all copies and that both that #
9 # copyright notice and this permission notice appear in supporting #
10 # documentation, and that the name of the above listed copyright holder(s) not #
11 # be used in advertising or publicity pertaining to distribution of the #
12 # software without specific, written prior permission. THE ABOVE LISTED #
13 # COPYRIGHT HOLDER(S) DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, #
14 # INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT #
15 # SHALL THE ABOVE LISTED COPYRIGHT HOLDER(S) BE LIABLE FOR ANY SPECIAL, #
16 # INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM #
17 # LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE #
18 # OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR #
19 # PERFORMANCE OF THIS SOFTWARE. #
20 ################################################################################
21 # Simple makefile for c++ window class demo
23 # turn off _all_ suffix rules; we'll generate our own
28 MODEL = ../@DFT_OBJ_SUBDIR@
31 exec_prefix = @exec_prefix@
33 includedir = @includedir@
40 CPPFLAGS = @CPPFLAGS@ -I$(INCDIR) -I$(srcdir)/../c++ -DHAVE_CONFIG_H
42 CCFLAGS = $(CPPFLAGS) $(CXXFLAGS)
44 CFLAGS_NORMAL = $(CCFLAGS)
45 CFLAGS_DEBUG = $(CCFLAGS) @CXX_G_OPT@ -DTRACE
46 CFLAGS_PROFILE = $(CCFLAGS) -pg
47 CFLAGS_SHARED = $(CCFLAGS) @CC_SHARED_OPTS@
49 CFLAGS_DEFAULT = $(CFLAGS_@DFT_UPR_MODEL@)
53 -lmenu@DFT_ARG_SUFFIX@ \
54 -lpanel@DFT_ARG_SUFFIX@ \
55 -lncurses@DFT_ARG_SUFFIX@ \
57 @LD_MODEL@ @LIBS@ @EXTRA_LIBS@ @LOCAL_LDFLAGS@ $(CXXLIBS)
68 ../lib/libmenu@DFT_DEP_SUFFIX@ \
69 ../lib/libpanel@DFT_DEP_SUFFIX@ \
70 ../lib/libncurses@DFT_DEP_SUFFIX@
71 @ECHO_LINK@ $(LINK) -o $@ $(OBJS_DEMO) $(LDFLAGS)
77 -rm -f core demo $(OBJS_DEMO)
84 realclean :: distclean
86 ###############################################################################
87 # The remainder of this file is automatically generated during configuration
88 ###############################################################################