]> git.lyx.org Git - lyx.git/blobdiff - development/cygwin/Makefile.am
Use utf8 as inputenc for documentation, examples, and templates.
[lyx.git] / development / cygwin / Makefile.am
index 5e9e22e933d5c787350fbda4e11256134a8e7856..78358c5e9d8f1d4e22cc6af0498c071502460df6 100644 (file)
@@ -1,7 +1,7 @@
 include $(top_srcdir)/config/common.am
 
 .c.o:
-       $(CC) -I$(top_builddir) $< -O2 -c -o $@ -mwindows -e _mainCRTStartup
+       $(CC) -I$(top_builddir) $< -O2 -c -o $@
 
 .rc.o:
        cp $(top_srcdir)/development/Win32/packaging/icons/lyx_*32x32.ico .
@@ -9,12 +9,17 @@ include $(top_srcdir)/config/common.am
 
 bin_PROGRAMS = lyxeditor lyxwin
 bin_SCRIPTS = lyxeditor.sh
-dist_noinst_DATA = lyxprofile
+
+lyxdistdir = $(pkgdatadir)
+dist_lyxdist_DATA = lyxprofile lyxrc.dist
 
 lyxeditor_SOURCES = lyxeditor.c
 lyxwin_SOURCES = lyxwin.c lyxwinres.rc
 
-CLEANFILES += lyxeditor.sh lyx_32x32.ico lyx_doc_32x32.ico
+lyxeditor_LDFLAGS=-mwindows
+lyxwin_LDFLAGS=-mwindows
+
+CLEANFILES = lyxeditor.sh lyx_32x32.ico lyx_doc_32x32.ico
 
 lyxeditor.sh:
        cp $(top_srcdir)/development/tools/lyxeditor $@