mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 19:07:45 +00:00
better lib building
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6950 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
468560431f
commit
e5ed2c26f5
@ -1,3 +1,7 @@
|
|||||||
|
2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
|
||||||
|
|
||||||
|
* configure.ac: better lib building.
|
||||||
|
|
||||||
2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
|
2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
|
||||||
|
|
||||||
* lyxinclude.m4 (LYX_USE_INCLUDED_BOOST): new m4 function
|
* lyxinclude.m4 (LYX_USE_INCLUDED_BOOST): new m4 function
|
||||||
|
@ -159,9 +159,8 @@ case "$lyx_use_frontend" in
|
|||||||
FRONTEND="xforms"
|
FRONTEND="xforms"
|
||||||
RPM_FRONTEND="xforms"
|
RPM_FRONTEND="xforms"
|
||||||
RPM_FRONTEND_DEPS='libforms >= 1.0'
|
RPM_FRONTEND_DEPS='libforms >= 1.0'
|
||||||
FRONTEND_GUILIB="xforms/*.lo xforms/forms/*.lo"
|
FRONTEND_GUILIB="frontends/xforms/libxforms.la"
|
||||||
FRONTEND_INCLUDES="-I\$(srcdir)/xforms"
|
FRONTEND_INCLUDES="-I\$(srcdir)/xforms"
|
||||||
FRONTEND_LIBS="@XFORMS_IMAGE_LIB@ @XFORMS_LIB@ @XPM_LIB@"
|
|
||||||
FRONTEND_INFO=" libXpm version: ${XPM_VERSION}\n\
|
FRONTEND_INFO=" libXpm version: ${XPM_VERSION}\n\
|
||||||
libforms version: ${XFORMS_VERSION}\n"
|
libforms version: ${XFORMS_VERSION}\n"
|
||||||
;;
|
;;
|
||||||
@ -184,10 +183,8 @@ dnl ;;
|
|||||||
RPM_FRONTEND="qt"
|
RPM_FRONTEND="qt"
|
||||||
RPM_FRONTEND_DEPS='qt >= 2.2.1'
|
RPM_FRONTEND_DEPS='qt >= 2.2.1'
|
||||||
FRONTEND="qt2"
|
FRONTEND="qt2"
|
||||||
FRONTEND_GUILIB="qt2/*.lo qt2/ui/*.lo qt2/moc/*.lo qt2/ui/moc/*.lo"
|
FRONTEND_GUILIB="frontends/qt2/libqt2.la"
|
||||||
FRONTEND_LDFLAGS="\$(QT_LDFLAGS)"
|
|
||||||
FRONTEND_INCLUDES="-I\${srcdir}/qt2 \$(QT_INCLUDES)"
|
FRONTEND_INCLUDES="-I\${srcdir}/qt2 \$(QT_INCLUDES)"
|
||||||
FRONTEND_LIBS="\$(QT_LIB)"
|
|
||||||
FRONTEND_INFO=" Qt version: ${QT_VERSION}\n"
|
FRONTEND_INFO=" Qt version: ${QT_VERSION}\n"
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
|
||||||
|
|
||||||
|
* Makefile.am: better lib building
|
||||||
|
|
||||||
2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
|
2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
|
||||||
|
|
||||||
* texrow.[Ch]: remove dependency on Paragraph and just store a id
|
* texrow.[Ch]: remove dependency on Paragraph and just store a id
|
||||||
|
@ -6,10 +6,20 @@ MAINTAINERCLEANFILES += $(srcdir)/config.h.in
|
|||||||
|
|
||||||
SUBDIRS = mathed insets graphics support frontends tex2lyx
|
SUBDIRS = mathed insets graphics support frontends tex2lyx
|
||||||
|
|
||||||
|
EXTRA_DIST = config.h.in stamp-h.in cheaders version.C.in \
|
||||||
|
Sectioning.h \
|
||||||
|
Sectioning.C \
|
||||||
|
Variables.C \
|
||||||
|
Variables.h \
|
||||||
|
tracer.C \
|
||||||
|
tracer.h
|
||||||
|
|
||||||
bin_PROGRAMS = lyx
|
bin_PROGRAMS = lyx
|
||||||
|
|
||||||
LYX_CONV_LIBS = mathed/libmathed.la insets/libinsets.la \
|
LYX_CONV_LIBS = mathed/libmathed.la insets/libinsets.la \
|
||||||
frontends/libfrontends.la \
|
frontends/libfrontends.la \
|
||||||
|
$(FRONTEND_GUILIB) \
|
||||||
|
frontends/controllers/libcontrollers.la \
|
||||||
graphics/libgraphics.la \
|
graphics/libgraphics.la \
|
||||||
support/libsupport.la
|
support/libsupport.la
|
||||||
|
|
||||||
@ -25,14 +35,6 @@ lyx_LDADD = $(LYX_CONV_LIBS) $(BOOST_LIBS) $(INTLLIBS) \
|
|||||||
|
|
||||||
#lyx_LDFLAGS=-Wl,-O1
|
#lyx_LDFLAGS=-Wl,-O1
|
||||||
|
|
||||||
EXTRA_DIST = config.h.in stamp-h.in cheaders version.C.in \
|
|
||||||
Sectioning.h \
|
|
||||||
Sectioning.C \
|
|
||||||
Variables.C \
|
|
||||||
Variables.h \
|
|
||||||
tracer.C \
|
|
||||||
tracer.h
|
|
||||||
|
|
||||||
INCLUDES = $(BOOST_INCLUDES)
|
INCLUDES = $(BOOST_INCLUDES)
|
||||||
|
|
||||||
localedir = $(datadir)/locale
|
localedir = $(datadir)/locale
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
|
||||||
|
|
||||||
|
* Makefile.am: better lib building
|
||||||
|
|
||||||
2003-05-03 John Levon <levon@movementarian.org>
|
2003-05-03 John Levon <levon@movementarian.org>
|
||||||
|
|
||||||
* screen.h:
|
* screen.h:
|
||||||
|
@ -8,11 +8,6 @@ noinst_LTLIBRARIES = libfrontends.la
|
|||||||
|
|
||||||
INCLUDES = $(FRONTEND_INCLUDES) -I$(srcdir)/.. $(BOOST_INCLUDES)
|
INCLUDES = $(FRONTEND_INCLUDES) -I$(srcdir)/.. $(BOOST_INCLUDES)
|
||||||
|
|
||||||
libfrontends_la_LDFLAGS = $(FRONTEND_LDFLAGS) $(FRONTEND_LIBS)
|
|
||||||
libfrontends_la_LIBADD = $(FRONTEND_GUILIB) controllers/*.lo
|
|
||||||
|
|
||||||
libfrontends_la_DEPENDENCIES = $(libfrontends_la_LIBADD)
|
|
||||||
|
|
||||||
libfrontends_la_SOURCES = \
|
libfrontends_la_SOURCES = \
|
||||||
Alert.C \
|
Alert.C \
|
||||||
Alert.h \
|
Alert.h \
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
|
||||||
|
|
||||||
|
* Makefile.am: better lib building
|
||||||
|
|
||||||
2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
|
2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
|
||||||
|
|
||||||
* ControlDocument.C (saveAsDefault): parlist cleanup
|
* ControlDocument.C (saveAsDefault): parlist cleanup
|
||||||
|
@ -1,12 +1,11 @@
|
|||||||
include $(top_srcdir)/config/common.am
|
include $(top_srcdir)/config/common.am
|
||||||
|
|
||||||
noinst_LTLIBRARIES = libcontrollers.la
|
|
||||||
|
|
||||||
INCLUDES = -I$(top_srcdir)/src \
|
|
||||||
$(BOOST_INCLUDES)
|
|
||||||
|
|
||||||
EXTRA_DIST = BCView.tmpl ControlDialog.tmpl
|
EXTRA_DIST = BCView.tmpl ControlDialog.tmpl
|
||||||
|
|
||||||
|
INCLUDES = -I$(top_srcdir)/src $(BOOST_INCLUDES)
|
||||||
|
|
||||||
|
noinst_LTLIBRARIES = libcontrollers.la
|
||||||
|
|
||||||
libcontrollers_la_SOURCES= \
|
libcontrollers_la_SOURCES= \
|
||||||
Dialog.C \
|
Dialog.C \
|
||||||
Dialog.h \
|
Dialog.h \
|
||||||
@ -106,5 +105,3 @@ libcontrollers_la_SOURCES= \
|
|||||||
ViewBase.C \
|
ViewBase.C \
|
||||||
helper_funcs.C \
|
helper_funcs.C \
|
||||||
helper_funcs.h
|
helper_funcs.h
|
||||||
|
|
||||||
libcontrollers.la: $(libcontrollers_la_OBJECTS) $(libcontrollers_la_DEPENDENCIES)
|
|
||||||
|
@ -1,3 +1,16 @@
|
|||||||
|
2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
|
||||||
|
|
||||||
|
* ui/moc/Makefile.am: better lib building
|
||||||
|
|
||||||
|
* ui/Makefile.am: better lib building
|
||||||
|
|
||||||
|
* moc/Makefile.am: better lib building
|
||||||
|
|
||||||
|
* QtView.h: have to include config.h so that all code see the
|
||||||
|
defines therein.
|
||||||
|
|
||||||
|
* Makefile.am: better lib building
|
||||||
|
|
||||||
2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
|
2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
|
||||||
|
|
||||||
* QDocument.C:
|
* QDocument.C:
|
||||||
|
@ -5,15 +5,16 @@ SUBDIRS = ui moc
|
|||||||
|
|
||||||
EXTRA_DIST = Makefile.dialogs
|
EXTRA_DIST = Makefile.dialogs
|
||||||
|
|
||||||
noinst_LTLIBRARIES = libqt2.la
|
|
||||||
|
|
||||||
INCLUDES = -I$(top_srcdir)/src/ -I$(top_srcdir)/src/frontends/ \
|
INCLUDES = -I$(top_srcdir)/src/ -I$(top_srcdir)/src/frontends/ \
|
||||||
-I$(top_srcdir)/images \
|
-I$(top_srcdir)/images \
|
||||||
$(FRONTEND_INCLUDES) $(BOOST_INCLUDES) \
|
$(FRONTEND_INCLUDES) $(BOOST_INCLUDES) \
|
||||||
-I$(top_srcdir)/src/frontends/controllers
|
-I$(top_srcdir)/src/frontends/controllers
|
||||||
|
|
||||||
AM_CXXFLAGS = -DQT_CLEAN_NAMESPACE -DQT_GENUINE_STR -DQT_NO_TRANSLATION
|
noinst_LTLIBRARIES = libqt2.la
|
||||||
|
|
||||||
|
libqt2_la_LDFLAGS = $(QT_LDFLAGS)
|
||||||
|
libqt2_la_LIBADD = $(QT_LIB) ui/*.lo moc/*.lo ui/moc/*.lo
|
||||||
|
AM_CXXFLAGS = -DQT_CLEAN_NAMESPACE -DQT_GENUINE_STR -DQT_NO_TRANSLATION
|
||||||
|
|
||||||
libqt2_la_SOURCES = \
|
libqt2_la_SOURCES = \
|
||||||
QDialogView.C \
|
QDialogView.C \
|
||||||
@ -76,5 +77,3 @@ libqt2_la_SOURCES = \
|
|||||||
qscreen.h qscreen.C \
|
qscreen.h qscreen.C \
|
||||||
qt_helpers.h qt_helpers.C \
|
qt_helpers.h qt_helpers.C \
|
||||||
$(MOCFILES)
|
$(MOCFILES)
|
||||||
|
|
||||||
libqt2.la: $(libqt2_la_OBJECTS) $(libqt2_la_DEPENDENCIES)
|
|
||||||
|
@ -13,6 +13,8 @@
|
|||||||
#ifndef QTVIEW_H
|
#ifndef QTVIEW_H
|
||||||
#define QTVIEW_H
|
#define QTVIEW_H
|
||||||
|
|
||||||
|
// Must be here because of moc.
|
||||||
|
#include <config.h>
|
||||||
|
|
||||||
#include "frontends/LyXView.h"
|
#include "frontends/LyXView.h"
|
||||||
|
|
||||||
|
@ -3,8 +3,6 @@ include $(srcdir)/../Makefile.dialogs
|
|||||||
|
|
||||||
DISTCLEANFILES += *.C
|
DISTCLEANFILES += *.C
|
||||||
|
|
||||||
noinst_LTLIBRARIES = libqt2moc.la
|
|
||||||
|
|
||||||
INCLUDES = -I$(top_srcdir)/src/ \
|
INCLUDES = -I$(top_srcdir)/src/ \
|
||||||
-I$(top_srcdir)/src/frontends/ \
|
-I$(top_srcdir)/src/frontends/ \
|
||||||
-I$(top_srcdir)/src/frontends/controllers \
|
-I$(top_srcdir)/src/frontends/controllers \
|
||||||
@ -14,9 +12,11 @@ INCLUDES = -I$(top_srcdir)/src/ \
|
|||||||
|
|
||||||
AM_CXXFLAGS = -DQT_CLEAN_NAMESPACE -DQT_GENUINE_STR -DQT_NO_TRANSLATION
|
AM_CXXFLAGS = -DQT_CLEAN_NAMESPACE -DQT_GENUINE_STR -DQT_NO_TRANSLATION
|
||||||
|
|
||||||
nodist_libqt2moc_la_SOURCES = $(MOCFILES:.C=_moc.C)
|
noinst_LTLIBRARIES = libqt2moc.la
|
||||||
|
|
||||||
libqt2moc.la: $(libqt2moc_la_OBJECTS) $(libqt2moc_la_DEPENDENCIES)
|
nodist_libqt2moc_la_SOURCES = $(MOCFILES:.C=_moc.C)
|
||||||
|
# The trick.
|
||||||
|
libqt2moc_la_LINK = touch libqt2moc.la
|
||||||
|
|
||||||
%_moc.C: $(srcdir)/../%.h
|
%_moc.C: $(srcdir)/../%.h
|
||||||
$(MOC) -o $@ $<
|
$(MOC) -o $@ $<
|
||||||
|
@ -1,13 +1,11 @@
|
|||||||
include $(top_srcdir)/config/common.am
|
include $(top_srcdir)/config/common.am
|
||||||
include $(srcdir)/../Makefile.dialogs
|
include $(srcdir)/../Makefile.dialogs
|
||||||
|
|
||||||
EXTRA_DIST = $(UIFILES)
|
|
||||||
|
|
||||||
DISTCLEANFILES += *.C *.h
|
DISTCLEANFILES += *.C *.h
|
||||||
|
|
||||||
SUBDIRS = . moc
|
SUBDIRS = . moc
|
||||||
|
|
||||||
noinst_LTLIBRARIES = libqt2ui.la
|
EXTRA_DIST = $(UIFILES)
|
||||||
|
|
||||||
INCLUDES = -I$(top_srcdir)/src -I$(top_srcdir)/src/frontends \
|
INCLUDES = -I$(top_srcdir)/src -I$(top_srcdir)/src/frontends \
|
||||||
-I$(top_srcdir)/src/frontends/qt2 \
|
-I$(top_srcdir)/src/frontends/qt2 \
|
||||||
@ -16,10 +14,11 @@ INCLUDES = -I$(top_srcdir)/src -I$(top_srcdir)/src/frontends \
|
|||||||
|
|
||||||
AM_CXXFLAGS = -DQT_CLEAN_NAMESPACE -DQT_GENUINE_STR -DQT_NO_TRANSLATION
|
AM_CXXFLAGS = -DQT_CLEAN_NAMESPACE -DQT_GENUINE_STR -DQT_NO_TRANSLATION
|
||||||
|
|
||||||
|
noinst_LTLIBRARIES = libqt2ui.la
|
||||||
|
|
||||||
nodist_libqt2ui_la_SOURCES = $(UIFILES:.ui=.h) $(UIFILES:.ui=.C)
|
nodist_libqt2ui_la_SOURCES = $(UIFILES:.ui=.h) $(UIFILES:.ui=.C)
|
||||||
|
# The trick.
|
||||||
libqt2ui.la: $(libqt2ui_la_OBJECTS) $(libqt2ui_la_DEPENDENCIES)
|
libqt2ui_la_LINK = touch libqt2ui.la
|
||||||
|
|
||||||
# Use _() for localization instead of tr() or trUtf8()
|
# Use _() for localization instead of tr() or trUtf8()
|
||||||
UICFLAGS=-tr qt_
|
UICFLAGS=-tr qt_
|
||||||
|
@ -3,8 +3,6 @@ include $(srcdir)/../../Makefile.dialogs
|
|||||||
|
|
||||||
DISTCLEANFILES += $(UIFILES:.ui=_moc.C)
|
DISTCLEANFILES += $(UIFILES:.ui=_moc.C)
|
||||||
|
|
||||||
noinst_LTLIBRARIES = libqt2uimoc.la
|
|
||||||
|
|
||||||
INCLUDES = -I$(top_srcdir)/src \
|
INCLUDES = -I$(top_srcdir)/src \
|
||||||
-I$(top_srcdir)/src/frontends \
|
-I$(top_srcdir)/src/frontends \
|
||||||
-I$(top_srcdir)/src/frontends/controllers \
|
-I$(top_srcdir)/src/frontends/controllers \
|
||||||
@ -13,9 +11,11 @@ INCLUDES = -I$(top_srcdir)/src \
|
|||||||
|
|
||||||
AM_CXXFLAGS = -DQT_CLEAN_NAMESPACE -DQT_GENUINE_STR -DQT_NO_TRANSLATION
|
AM_CXXFLAGS = -DQT_CLEAN_NAMESPACE -DQT_GENUINE_STR -DQT_NO_TRANSLATION
|
||||||
|
|
||||||
nodist_libqt2uimoc_la_SOURCES = $(UIFILES:.ui=_moc.C)
|
noinst_LTLIBRARIES = libqt2uimoc.la
|
||||||
|
|
||||||
libqt2uimoc.la: $(libqt2uimoc_la_OBJECTS) $(libqt2uimoc_la_DEPENDENCIES)
|
nodist_libqt2uimoc_la_SOURCES = $(UIFILES:.ui=_moc.C)
|
||||||
|
# The trick.
|
||||||
|
libqt2uimoc_la_LINK = touch libqt2uimoc.la
|
||||||
|
|
||||||
%_moc.C: ../%.h
|
%_moc.C: ../%.h
|
||||||
$(MOC) -o $@ $<
|
$(MOC) -o $@ $<
|
||||||
|
@ -1,3 +1,13 @@
|
|||||||
|
2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
|
||||||
|
|
||||||
|
* Makefile.am: better lib building
|
||||||
|
|
||||||
|
* forms/.cvsignore: add libfdesign.la
|
||||||
|
|
||||||
|
* Toolbar_pimpl.C (displayToolbar): move out-of-line
|
||||||
|
|
||||||
|
* Makefile.am: better lib building
|
||||||
|
|
||||||
2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
|
2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
|
||||||
|
|
||||||
* FormDocument.C: Handle document classes with missing TeX class
|
* FormDocument.C: Handle document classes with missing TeX class
|
||||||
|
@ -1,13 +1,15 @@
|
|||||||
include $(top_srcdir)/config/common.am
|
include $(top_srcdir)/config/common.am
|
||||||
|
|
||||||
noinst_LTLIBRARIES = libxforms.la
|
SUBDIRS = forms
|
||||||
|
|
||||||
INCLUDES = -I$(top_srcdir)/images -I$(top_srcdir)/src \
|
INCLUDES = -I$(top_srcdir)/images -I$(top_srcdir)/src \
|
||||||
-I$(top_srcdir)/src/frontends \
|
-I$(top_srcdir)/src/frontends \
|
||||||
-I$(top_srcdir)/src/frontends/controllers \
|
-I$(top_srcdir)/src/frontends/controllers \
|
||||||
$(BOOST_INCLUDES)
|
$(BOOST_INCLUDES)
|
||||||
|
|
||||||
SUBDIRS = forms
|
noinst_LTLIBRARIES = libxforms.la
|
||||||
|
|
||||||
|
libxforms_la_LIBADD = @XFORMS_IMAGE_LIB@ @XFORMS_LIB@ @XPM_LIB@ forms/*.lo
|
||||||
|
|
||||||
# Alphabetical order please. It makes it easier to figure out what's missing.
|
# Alphabetical order please. It makes it easier to figure out what's missing.
|
||||||
libxforms_la_SOURCES = \
|
libxforms_la_SOURCES = \
|
||||||
@ -162,5 +164,3 @@ libxforms_la_SOURCES = \
|
|||||||
XPainter.h \
|
XPainter.h \
|
||||||
XWorkArea.h \
|
XWorkArea.h \
|
||||||
XWorkArea.C
|
XWorkArea.C
|
||||||
|
|
||||||
libxforms.la: $(libxforms_la_OBJECTS) $(libxforms_la_DEPENDENCIES)
|
|
||||||
|
@ -57,6 +57,13 @@ Toolbar::Pimpl::toolbarItem::~toolbarItem()
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/// Display toolbar, not implemented. But moved out of line so that
|
||||||
|
/// linking will work properly.
|
||||||
|
void Toolbar::Pimpl::displayToolbar(ToolbarBackend::Toolbar const & tb,
|
||||||
|
bool show)
|
||||||
|
{}
|
||||||
|
|
||||||
|
|
||||||
void Toolbar::Pimpl::toolbarItem::kill_icon()
|
void Toolbar::Pimpl::toolbarItem::kill_icon()
|
||||||
{
|
{
|
||||||
if (icon) {
|
if (icon) {
|
||||||
|
@ -39,7 +39,7 @@ public:
|
|||||||
void add(int action, string const & tooltip);
|
void add(int action, string const & tooltip);
|
||||||
|
|
||||||
/// display toolbar, not implemented
|
/// display toolbar, not implemented
|
||||||
void displayToolbar(ToolbarBackend::Toolbar const & tb, bool show) {}
|
void displayToolbar(ToolbarBackend::Toolbar const & tb, bool show);
|
||||||
|
|
||||||
/// update the state of the icons
|
/// update the state of the icons
|
||||||
void update();
|
void update();
|
||||||
|
@ -6,3 +6,4 @@ Makefile
|
|||||||
*.tmp
|
*.tmp
|
||||||
*.lo
|
*.lo
|
||||||
.deps
|
.deps
|
||||||
|
libfdesign.la
|
||||||
|
@ -1,12 +1,14 @@
|
|||||||
include $(top_srcdir)/config/common.am
|
include $(top_srcdir)/config/common.am
|
||||||
|
|
||||||
|
MAINTAINERCLEANFILES += *.C *.h *.c
|
||||||
|
|
||||||
EXTRA_DIST = fdfixc.sed fdfixh.sed fdfix.sh README $(SRCS)
|
EXTRA_DIST = fdfixc.sed fdfixh.sed fdfix.sh README $(SRCS)
|
||||||
|
|
||||||
noinst_LTLIBRARIES = libfdesign.la
|
|
||||||
|
|
||||||
# For (forms_fwd.h, forms_gettext.h) and LString.h, respectively.
|
# For (forms_fwd.h, forms_gettext.h) and LString.h, respectively.
|
||||||
INCLUDES = -I$(srcdir)/.. -I$(top_srcdir)/src
|
INCLUDES = -I$(srcdir)/.. -I$(top_srcdir)/src
|
||||||
|
|
||||||
|
noinst_LTLIBRARIES = libfdesign.la
|
||||||
|
|
||||||
SRCS = form_aboutlyx.fd \
|
SRCS = form_aboutlyx.fd \
|
||||||
form_bibitem.fd \
|
form_bibitem.fd \
|
||||||
form_bibtex.fd \
|
form_bibtex.fd \
|
||||||
@ -46,9 +48,11 @@ SRCS = form_aboutlyx.fd \
|
|||||||
form_url.fd \
|
form_url.fd \
|
||||||
form_wrap.fd
|
form_wrap.fd
|
||||||
|
|
||||||
MAINTAINERCLEANFILES += *.C *.h *.c
|
nodist_libfdesign_la_SOURCES = $(SRCS:.fd=.C) $(SRCS:.fd=.h)
|
||||||
|
# This is a trick so that the actual .la file never gets build,
|
||||||
libfdesign_la_SOURCES = $(SRCS:.fd=.C) $(SRCS:.fd=.h)
|
# so we do not need to use diskspace and time for it.
|
||||||
|
# It is only getting linked into libxforms.la any way.
|
||||||
|
libfdesign_la_LINK = touch libfdesign.la
|
||||||
|
|
||||||
# These are used to generate the .[Ch] files from the .fd ones.
|
# These are used to generate the .[Ch] files from the .fd ones.
|
||||||
SHELL = /bin/sh
|
SHELL = /bin/sh
|
||||||
@ -58,7 +62,5 @@ SUFFIXES = .fd
|
|||||||
# Make the .Ch files dependent on the fdfix files.
|
# Make the .Ch files dependent on the fdfix files.
|
||||||
$(libfdesign_la_SOURCES): $(srcdir)/fdfix.sh $(srcdir)/fdfix[ch].sed
|
$(libfdesign_la_SOURCES): $(srcdir)/fdfix.sh $(srcdir)/fdfix[ch].sed
|
||||||
|
|
||||||
libfdesign.la: $(libfdesign_la_OBJECTS) $(libfdesign_la_DEPENDENCIES)
|
|
||||||
|
|
||||||
%.C: %.fd
|
%.C: %.fd
|
||||||
$(SHELL) $(SCRIPT) $<
|
$(SHELL) $(SCRIPT) $<
|
||||||
|
Loading…
Reference in New Issue
Block a user