2010-08-30 22:19:58 -07:00
|
|
|
bin_PROGRAMS = medit
|
|
|
|
|
|
|
|
# if MOO_ENABLE_UNIT_TESTS
|
|
|
|
# AM_CFLAGS += -DSRCDIR="${CMAKE_SOURCE_DIR}/medit")
|
|
|
|
# endif
|
|
|
|
|
2010-09-03 21:36:32 -07:00
|
|
|
medit_SOURCES = \
|
|
|
|
medit-app/mem-debug.h \
|
|
|
|
medit-app/run-tests.h \
|
|
|
|
medit-app/parse.h \
|
|
|
|
medit-app/main.c \
|
|
|
|
$(moo_sources) \
|
|
|
|
$(plugins_sources)
|
2010-08-30 22:19:58 -07:00
|
|
|
|
2010-09-03 21:36:32 -07:00
|
|
|
nodist_EXTRA_medit_SOURCES = \
|
2010-08-30 22:19:58 -07:00
|
|
|
dummy.cpp
|
|
|
|
|
2010-09-03 21:36:32 -07:00
|
|
|
medit_LDADD = $(MOO_LIBS) $(moo_libadd)
|
|
|
|
|
|
|
|
nodist_medit_SOURCES = \
|
|
|
|
$(built_moo_sources) \
|
|
|
|
$(built_plugins_sources)
|
|
|
|
|
|
|
|
BUILT_SOURCES += \
|
|
|
|
$(built_moo_sources) \
|
|
|
|
$(built_plugins_sources)
|
|
|
|
|
|
|
|
CLEANFILES += \
|
|
|
|
$(built_moo_sources) \
|
|
|
|
$(built_plugins_sources)
|
2010-09-03 19:31:40 -07:00
|
|
|
|
2010-08-30 22:19:58 -07:00
|
|
|
medit_LDFLAGS =
|
|
|
|
if MOO_OS_WIN32
|
|
|
|
medit_LDFLAGS += -mwindows
|
|
|
|
endif
|
|
|
|
|
2010-09-03 21:36:32 -07:00
|
|
|
EXTRA_DIST += medit-app/medit.desktop.in
|
2010-08-31 00:19:05 -07:00
|
|
|
# desktopdir = $(datadir)/applications
|
|
|
|
# desktop_DATA = medit.desktop.in
|
|
|
|
|
2010-08-30 22:19:58 -07:00
|
|
|
# MOO_WIN32_RESOURCE(medit.rc.in medit MEDIT_SOURCES medit_libs)
|
|
|
|
|
|
|
|
# if !MOO_ENABLE_UNIT_TESTS
|
|
|
|
# MEDIT_WIN32 = Win32
|
|
|
|
# endif
|
|
|
|
# SET(MEDIT_WIN32 WIN32)
|
|
|
|
# ENDIF(NOT MOO_ENABLE_UNIT_TESTS)
|
|
|
|
|
|
|
|
# ADD_EXECUTABLE(medit ${MEDIT_WIN32} ${MEDIT_SOURCES})
|
|
|
|
# TARGET_LINK_LIBRARIES(medit ${medit_libs} ${MOO_DEP_LIBS})
|
|
|
|
# INSTALL(TARGETS medit DESTINATION ${BINDIR})
|
|
|
|
|
|
|
|
# IF(MOO_ENABLE_PYTHON)
|
|
|
|
# ADD_DEPENDENCIES(medit python-plugins-ini)
|
|
|
|
# ENDIF(MOO_ENABLE_PYTHON)
|
|
|
|
|
|
|
|
# FIND_PACKAGE(MooDesktopFile)
|
|
|
|
# MOO_INSTALL_DESKTOP_FILE(medit.desktop.in)
|
|
|
|
#
|
|
|
|
# IF(MOO_OS_UNIX)
|
|
|
|
# SET(PIXMAPS_DIR "${DATADIR}/pixmaps")
|
|
|
|
# SET(ICONTHEME_DIR "${DATADIR}/icons/hicolor/48x48/apps")
|
|
|
|
# SET(MEDIT_ICONS "${CMAKE_SOURCE_DIR}/moo/mooutils/pixmaps/medit.png")
|
|
|
|
# INSTALL(FILES ${MEDIT_ICONS} DESTINATION "${PIXMAPS_DIR}")
|
|
|
|
# INSTALL(FILES ${MEDIT_ICONS} DESTINATION "${ICONTHEME_DIR}")
|
|
|
|
# ENDIF(MOO_OS_UNIX)
|