2009-06-30 23:28:48 +00:00
|
|
|
include $(top_srcdir)/config/common.am
|
|
|
|
|
|
|
|
.c.o:
|
2009-08-19 14:59:21 +00:00
|
|
|
$(CC) -I$(top_builddir) $< -O2 -c -o $@
|
2009-06-30 23:28:48 +00:00
|
|
|
|
|
|
|
.rc.o:
|
|
|
|
cp $(top_srcdir)/development/Win32/packaging/icons/lyx_*32x32.ico .
|
|
|
|
windres -I$(top_builddir) --preprocessor "$(CPP) -xc-header -DRC_INVOKED" $< -o $@
|
|
|
|
|
|
|
|
bin_PROGRAMS = lyxeditor lyxwin
|
|
|
|
bin_SCRIPTS = lyxeditor.sh
|
2010-06-17 10:32:11 +00:00
|
|
|
|
|
|
|
lyxdistdir = $(pkgdatadir)
|
|
|
|
dist_lyxdist_DATA = lyxprofile lyxrc.dist
|
2009-06-30 23:28:48 +00:00
|
|
|
|
|
|
|
lyxeditor_SOURCES = lyxeditor.c
|
|
|
|
lyxwin_SOURCES = lyxwin.c lyxwinres.rc
|
|
|
|
|
2009-08-19 14:59:21 +00:00
|
|
|
lyxeditor_LDFLAGS=-mwindows -e _mainCRTStartup
|
|
|
|
lyxwin_LDFLAGS=-mwindows -e _mainCRTStartup
|
|
|
|
|
2015-09-25 08:58:17 +00:00
|
|
|
CLEANFILES = lyxeditor.sh lyx_32x32.ico lyx_doc_32x32.ico
|
2009-06-30 23:28:48 +00:00
|
|
|
|
|
|
|
lyxeditor.sh:
|
|
|
|
cp $(top_srcdir)/development/tools/lyxeditor $@
|