source: data/icons/Makefile.am@ 13e5be

stable v1.7.0
Last change on this file since 13e5be was 454b555, checked in by Frederik Heber <frederik.heber@…>, 4 months ago

Improved includes for Qt classes.

  • QT_CFLAGS needs to be set in certain cases. The include folder QtCore is required additionally due to qopenglfunctions.h. However, other includes in our repo are now appended by either QtCore/ or QtGui/.
  • Property mode set to 100644
File size: 698 bytes
RevLine 
[d5307b]1AM_CPPFLAGS = ${QT_CFLAGS}
2
3EXTRA_DIST = \
4 icons.qrc \
[592d42]5 icon_domain.png \
6 icon_dreiBein.png \
[d5307b]7 icon_select_atom.png \
8 icon_select_molecule.png \
[c792e0]9 icon_view_stereo.png \
[7f39de]10 molecuilder_logo.png \
[c792e0]11 molecuildergui_logo.png
[5b991a]12
[1b84b8]13if CONDQTGUI
[5b991a]14qrc_%.cpp qrc_%.d: %.qrc
15 echo "Compiling qrc files ..."
16 ${QT_RCC} $< -name $* -o qrc_$*.cpp
17 echo "$*.qrc:" >qrc_$*.d
18 grep "<file" $< | sed -e "s#.*<file.*>\(.*\)</file>#\t\1#" >>qrc_$*.d
19
[d5307b]20noinst_LTLIBRARIES = libicons.la
[d203d1e]21nodist_libicons_la_SOURCES = qrc_icons.cpp
[5b991a]22
[454b555]23libicons_la_includedir = $(includedir)/MoleCuilder/
24libicons_la_CPPFLAGS = $(AM_CPPFLAGS)
25libicons_la_LDFLAGS = $(AM_LDFLAGS)
26
[d5307b]27sinclude qrc_icons.d
28CLEANFILES = qrc_icons.cpp qrc_icons.d
[503c02]29endif
Note: See TracBrowser for help on using the repository browser.