-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added Makefile.am for Py-ChemShell plugin
- Loading branch information
Showing
2 changed files
with
36 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# Set plugin installation dir and define plugin targets | ||
pluginexecdir = @ATEN_PLUGINLIBDIR@ | ||
pluginexec_LTLIBRARIES = chemshelltool.la | ||
|
||
SUFFIXES: .ui .hui .qrc | ||
|
||
.ui.lo: | ||
$(QTUIC) -o ui_$*.h $< | ||
$(QTMOC) -o moc_$*.cpp $*.h | ||
${LIBTOOL} --tag=CXX --mode=compile ${CXX} -I$(top_srcdir)/src -I../ -I./ ${AM_CPPFLAGS} -c moc_$*.cpp -o $@ | ||
rm moc_$*.cpp | ||
|
||
.hui.lo: | ||
${QTMOC} -o $*.cpp -I../../ @ATEN_INCLUDES@ $< | ||
${LIBTOOL} --tag=CXX --mode=compile $(CXX) -I$(top_srcdir)/src -I../ -I./ ${AM_CPPFLAGS} -c $*.cpp -o $@ | ||
rm $*.cpp | ||
|
||
.qrc.lo: | ||
$(QTRCC) -o $*.cpp -name $* $< | ||
${LIBTOOL} --tag=CXX --mode=compile $(CXX) -I$(top_srcdir)/src -I../ -I./ ${AM_CPPFLAGS} -c -o $@ $*.cpp | ||
rm $*.cpp | ||
|
||
# Local clean (temporary files generated from rules) | ||
clean-local: | ||
-rm -f chemshelltool.cpp chemshelltool_icons.cpp ui_* | ||
|
||
# SP Rings Tool Plugin | ||
chemshelltool_la_SOURCES = chemshelltool_icons.qrc chemshelltooldialog.ui chemshelltooldialog_funcs.cpp chemshelltool_funcs.cpp chemshelltool.hui | ||
chemshelltool_la_LDFLAGS = -module -shared -avoid-version | ||
|
||
AM_CPPFLAGS = -I${top_srcdir}/src @ATEN_INCLUDES@ @ATEN_CFLAGS@ | ||
|
||
noinst_HEADERS = chemshelltooldialog.h | ||
|
||
EXTRA_DIST = icon.svg |