]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - menu/Makefile.in
ncurses 5.1
[ncurses.git] / menu / Makefile.in
index 39800589427d3669954b3fd86aa5c424c10ef007..3d802c07fe69fe63fce201a400cb7dfd8fb25170 100644 (file)
@@ -1,6 +1,6 @@
-# $Id: Makefile.in,v 1.23 1998/02/11 12:13:50 tom Exp $
+# $Id: Makefile.in,v 1.28 2000/05/28 01:40:08 tom Exp $
 ##############################################################################
-# Copyright (c) 1998 Free Software Foundation, Inc.                          #
+# Copyright (c) 1998-2000 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"), #
@@ -64,6 +64,7 @@ LD            = @LD@
 LN_S           = @LN_S@
 
 CC             = @CC@
+CPP            = @CPP@
 CFLAGS         = @CFLAGS@
 
 CPPFLAGS       = @CPPFLAGS@ \
@@ -74,18 +75,19 @@ CCFLAGS             = $(CPPFLAGS) $(CFLAGS)
 CFLAGS_NORMAL  = $(CCFLAGS)
 CFLAGS_DEBUG   = $(CCFLAGS) @CC_G_OPT@ -DTRACE
 CFLAGS_PROFILE = $(CCFLAGS) -pg
-# Juergen Pfeifer reports:
-# "Unfortunately -O crashes my linker on Linux and -O2 works"
-# If your linker coughs and dies, try uncommenting the -O2
-CFLAGS_SHARED  = $(CCFLAGS) @CC_SHARED_OPTS@ # -O2
+
+CFLAGS_SHARED  = $(CCFLAGS) @CC_SHARED_OPTS@
 
 CFLAGS_DEFAULT = $(CFLAGS_@DFT_UPR_MODEL@)
 
 LINK           = $(CC)
 LDFLAGS                = @LDFLAGS@ @LD_MODEL@ @LIBS@
 
-SHLIB_LIST     = -lncurses @SHLIB_LIST@
+SHLIB_DIRS     = -L../lib -L$(libdir)
+SHLIB_LIST     = $(SHLIB_DIRS) -lncurses@LIB_SUFFIX@ @SHLIB_LIST@
+
 MK_SHARED_LIB  = @MK_SHARED_LIB@
+
 REL_VERSION    = @cf_cv_rel_version@
 ABI_VERSION    = @cf_cv_abi_version@
 
@@ -104,6 +106,7 @@ AUTO_SRC    = \
 
 ################################################################################
 all \
+libs \
 install ::     $(AUTO_SRC) $(LIBRARIES)
 
 sources :      $(AUTO_SRC)