More ugly stuff to avoid compiling with libtool
This commit is contained in:
parent
a146da79d3
commit
575bc60c36
11
configure.ac
11
configure.ac
@ -40,17 +40,16 @@ Makefile
|
|||||||
config.py
|
config.py
|
||||||
doc/Makefile
|
doc/Makefile
|
||||||
moo/Makefile
|
moo/Makefile
|
||||||
moo/moolua/Makefile
|
|
||||||
moo/mooutils/Makefile
|
|
||||||
moo/mooutils/newgtk/Makefile
|
|
||||||
moo/moofileview/Makefile
|
|
||||||
moo/mooedit/Makefile
|
|
||||||
moo/mooedit/plugins/Makefile
|
|
||||||
moo/mooapp/Makefile
|
moo/mooapp/Makefile
|
||||||
|
moo/mooedit/Makefile
|
||||||
|
moo/moofileview/Makefile
|
||||||
|
moo/moolua/Makefile
|
||||||
moo/moopython/Makefile
|
moo/moopython/Makefile
|
||||||
moo/moopython/plugins/Makefile
|
moo/moopython/plugins/Makefile
|
||||||
moo/moopython/plugins/pyproject/Makefile
|
moo/moopython/plugins/pyproject/Makefile
|
||||||
moo/moopython/pygtk/Makefile
|
moo/moopython/pygtk/Makefile
|
||||||
|
moo/mooutils/Makefile
|
||||||
|
moo/mooutils/newgtk/Makefile
|
||||||
moo/mooutils/pcre/Makefile
|
moo/mooutils/pcre/Makefile
|
||||||
tests/pyapp.py
|
tests/pyapp.py
|
||||||
tests/Makefile
|
tests/Makefile
|
||||||
|
@ -28,6 +28,8 @@ AC_DEFUN_ONCE([MOO_AC_PRIV_FLAGS],[
|
|||||||
],[
|
],[
|
||||||
:
|
:
|
||||||
],[-lXext])
|
],[-lXext])
|
||||||
|
|
||||||
|
MOO_LIBS="$MOO_LIBS $X_LIBS $X_EXTRA_LIBS -lSM -lICE"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
MOO_CFLAGS="$MOO_CFLAGS $MOO_PCRE_CFLAGS -DXDG_PREFIX=_moo_edit_xdg -DG_LOG_DOMAIN=\\\"Moo\\\""
|
MOO_CFLAGS="$MOO_CFLAGS $MOO_PCRE_CFLAGS -DXDG_PREFIX=_moo_edit_xdg -DG_LOG_DOMAIN=\\\"Moo\\\""
|
||||||
|
@ -11,7 +11,6 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
#include "medit-credits.h"
|
|
||||||
#include "mooapp/mooapp.h"
|
#include "mooapp/mooapp.h"
|
||||||
#include "mooedit/mooplugin.h"
|
#include "mooedit/mooplugin.h"
|
||||||
#include "moopython/moopython-builtin.h"
|
#include "moopython/moopython-builtin.h"
|
||||||
|
@ -1,35 +0,0 @@
|
|||||||
/* -*- C -*- */
|
|
||||||
static const char THANKS [] = ""
|
|
||||||
"To Sveta and Max Muntyan,\n"
|
|
||||||
"\n"
|
|
||||||
"and to all who contributed, including\n"
|
|
||||||
"\n"
|
|
||||||
"Andreas Hanke\n"
|
|
||||||
"Andrey Fedoseev\n"
|
|
||||||
"Arnau Sanchez\n"
|
|
||||||
"Chaosye\n"
|
|
||||||
"Christian Dywan\n"
|
|
||||||
"Collilieux\n"
|
|
||||||
"Daniel Butzu\n"
|
|
||||||
"David Hough\n"
|
|
||||||
"Dmytro Savchuk\n"
|
|
||||||
"Everaldo Coelho\n"
|
|
||||||
"Federico Mena Quintero\n"
|
|
||||||
"Geoffrey French\n"
|
|
||||||
"Jeroen Zwartepoorte\n"
|
|
||||||
"Kenneth Prugh\n"
|
|
||||||
"LoneFox\n"
|
|
||||||
"Lontronics\n"
|
|
||||||
"Marco Barisione\n"
|
|
||||||
"Matthias Clasen\n"
|
|
||||||
"Nick Treleaven\n"
|
|
||||||
"Owen Taylor\n"
|
|
||||||
"Paolo Borelli\n"
|
|
||||||
"Paolo Maggi\n"
|
|
||||||
"Philip Hazel\n"
|
|
||||||
"Scott Wimer\n"
|
|
||||||
"Thomas Gilgin\n"
|
|
||||||
"Tim Janik\n"
|
|
||||||
"Tim-Philipp Müller\n"
|
|
||||||
"Vlastimil Ott\n"
|
|
||||||
;
|
|
2
moo.mprj
2
moo.mprj
@ -8,7 +8,7 @@
|
|||||||
<debug>
|
<debug>
|
||||||
<build_dir>build/debug</build_dir>
|
<build_dir>build/debug</build_dir>
|
||||||
<configure>
|
<configure>
|
||||||
<args>--enable-debug --enable-all-warnings --enable-project --enable-unit-tests --prefix=${PREFIX:-/usr/local}</args>
|
<args>--enable-debug --enable-all-warnings --enable-project --enable-pch --enable-unit-tests --prefix=${PREFIX:-/usr/local}</args>
|
||||||
<vars>
|
<vars>
|
||||||
<var name="CC">gcc-4.2</var>
|
<var name="CC">gcc-4.2</var>
|
||||||
<var name="CXX">g++-4.2</var>
|
<var name="CXX">g++-4.2</var>
|
||||||
|
@ -7,18 +7,35 @@ moo_sublibs += $(top_builddir)/moo/moopython/libmoopython.la
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
if MOO_BUILD_APP
|
if MOO_BUILD_APP
|
||||||
|
if MOO_INSTALL_LIB
|
||||||
moo_sublibs += $(top_builddir)/moo/mooapp/libmooapp.la
|
moo_sublibs += $(top_builddir)/moo/mooapp/libmooapp.la
|
||||||
|
else
|
||||||
|
moo_sublibs += $(top_builddir)/moo/mooapp/libmooapp.a
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if MOO_BUILD_EDIT
|
if MOO_BUILD_EDIT
|
||||||
|
if MOO_INSTALL_LIB
|
||||||
moo_sublibs += $(top_builddir)/moo/mooedit/libmooedit.la
|
moo_sublibs += $(top_builddir)/moo/mooedit/libmooedit.la
|
||||||
moo_sublibs += $(top_builddir)/moo/moofileview/libmoofileview.la
|
moo_sublibs += $(top_builddir)/moo/moofileview/libmoofileview.la
|
||||||
|
else
|
||||||
|
moo_sublibs += $(top_builddir)/moo/mooedit/libmooedit.a
|
||||||
|
moo_sublibs += $(top_builddir)/moo/moofileview/libmoofileview.a
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if MOO_BUILD_LUA
|
if MOO_BUILD_LUA
|
||||||
|
if MOO_INSTALL_LIB
|
||||||
moo_sublibs += $(top_builddir)/moo/moolua/libmoolua.la
|
moo_sublibs += $(top_builddir)/moo/moolua/libmoolua.la
|
||||||
|
else
|
||||||
|
moo_sublibs += $(top_builddir)/moo/moolua/libmoolua.a
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if MOO_BUILD_UTILS
|
if MOO_BUILD_UTILS
|
||||||
|
if MOO_INSTALL_LIB
|
||||||
moo_sublibs += $(top_builddir)/moo/mooutils/libmooutils.la
|
moo_sublibs += $(top_builddir)/moo/mooutils/libmooutils.la
|
||||||
|
else
|
||||||
|
moo_sublibs += $(top_builddir)/moo/mooutils/libmooutils.a
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
|
@ -12,19 +12,20 @@ mooapp_sources = \
|
|||||||
moolinklabel.h \
|
moolinklabel.h \
|
||||||
moolinklabel.c
|
moolinklabel.c
|
||||||
|
|
||||||
noinst_LTLIBRARIES = libmooapp.la
|
libmooapp_SOURCES_ = $(mooapp_sources)
|
||||||
libmooapp_la_SOURCES = $(mooapp_sources)
|
|
||||||
libmooapp_la_LIBADD =
|
|
||||||
|
|
||||||
BUILT_SOURCES += mooapp-credits.h
|
BUILT_SOURCES += mooapp-credits.h
|
||||||
|
|
||||||
GLADE_FILES = glade/mooappabout.glade
|
GLADE_FILES = glade/mooappabout.glade
|
||||||
|
|
||||||
AM_CFLAGS = $(MOO_CFLAGS)
|
AM_CFLAGS_ = $(MOO_CFLAGS)
|
||||||
AM_CXXFLAGS = $(MOO_CXXFLAGS)
|
AM_CXXFLAGS_ = $(MOO_CXXFLAGS)
|
||||||
|
|
||||||
include smclient/Makefile.incl
|
include smclient/Makefile.incl
|
||||||
|
|
||||||
mooapp-credits.h: ../../THANKS $(top_srcdir)/ugly/xml2h.sh
|
mooapp-credits.h: ../../THANKS $(top_srcdir)/ugly/xml2h.sh
|
||||||
$(SHELL) $(top_srcdir)/ugly/xml2h.sh MOO_APP_CREDITS $(srcdir)/../../THANKS > $@.tmp && \
|
$(SHELL) $(top_srcdir)/ugly/xml2h.sh MOO_APP_CREDITS $(srcdir)/../../THANKS > $@.tmp && \
|
||||||
mv $@.tmp $(srcdir)/mooapp-credits.h
|
mv $@.tmp $(srcdir)/mooapp-credits.h
|
||||||
|
|
||||||
|
MODULE = libmooapp
|
||||||
|
UGLY_LIBS =
|
||||||
|
@ -1,23 +1,22 @@
|
|||||||
libmooapp_la_SOURCES += \
|
libmooapp_SOURCES_ += \
|
||||||
smclient/eggsmclient.c \
|
smclient/eggsmclient.c \
|
||||||
smclient/eggsmclient.h \
|
smclient/eggsmclient.h \
|
||||||
smclient/eggsmclient-mangle.h \
|
smclient/eggsmclient-mangle.h \
|
||||||
smclient/eggsmclient-private.h
|
smclient/eggsmclient-private.h
|
||||||
|
|
||||||
if GDK_X11
|
if GDK_X11
|
||||||
AM_CFLAGS += $(X_CFLAGS) -DEGG_SM_CLIENT_BACKEND_XSMP
|
AM_CFLAGS_ += $(X_CFLAGS) -DEGG_SM_CLIENT_BACKEND_XSMP
|
||||||
libmooapp_la_LIBADD += $(X_LIBS) $(X_EXTRA_LIBS) -lSM -lICE
|
libmooapp_SOURCES_ += \
|
||||||
libmooapp_la_SOURCES += \
|
|
||||||
smclient/eggsmclient-xsmp.c \
|
smclient/eggsmclient-xsmp.c \
|
||||||
smclient/eggdesktopfile.h \
|
smclient/eggdesktopfile.h \
|
||||||
smclient/eggdesktopfile.c
|
smclient/eggdesktopfile.c
|
||||||
endif GDK_X11
|
endif GDK_X11
|
||||||
if GDK_WIN32
|
if GDK_WIN32
|
||||||
libmooapp_la_SOURCES += \
|
libmooapp_SOURCES_ += \
|
||||||
smclient/eggsmclient-win32.c
|
smclient/eggsmclient-win32.c
|
||||||
endif GDK_WIN32
|
endif GDK_WIN32
|
||||||
if GDK_QUARTZ
|
if GDK_QUARTZ
|
||||||
libmooapp_la_SOURCES += \
|
libmooapp_SOURCES_ += \
|
||||||
smclient/eggsmclient-dummy.c
|
smclient/eggsmclient-dummy.c
|
||||||
endif GDK_QUARTZ
|
endif GDK_QUARTZ
|
||||||
|
|
||||||
|
@ -3,11 +3,7 @@ mooedit_tools_DATA = context.cfg menu.cfg filters.xml
|
|||||||
mooedit_luadir = $(MOO_DATA_DIR)/lua
|
mooedit_luadir = $(MOO_DATA_DIR)/lua
|
||||||
mooedit_lua_DATA = medit.lua
|
mooedit_lua_DATA = medit.lua
|
||||||
|
|
||||||
noinst_LTLIBRARIES = libmooedit.la
|
libmooedit_SOURCES_ = \
|
||||||
|
|
||||||
libmooedit_la_SOURCES = \
|
|
||||||
$(gtksourceview_sources) \
|
|
||||||
$(mooeditplugins_sources) \
|
|
||||||
moocmdview.c \
|
moocmdview.c \
|
||||||
moocmdview.h \
|
moocmdview.h \
|
||||||
moocommand.c \
|
moocommand.c \
|
||||||
@ -102,8 +98,7 @@ libmooedit_la_SOURCES = \
|
|||||||
moousertools-prefs.c \
|
moousertools-prefs.c \
|
||||||
moousertools-prefs.h
|
moousertools-prefs.h
|
||||||
|
|
||||||
nodist_libmooedit_la_SOURCES = \
|
nodist_libmooedit_SOURCES_ =
|
||||||
$(nodist_gtksourceview_sources)
|
|
||||||
|
|
||||||
dist_printing_sources = \
|
dist_printing_sources = \
|
||||||
mooprintpreview.h \
|
mooprintpreview.h \
|
||||||
@ -113,7 +108,7 @@ dist_printing_sources = \
|
|||||||
mootextprint.h
|
mootextprint.h
|
||||||
EXTRA_DIST += $(dist_printing_sources)
|
EXTRA_DIST += $(dist_printing_sources)
|
||||||
if GTK_2_10
|
if GTK_2_10
|
||||||
libmooedit_la_SOURCES += $(dist_printing_sources)
|
libmooedit_SOURCES_ += $(dist_printing_sources)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ENUM_MODULE = mooedit
|
ENUM_MODULE = mooedit
|
||||||
@ -149,11 +144,14 @@ EXTRA_DIST += \
|
|||||||
$(mooedit_tools_DATA) \
|
$(mooedit_tools_DATA) \
|
||||||
$(mooedit_lua_DATA)
|
$(mooedit_lua_DATA)
|
||||||
|
|
||||||
AM_CFLAGS = $(MOO_CFLAGS) -I$(srcdir)/gtksourceview $(MOO_WIN32_CFLAGS)
|
AM_CFLAGS_ = $(MOO_CFLAGS) $(MOO_WIN32_CFLAGS)
|
||||||
AM_CXXFLAGS = $(MOO_CXXFLAGS) $(MOO_WIN32_CFLAGS)
|
AM_CXXFLAGS_ = $(MOO_CXXFLAGS) $(MOO_WIN32_CFLAGS)
|
||||||
|
|
||||||
include gtksourceview/Makefile.incl
|
include gtksourceview/Makefile.incl
|
||||||
include langs/Makefile.incl
|
include langs/Makefile.incl
|
||||||
include plugins/Makefile.incl
|
include plugins/Makefile.incl
|
||||||
|
|
||||||
%-private.lo: %.lo ; @true
|
%-private.lo: %.lo ; @true
|
||||||
|
|
||||||
|
MODULE = libmooedit
|
||||||
|
UGLY_LIBS =
|
||||||
|
@ -1,3 +1,6 @@
|
|||||||
|
libmooedit_SOURCES_ += $(gtksourceview_sources)
|
||||||
|
nodist_libmooedit_SOURCES_ += $(built_gtksourceview_sources)
|
||||||
|
|
||||||
upstream_sources = \
|
upstream_sources = \
|
||||||
gtksourceview/upstream/gtksourcecontextengine.c \
|
gtksourceview/upstream/gtksourcecontextengine.c \
|
||||||
gtksourceview/upstream/gtksourcecontextengine.h \
|
gtksourceview/upstream/gtksourcecontextengine.h \
|
||||||
@ -65,17 +68,15 @@ gtksourceview_sources = \
|
|||||||
gtksourceview/gtksourceview-i18n.h \
|
gtksourceview/gtksourceview-i18n.h \
|
||||||
gtksourceview/gtksourceview-marshal.h \
|
gtksourceview/gtksourceview-marshal.h \
|
||||||
gtksourceview/gtksourceview-api.h
|
gtksourceview/gtksourceview-api.h
|
||||||
nodist_gtksourceview_sources = \
|
|
||||||
$(built_gtksourceview_sources)
|
|
||||||
|
|
||||||
if MOO_USE_XML
|
if MOO_USE_XML
|
||||||
nodist_gtksourceview_sources += $(xml_sources)
|
built_gtksourceview_sources += $(xml_sources)
|
||||||
EXTRA_DIST += $(no_xml_sources)
|
|
||||||
else
|
else
|
||||||
nodist_gtksourceview_sources += $(no_xml_sources)
|
built_gtksourceview_sources += $(no_xml_sources)
|
||||||
EXTRA_DIST += $(xml_sources)
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
AM_CFLAGS_ += -I$(srcdir)/gtksourceview
|
||||||
|
|
||||||
EXTRA_DIST += \
|
EXTRA_DIST += \
|
||||||
gtksourceview/upstream/gtksourcecontextengine.c \
|
gtksourceview/upstream/gtksourcecontextengine.c \
|
||||||
gtksourceview/upstream/gtksourceengine.c \
|
gtksourceview/upstream/gtksourceengine.c \
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
TESTS = langs/check.sh
|
|
||||||
|
|
||||||
languagespecsdir = ${MOO_TEXT_LANG_FILES_DIR}
|
languagespecsdir = ${MOO_TEXT_LANG_FILES_DIR}
|
||||||
|
|
||||||
langs2 = \
|
langs2 = \
|
||||||
@ -85,5 +83,5 @@ languagespecs_DATA = \
|
|||||||
$(langs2)
|
$(langs2)
|
||||||
|
|
||||||
EXTRA_DIST += \
|
EXTRA_DIST += \
|
||||||
$(nobase_languagespecs_DATA) \
|
$(languagespecs_DATA) \
|
||||||
langs/styles.rng
|
langs/styles.rng
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
libmooedit_SOURCES_ += $(mooeditplugins_sources)
|
||||||
mooeditplugins_sources =
|
mooeditplugins_sources =
|
||||||
|
|
||||||
###########################################################################
|
###########################################################################
|
||||||
|
@ -54,8 +54,10 @@ GLADE_FILES = \
|
|||||||
|
|
||||||
MOO_UI_FILES = moofileview.xml
|
MOO_UI_FILES = moofileview.xml
|
||||||
|
|
||||||
noinst_LTLIBRARIES = libmoofileview.la
|
libmoofileview_SOURCES_ = $(moofileview_sources)
|
||||||
libmoofileview_la_SOURCES = $(moofileview_sources)
|
|
||||||
|
|
||||||
AM_CFLAGS = $(MOO_CFLAGS)
|
AM_CFLAGS_ = $(MOO_CFLAGS)
|
||||||
AM_CXXFLAGS = $(MOO_CXXFLAGS)
|
AM_CXXFLAGS_ = $(MOO_CXXFLAGS)
|
||||||
|
|
||||||
|
MODULE = libmoofileview
|
||||||
|
UGLY_LIBS =
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
noinst_LTLIBRARIES = libmoolua.la
|
MODULE = libmoolua
|
||||||
|
UGLY_LIBS =
|
||||||
|
|
||||||
if MOO_OS_DARWIN
|
if MOO_OS_DARWIN
|
||||||
MOO_LUA_CFLAGS="-DLUA_USE_MACOSX"
|
MOO_LUA_CFLAGS="-DLUA_USE_MACOSX"
|
||||||
@ -8,13 +9,13 @@ MOO_LUA_CFLAGS="-DLUA_USE_POSIX -DLUA_USE_DLOPEN"
|
|||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
AM_CFLAGS = \
|
AM_CFLAGS_ = \
|
||||||
$(MOO_CFLAGS) \
|
$(MOO_CFLAGS) \
|
||||||
$(MOO_LUA_CFLAGS) \
|
$(MOO_LUA_CFLAGS) \
|
||||||
$(MOO_W_NO_MISSING_NORETURN) \
|
$(MOO_W_NO_MISSING_NORETURN) \
|
||||||
-DLUA_USE_APICHECK
|
-DLUA_USE_APICHECK
|
||||||
|
|
||||||
libmoolua_la_SOURCES = \
|
libmoolua_SOURCES_ = \
|
||||||
ext/lfs.h \
|
ext/lfs.h \
|
||||||
ext/lfs.c \
|
ext/lfs.c \
|
||||||
moolua.h \
|
moolua.h \
|
||||||
@ -22,7 +23,7 @@ libmoolua_la_SOURCES = \
|
|||||||
moolua-tests.h \
|
moolua-tests.h \
|
||||||
luaall.c
|
luaall.c
|
||||||
|
|
||||||
EXTRA_DIST = \
|
EXTRA_DIST += \
|
||||||
lapi.c \
|
lapi.c \
|
||||||
lcode.c \
|
lcode.c \
|
||||||
ldebug.c \
|
ldebug.c \
|
@ -1,16 +1,17 @@
|
|||||||
DIST_SUBDIRS = pcre newgtk
|
DIST_SUBDIRS = pcre newgtk
|
||||||
|
|
||||||
noinst_LTLIBRARIES =
|
|
||||||
subdirs =
|
subdirs =
|
||||||
libs =
|
libs =
|
||||||
|
|
||||||
if MOO_BUILD_PCRE
|
if MOO_BUILD_PCRE
|
||||||
subdirs += pcre
|
subdirs += pcre
|
||||||
|
# FIXME static libs
|
||||||
libs += pcre/libpcre.la
|
libs += pcre/libpcre.la
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if !GLIB_2_14
|
if !GLIB_2_8
|
||||||
subdirs += newgtk
|
subdirs += newgtk
|
||||||
|
# FIXME static libs
|
||||||
libs += newgtk/libnewgtk.la
|
libs += newgtk/libnewgtk.la
|
||||||
endif
|
endif
|
||||||
SUBDIRS = $(subdirs) .
|
SUBDIRS = $(subdirs) .
|
||||||
@ -201,24 +202,28 @@ stock-medit.h: pixmaps/medit.png
|
|||||||
MEDIT_ICON $(srcdir)/pixmaps/medit.png \
|
MEDIT_ICON $(srcdir)/pixmaps/medit.png \
|
||||||
> $@.tmp && mv $@.tmp $@
|
> $@.tmp && mv $@.tmp $@
|
||||||
|
|
||||||
noinst_LTLIBRARIES += libmooutils.la
|
libmooutils_SOURCES_ = $(mooutils_sources)
|
||||||
libmooutils_la_SOURCES = $(mooutils_sources)
|
nodist_libmooutils_SOURCES_ = marshals.c
|
||||||
nodist_libmooutils_la_SOURCES = marshals.c
|
libmooutils_LIBADD_ = $(libs)
|
||||||
libmooutils_la_LIBADD = $(libs)
|
|
||||||
|
|
||||||
if GDK_QUARTZ
|
if GDK_QUARTZ
|
||||||
objc_flag = "-xobjective-c"
|
objc_flag = "-xobjective-c"
|
||||||
objcxx_flag = "-xobjective-c++"
|
objcxx_flag = "-xobjective-c++"
|
||||||
endif
|
endif
|
||||||
|
|
||||||
AM_CFLAGS = \
|
AM_CFLAGS_ = \
|
||||||
$(MOO_CFLAGS) \
|
$(MOO_CFLAGS) \
|
||||||
$(MOO_WIN32_CFLAGS) \
|
$(MOO_WIN32_CFLAGS) \
|
||||||
$(objc_flag)
|
$(objc_flag)
|
||||||
|
|
||||||
AM_CXXFLAGS = \
|
AM_CXXFLAGS_ = \
|
||||||
$(MOO_CXXFLAGS) \
|
$(MOO_CXXFLAGS) \
|
||||||
$(MOO_WIN32_CFLAGS) \
|
$(MOO_WIN32_CFLAGS) \
|
||||||
$(objcxx_flag)
|
$(objcxx_flag)
|
||||||
|
|
||||||
include xdgmime/Makefile.incl
|
include xdgmime/Makefile.incl
|
||||||
|
|
||||||
|
MODULE = libmooutils
|
||||||
|
UGLY_LIBS =
|
||||||
|
|
||||||
|
%.lo: %.o ; @true
|
||||||
|
1
ugly/lt.mk
Normal file
1
ugly/lt.mk
Normal file
@ -0,0 +1 @@
|
|||||||
|
repo/lt.mk
|
30
ugly/repo/lt.mk
Normal file
30
ugly/repo/lt.mk
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
# -%- lang: makefile; indent-width: 8; use-tabs: true -%-
|
||||||
|
# UGLY_MK_TRIGGER = UGLY_LIBS
|
||||||
|
|
||||||
|
noinst_LTLIBRARIES =
|
||||||
|
noinst_LIBRARIES =
|
||||||
|
|
||||||
|
if MOO_INSTALL_LIB
|
||||||
|
noinst_LTLIBRARIES += @MODULE@.la
|
||||||
|
else
|
||||||
|
noinst_LIBRARIES += @MODULE@.a
|
||||||
|
endif
|
||||||
|
|
||||||
|
@MODULE@_la_SOURCES = $(@MODULE@_SOURCES_)
|
||||||
|
@MODULE@_a_SOURCES = $(@MODULE@_SOURCES_)
|
||||||
|
|
||||||
|
nodist_@MODULE@_la_SOURCES = $(nodist_@MODULE@_SOURCES_)
|
||||||
|
nodist_@MODULE@_a_SOURCES = $(nodist_@MODULE@_SOURCES_)
|
||||||
|
|
||||||
|
@MODULE@_la_LIBADD = $(nodist_@MODULE@_LIBADD_)
|
||||||
|
@MODULE@_a_LIBADD = $(nodist_@MODULE@_LIBADD_)
|
||||||
|
|
||||||
|
@MODULE@_la_LDFLAGS = $(nodist_@MODULE@_LDFLAGS_)
|
||||||
|
|
||||||
|
AM_CFLAGS = $(AM_CFLAGS_)
|
||||||
|
@MODULE@_la_CFLAGS = $(AM_CFLAGS_)
|
||||||
|
@MODULE@_a_CFLAGS = $(AM_CFLAGS_)
|
||||||
|
|
||||||
|
AM_CXXFLAGS = $(AM_CXXFLAGS_)
|
||||||
|
@MODULE@_la_CXXFLAGS = $(AM_CXXFLAGS_)
|
||||||
|
@MODULE@_a_CXXFLAGS = $(AM_CXXFLAGS_)
|
@ -227,15 +227,6 @@ _EOFEOF
|
|||||||
done
|
done
|
||||||
done
|
done
|
||||||
|
|
||||||
# if $need_all_target; then
|
|
||||||
# cat >> $out_tmp << \_EOFEOF
|
|
||||||
#
|
|
||||||
# all-local: $(UGLY_ALL_TARGETS)
|
|
||||||
# clean-local: $(UGLY_CLEAN_TARGETS)
|
|
||||||
#
|
|
||||||
# _EOFEOF
|
|
||||||
# fi
|
|
||||||
|
|
||||||
cat ugly/repo/bdist.mk >> $out_tmp
|
cat ugly/repo/bdist.mk >> $out_tmp
|
||||||
cat ugly/repo/ugly-post.mk >> $out_tmp
|
cat ugly/repo/ugly-post.mk >> $out_tmp
|
||||||
|
|
||||||
|
@ -19,18 +19,16 @@ UGLY_DEPS = \
|
|||||||
$(top_srcdir)/ugly/repo/ugly-post.mk \
|
$(top_srcdir)/ugly/repo/ugly-post.mk \
|
||||||
$(top_srcdir)/ugly/repo/bdist.mk
|
$(top_srcdir)/ugly/repo/bdist.mk
|
||||||
|
|
||||||
UGLY_ALL_TARGETS =
|
|
||||||
UGLY_CLEAN_TARGETS =
|
|
||||||
|
|
||||||
BUILT_SOURCES += ugly-pre-build-stamp
|
BUILT_SOURCES += ugly-pre-build-stamp
|
||||||
CLEANFILES += ugly-pre-build-stamp
|
|
||||||
UGLY_PRE_BUILD_TARGETS =
|
UGLY_PRE_BUILD_TARGETS =
|
||||||
|
UGLY_CLEAN_TARGETS =
|
||||||
ugly-pre-build-stamp: $(UGLY_PRE_BUILD_TARGETS)
|
ugly-pre-build-stamp: $(UGLY_PRE_BUILD_TARGETS)
|
||||||
echo stamp > ugly-pre-build-stamp
|
@echo stamp > ugly-pre-build-stamp
|
||||||
|
clean-local: $(UGLY_CLEAN_TARGETS)
|
||||||
|
|
||||||
UGLY_SUBDIRS =
|
UGLY_SUBDIRS =
|
||||||
UGLY_PRE_BUILD_TARGETS += ugly-subdirs-stamp
|
UGLY_PRE_BUILD_TARGETS += ugly-subdirs-stamp
|
||||||
CLEANFILES += ugly-pre-build-stamp
|
UGLY_CLEAN_TARGETS += delete-ugly-subdir-makefile
|
||||||
ugly-subdirs-stamp: $(UGLY_SUBDIRS) Makefile $(top_srcdir)/ugly/repo/ugly-subdir-Makefile
|
ugly-subdirs-stamp: $(UGLY_SUBDIRS) Makefile $(top_srcdir)/ugly/repo/ugly-subdir-Makefile
|
||||||
@if test -n "$(UGLY_SUBDIRS)"; then \
|
@if test -n "$(UGLY_SUBDIRS)"; then \
|
||||||
for d in $(UGLY_SUBDIRS); do \
|
for d in $(UGLY_SUBDIRS); do \
|
||||||
@ -38,6 +36,14 @@ ugly-subdirs-stamp: $(UGLY_SUBDIRS) Makefile $(top_srcdir)/ugly/repo/ugly-subdir
|
|||||||
cp $(top_srcdir)/ugly/repo/ugly-subdir-Makefile $$d/Makefile || exit 1; \
|
cp $(top_srcdir)/ugly/repo/ugly-subdir-Makefile $$d/Makefile || exit 1; \
|
||||||
done; \
|
done; \
|
||||||
fi
|
fi
|
||||||
echo stamp > ugly-subdirs-stamp
|
@echo stamp > ugly-subdirs-stamp
|
||||||
|
delete-ugly-subdir-makefile:
|
||||||
|
@if test -n "$(UGLY_SUBDIRS)"; then \
|
||||||
|
for d in $(UGLY_SUBDIRS); do \
|
||||||
|
rm -f $$d/Makefile || exit 1; \
|
||||||
|
done; \
|
||||||
|
fi
|
||||||
|
|
||||||
|
CLEANFILES += ugly-pre-build-stamp ugly-subdirs-stamp
|
||||||
|
|
||||||
# end ugly-pre.mk
|
# end ugly-pre.mk
|
||||||
|
Loading…
x
Reference in New Issue
Block a user