mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 02:49:46 +00:00
e85790c3a3
packagers may forget to do it in post-install scripts. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34682 a592a061-630c-0410-9148-cb99ea01b6c8
26 lines
666 B
Makefile
26 lines
666 B
Makefile
include $(top_srcdir)/config/common.am
|
|
|
|
.c.o:
|
|
$(CC) -I$(top_builddir) $< -O2 -c -o $@
|
|
|
|
.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
|
|
|
|
lyxdistdir = $(pkgdatadir)
|
|
dist_lyxdist_DATA = lyxprofile lyxrc.dist
|
|
|
|
lyxeditor_SOURCES = lyxeditor.c
|
|
lyxwin_SOURCES = lyxwin.c lyxwinres.rc
|
|
|
|
lyxeditor_LDFLAGS=-mwindows -e _mainCRTStartup
|
|
lyxwin_LDFLAGS=-mwindows -e _mainCRTStartup
|
|
|
|
CLEANFILES += lyxeditor.sh lyx_32x32.ico lyx_doc_32x32.ico
|
|
|
|
lyxeditor.sh:
|
|
cp $(top_srcdir)/development/tools/lyxeditor $@
|