Improve/Fix pch a bit

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8964 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Lars Gullik Bjønnes 2004-08-29 23:52:48 +00:00
parent 9ad5ecd2c6
commit c5186dcb4d
5 changed files with 15 additions and 7 deletions

View File

@ -1,3 +1,7 @@
2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
* common.am: improve pch handling a tiny bit
2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
* lyxinclude.m4 (lyx_pch_comp,LYX_BUILD_PCH): set this for

View File

@ -11,10 +11,10 @@ AM_INSTALL_DATA_FLAGS = $(INSTALL) -m 644 -D
AM_ETAGSFLAGS = --lang=c++
if LYX_BUILD_PCH
PCH_FLAGS = -Winvalid-pch --include=pch.h
PCH_FLAGS = -Winvalid-pch --include=./pch.h
PCH_FILE = ./pch.h.gch
PCH_SOURCE = ./pch.h
sinclude pch.h.gch.dep
sinclude ./pch.h.gch.dep
*.C *.cpp: $(PCH_FILE)

View File

@ -1,3 +1,9 @@
2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
* forms/pch.h: make it better
* forms/Makefile.am (DISTCLEANFILES): only delete files we generated
2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
* pch.h: new file

View File

@ -1,6 +1,6 @@
include $(top_srcdir)/config/common.am
DISTCLEANFILES += *.C *.h *.c
DISTCLEANFILES += $(SRCS:.fd=.C) $(SRCS:.fd=.h) $(SRCS:.fd=.c)
EXTRA_DIST = fdfixc.sed fdfixh.sed fdfix.sh tmp_str.sed README $(SRCS)

View File

@ -1,10 +1,8 @@
#include <config.h>
#include "bmtable.h"
#include "combox.h"
#include "lyx_forms.h"
#include "fdesign_base.h"
#include "forms_gettext.h"
#include "gettext.h"
#include "../lyx_forms.h"
#include <stdlib.h>