Do not use libmoo_la_DEPENDENCIES, it breaks automake stuff

This commit is contained in:
Yevgen Muntyan 2006-11-23 13:10:48 -06:00
parent cf459dc7fe
commit 738113afea

View File

@ -47,7 +47,7 @@ DIST_SUBDIRS = mooutils mooterm mooedit mooapp moopython mooscript moofileview
lib_LTLIBRARIES =
noinst_LTLIBRARIES =
libmoo_la_DEPENDENCIES =
BUILT_SOURCES =
if MOO_INSTALL_LIB
lib_LTLIBRARIES += libmoo.la
@ -58,14 +58,14 @@ endif
if MOO_OS_MINGW
CLEANFILES += libmoo.res
libmoo_res_ldflag = -Wl,libmoo.res
libmoo_la_DEPENDENCIES += libmoo.res
BUILT_SOURCES += libmoo.res
libmoo.res: libmoo.rc
$(WINDRES) -i libmoo.rc --input-format=rc -o libmoo.res -O coff
endif
libmoo_la_LIBADD = $(libs) $(MOO_LIBS)
# libmoo_la_LDFLAGS = $(PYTHON_EXTRA_LDFLAGS) $(libmoo_res_ldflag) -no-undefined -avoid-version -export-symbols-regex "^(moo_|ms_).*"
libmoo_la_LDFLAGS = $(PYTHON_EXTRA_LDFLAGS) $(libmoo_res_ldflag) -no-undefined -avoid-version -export-symbols-regex ".*"
libmoo_la_LDFLAGS = $(PYTHON_EXTRA_LDFLAGS) $(libmoo_res_ldflag) -no-undefined -avoid-version -export-symbols-regex "^(moo_|ms_).*"
# libmoo_la_LDFLAGS = $(PYTHON_EXTRA_LDFLAGS) $(libmoo_res_ldflag) -no-undefined -avoid-version -export-symbols-regex ".*"
libmoo_la_SOURCES = $(moo_include_headers)
moo_la_ldflags = -no-undefined -module -avoid-version -export-symbols-regex initmoo
@ -97,7 +97,7 @@ else !MOO_OS_UNIX
if MOO_USE_PYGTK
CLEANFILES += pymoo25.res moo25.res pymoo24.res moo24.res
libmoo_la_DEPENDENCIES += pymoo25.res moo25.res pymoo24.res moo24.res
BUILT_SOURCES += pymoo25.res moo25.res pymoo24.res moo24.res
pymoo25.res: pymoo25.rc
$(WINDRES) -i pymoo25.rc --input-format=rc -o pymoo25.res -O coff
moo25.res: moo25.rc