## -*-makefile-*-
##
-## $Id: Makefile.am,v 1.5 1999/07/27 18:59:09 mdw Exp $
+## $Id: Makefile.am,v 1.6 1999/11/11 19:54:37 mdw Exp $
##
## Makefile for mgLib
##
##----- Revision history ----------------------------------------------------
##
## $Log: Makefile.am,v $
+## Revision 1.6 1999/11/11 19:54:37 mdw
+## Prep for standalone release.
+##
## Revision 1.5 1999/07/27 18:59:09 mdw
## Fix relative order of `automake' and `autoconf'.
##
AUTOMAKE_OPTIONS = foreign
-lib_LIBRARIES = libmgLib.a
+lib_LTLIBRARIES = libmgLib.la
+bin_SCRIPTS = mgLib-config
+libmgLib_la_LDFLAGS = -version-info 2:0:1
pkginclude_HEADERS = msg.h mdwfocus.h cancel.h
-
-INCLUDES = -I$(srcdir)/..
-libmgLib_a_SOURCES = msg.c mdwfocus.c cancel.c
+libmgLib_la_SOURCES = msg.c mdwfocus.c cancel.c
##----- That's all, folks ---------------------------------------------------
/* -*-c-*-
*
- * $Id: cancel.c,v 1.4 1999/05/06 19:51:47 mdw Exp $
+ * $Id: cancel.c,v 1.5 1999/11/11 19:54:37 mdw Exp $
*
* Handle Escape keypresses, directing them to cancel buttons
*
/*----- Revision history --------------------------------------------------*
*
* $Log: cancel.c,v $
+ * Revision 1.5 1999/11/11 19:54:37 mdw
+ * Prep for standalone release.
+ *
* Revision 1.4 1999/05/06 19:51:47 mdw
* Reformatted the LGPL notice a little bit.
*
*
*/
-#ifdef HAVE_GTK
-
/*----- Header files ------------------------------------------------------*/
#include <gtk/gtk.h>
}
/*----- That's all, folks -------------------------------------------------*/
-
-#else
- int mgLib_cancel = 0;
-#endif
dnl -*-fundamental-*-
dnl
-dnl $Id: configure.in,v 1.6 1999/05/06 19:51:48 mdw Exp $
+dnl $Id: configure.in,v 1.7 1999/11/11 19:54:37 mdw Exp $
dnl
dnl Configuration script for mgLib
dnl
dnl ----- Revision history --------------------------------------------------
dnl
dnl $Log: configure.in,v $
+dnl Revision 1.7 1999/11/11 19:54:37 mdw
+dnl Prep for standalone release.
+dnl
dnl Revision 1.6 1999/05/06 19:51:48 mdw
dnl Reformatted the LGPL notice a little bit.
dnl
dnl
AC_INIT(mdwfocus.c)
-AM_INIT_AUTOMAKE(mgLib, 1.0.0)
+AM_INIT_AUTOMAKE(mgLib, 1.1.0)
AC_PROG_CC
-mdw_GCC_FLAGS
AC_CHECK_PROG(AR, ar, ar)
-AC_PROG_RANLIB
+AM_PROG_LIBTOOL
+mdw_MLIB(1.6.0)
AM_PATH_GTK(1.0.0,
- [LIBS="$LIBS $GTK_LIBS" CFLAGS="$CFLAGS $GTK_CFLAGS"
- AC_DEFINE(HAVE_GTK)],
- [AC_MSG_WARN([couldn't find GTK])])
+ [LIBS="$LIBS $GTK_LIBS" CFLAGS="$CFLAGS $GTK_CFLAGS"],
+ [AC_MSG_ERROR([couldn't find GTK])])
mdw_OPT_mLib_DEBUG(mgLib)
-AC_OUTPUT(Makefile)
+AC_OUTPUT(Makefile mgLib-config)
dnl ----- That's all, folks -------------------------------------------------
/* -*-c-*-
*
- * $Id: mdwfocus.c,v 1.4 1999/05/06 19:51:48 mdw Exp $
+ * $Id: mdwfocus.c,v 1.5 1999/11/11 19:54:37 mdw Exp $
*
* Tell my hacked `fvwm' to focus this window
*
/*----- Revision history --------------------------------------------------*
*
* $Log: mdwfocus.c,v $
+ * Revision 1.5 1999/11/11 19:54:37 mdw
+ * Prep for standalone release.
+ *
* Revision 1.4 1999/05/06 19:51:48 mdw
* Reformatted the LGPL notice a little bit.
*
*
*/
-#ifdef HAVE_GTK
-
/*----- Header files ------------------------------------------------------*/
#include <gtk/gtk.h>
}
/*----- That's all, folks -------------------------------------------------*/
-
-#else
- int mgLib_mdwfocus = 0;
-#endif
/* -*-c-*-
*
- * $Id: msg.c,v 1.7 1999/05/21 22:08:20 mdw Exp $
+ * $Id: msg.c,v 1.8 1999/11/11 19:54:37 mdw Exp $
*
* Display a message and get an answer
*
/*----- Revision history --------------------------------------------------*
*
* $Log: msg.c,v $
+ * Revision 1.8 1999/11/11 19:54:37 mdw
+ * Prep for standalone release.
+ *
* Revision 1.7 1999/05/21 22:08:20 mdw
* Take advantage of new dynamic string macros.
*
*
*/
-#ifdef HAVE_GTK
-
/*----- Header files ------------------------------------------------------*/
#include <stdarg.h>
}
/*----- That's all, folks -------------------------------------------------*/
-
-#else
- int mgLib_msg = 0;
-#endif
set -e
mklinks
+libtoolize
mkaclocal
autoconf
automake