AUTOMAKE_OPTIONS = gnu subdir-objects ACLOCAL_AMFLAGS = ${ACLOCAL_FLAGS} MOC = ${MOCDIR}/${MOCNAME} #AM_CXXFLAGS= -Wall -pedantic -Wextra -fno-strength-reduce #AM_CXXFLAGS = -m32 AM_CXXFLAGS = -I$(top_srcdir)/src/global -I${QTDIR}/include/qt4 -pedantic -Wall -Wextra -DQT3_SUPPORT AM_LDFLAGS= -fPIC -L$(QTDIR)/lib -lQtCore -lQtGui -lQt3Support EXTRA_DIST = \ doc/examples \ doc/install \ doc/html-old \ doc/installQT.html \ doc/InstallVLP.html \ doc/INSTALL_VLP.pdf \ doc/CodingStyle \ doc/vlp.cfg.sample # bin/loggraph \ # bin/loghelp bin_PROGRAMS = \ bin/lognet \ bin/logker \ bin/logint \ bin/logedit \ bin/lgconfig \ bin/logcomp BUILT_SOURCES = \ src/graph/loggraph.moc \ src/net/lognet.moc.cpp \ src/kernel/kernel.moc.cpp \ src/edit/editor.moc.cpp \ src/lgconfig/lgconfig.moc \ src/preproc/prep.moc.cpp \ src/help/help.moc bin_loggraph_SOURCES = src/graph/loggraph.cpp src/graph/loggraph.moc bin_loggraph_CPPFLAGS = $(bin_loggraph_CFLAGS) bin_loggraph_LDADD = $(bin_loggraph_LIBS) src/graph/loggraph.moc: $(MOC) -i src/graph/loggraph.cpp -o src/graph/loggraph.moc clean-loggraph-extra: rm -f src/graph/*.moc.cpp rm -f bin/modules/loggraph rm -f bin/loggraph bin_lognet_SOURCES = src/net/lognet.cpp src/net/lognet.moc.cpp bin_lognet_CPPFLAGS = $(bin_lognet_CFLAGS) bin_lognet_LDADD = $(bin_lognet_LIBS) -lconfig++ bin_lognetdir = src/net bin_lognet_HEADERS = \ src/net/soct.h src/net/lognet.moc.cpp: $(MOC) -i src/net/lognet.cpp -o src/net/lognet.moc.cpp clean-lognet-extra: rm -f src/net/*.moc.cpp rm -f bin/modules/lognet rm -f bin/lognet bin_logker_SOURCES = \ src/kernel/kernel.cpp \ src/kernel/kernel.moc.cpp \ src/kernel/lock.cpp \ src/kernel/options.cpp \ src/kernel/options.moc.cpp bin_logker_CPPFLAGS = $(bin_logker_CFLAGS) bin_logker_LDADD = $(bin_logker_LIBS) -lconfig++ -lX11 bin_logkerdir = src/kernel bin_logker_HEADERS = \ src/kernel/kernel.h \ src/kernel/lock.h \ src/kernel/options.h src/kernel/kernel.moc.cpp: src/kernel/kernel.h src/kernel/kernelwindow.h src/kernel/lock_dialog.h src/kernel/optionsdialog.h moc-qt4 src/kernel/kernel.h -o src/kernel/kernel.moc.cpp moc-qt4 src/kernel/options.h -o src/kernel/options.moc.cpp # $(MOC) -i src/kernel/kernel.cpp -o src/kernel/kernel.moc src/kernel/kernelwindow.h: uic src/kernel/kernelwindow.ui -o src/kernel/kernelwindow.h src/kernel/lock_dialog.h: uic src/kernel/lock_dialog.ui -o src/kernel/lock_dialog.h src/kernel/optionsdialog.h: uic src/kernel/optionsdialog.ui -o src/kernel/optionsdialog.h clean-logker-extra: rm -f src/kernel/*.moc rm -f src/kernel/*.moc.cpp rm -f src/kernel/kernelwindow.h rm -f src/kernel/lock_dialog.h rm -f src/kernel/optionsdialog.h rm -f bin/logker bin_logint_SOURCES = \ src/int/cint.c \ src/int/compact.c \ src/int/control.c \ src/int/util.c \ src/int/handler.c \ src/int/intdt.c \ src/int/memory.c \ src/int/object.c \ src/int/runsys.c \ src/int/standard.c \ src/int/execute.c \ src/int/fileio.c \ src/int/nonstand.c \ src/int/process.c \ src/int/procaddr.c \ src/int/queue.c \ src/int/rpcall.c \ src/int/typchk.c # TODO: logint is compiled using gcc instead of g++, for some reason it losts -I./src/global directive # force adding it. bin_logint_CPPFLAGS = $(bin_logint_CFLAGS) -DUNIX -DWORD_32BIT -DUSE_CLOCK -Dpascal= -DOBJECTADDR -DSYSV -I$(top_srcdir)/src/global -I/usr/include/qt3 bin_logint_LDADD = $(bin_logint_LIBS) -lm # -lqt-mt bin_logintdir = src/int bin_logint_HEADERS = \ src/int/genint.h \ src/int/int.h \ src/int/intproto.h \ src/int/nonstand.h \ src/int/process.h \ src/int/queue.h \ src/int/depend.h \ src/int/eventque.h \ src/global/comm.h \ src/global/genint1.h \ src/global/socu.h clean-logint-extra: rm -f bin/logint bin_logedit_SOURCES = src/edit/editor.cpp src/edit/editor.moc.cpp bin_logedit_CPPFLAGS = $(bin_logedit_CFLAGS) bin_logedit_LDADD = $(bin_logedit_LIBS) bin_logeditdir = src/edit bin_logedit_HEADERS =\ src/edit/editor.h src/edit/editor.moc.cpp: src/edit/editor.h moc-qt4 src/edit/editor.h -o src/edit/editor.moc.cpp # $(MOC) src/edit/editor.h -o src/edit/editor.moc.cpp clean-logedit-extra: rm -f src/edit/*.moc.cpp rm -f bin/modules/logedit rm -f bin/logedit bin_lgconfig_SOURCES = src/lgconfig/lgconfig.cpp src/lgconfig/lgconfig.moc bin_lgconfig_CPPFLAGS = $(bin_lgconfig_CFLAGS) bin_lgconfig_LDADD = $(bin_lgconfig_LIBS) -lconfig++ src/lgconfig/lgconfig.moc: $(MOC) -i src/lgconfig/lgconfig.cpp -o src/lgconfig/lgconfig.moc clean-lgconfig-extra: rm -f src/lgconfig/*.moc rm -f bin/lgconfig bin_logcomp_SOURCES = src/preproc/prep.cpp src/preproc/prep.moc.cpp bin_logcomp_CPPFLAGS = $(bin_logcomp_CFLAGS) bin_logcomp_LDADD = $(bin_logcomp_LIBS) src/preproc/prep.moc.cpp: src/preproc/prep.cpp $(MOC) src/preproc/prep.cpp -o src/preproc/prep.moc.cpp clean-logcomp-extra: rm -f src/preproc/*.moc rm -f bin/logcomp bin_loghelp_SOURCES = src/help/help.cpp src/help/help.moc bin_loghelp_CPPFLAGS = $(bin_loghelp_CFLAGS) bin_loghelp_LDADD = $(bin_loghelp_LIBS) src/help/help.moc: $(MOC) -i src/help/help.cpp -o src/help/help.moc clean-loghelp-extra: rm -f src/help/*.moc rm -f bin/modules/loghelp rm -f bin/loghelp all-local: doxyfile.stamp test -d bin/doc || mkdir bin/doc test -d bin/pics || mkdir bin/pics test -d bin/modules || mkdir bin/modules test -d bin/config || mkdir bin/config test -d bin/compile || mkdir bin/compile test -d bin/doc/lang || mkdir bin/doc/lang test -d bin/examp || mkdir bin/examp ln -fs ../logedit bin/modules/ ln -fs ../loggraph bin/modules/ ln -fs ../loghelp bin/modules/ ln -fs ../lognet bin/modules/ ln -fs ../logint bin/modules/ ln -fs ../logcomp bin/compile/ ln -fs ../lgconfig bin/config/ ln -fs ../../doc/install/inst/loglan bin/compile/ ln -fs ../../doc/install/inst/gen bin/compile/ cp doc/vlp.cfg.sample bin/vlp.cfg cp -r doc/examples/* bin/examp/ cp doc/install/inst/close.bmp bin/pics/ cp doc/install/inst/logo.bmp bin/config/ clean-am: \ clean-loggraph-extra \ clean-lognet-extra \ clean-logker-extra \ clean-logint-extra \ clean-logedit-extra \ clean-lgconfig-extra \ clean-logcomp-extra \ clean-loghelp-extra rm -rf bin/doc rm -rf bin/pics rm -rf bin/modules rm -rf bin/config rm -rf bin/compile rm -rf bin/examp rm -f bin/vlp.cfg CLEANFILES = \ %.o \ %.bak \ %~ \ doxyfile.stamp if HAVE_DOXYGEN directory = $(top_srcdir)/doc/man/man3 #dist_man_MANS = \ # $(directory)/Editor.3 \ # $(directory)/QKernel.3 #$(directory)/man_page_1.3: doxyfile.stamp #$(directory)/man_page_2.3: doxyfile.stamp doxyfile.stamp: $(DOXYGEN) Doxyfile echo Timestamp > doxyfile.stamp #all-local: doxyfile.stamp clean-local: rm -rf $(top_srcdir)/doc/man endif dist_noinst_SCRIPTS = autogen.sh