File: Makefile.am

package info (click to toggle)
lyx 2.5.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 138,444 kB
  • sloc: cpp: 244,268; ansic: 106,398; xml: 72,791; python: 39,384; sh: 7,666; makefile: 6,584; pascal: 2,143; perl: 2,101; objc: 1,084; tcl: 163; sed: 16
file content (25 lines) | stat: -rw-r--r-- 692 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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="$(CC)" --preprocessor-arg="-E" --preprocessor-arg="-xc-header" --preprocessor-arg="-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
lyxwin_LDFLAGS=-mwindows

CLEANFILES = lyxeditor.sh lyx_32x32.ico lyx_doc_32x32.ico

lyxeditor.sh:
	cp $(top_srcdir)/development/tools/lyxeditor $@