mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
DtWidget: make it build, change include/cppfile.inc a bit
cppfile.inc - don't set BUIT_SOURCES or CLEANFILES here as they overwrite (or in case of the CLEANFILES +=...) ignore the settings. Do those in the Makefile.am always. We still need a better way to preprocess generic files. cppfile.inc will only work for one file per Makefile...
This commit is contained in:
parent
1079ffa240
commit
61ab4a5b95
3 changed files with 9 additions and 10 deletions
|
@ -1,6 +1,3 @@
|
|||
BUILT_SOURCES = $(CPPTARGET)
|
||||
CLEANFILES += $(CPPTARGET)
|
||||
|
||||
|
||||
$(CPPTARGET): Makefile $(CPPSRC)
|
||||
$(RM) $@
|
||||
|
|
|
@ -2,13 +2,9 @@ unixdir = ${prefix}/app-defaults/C
|
|||
|
||||
MAINTAINERCLEANFILES = Makefile.in
|
||||
|
||||
CLEANFILES = UNIXbindings
|
||||
|
||||
lib_LTLIBRARIES = libDtWidget.la
|
||||
|
||||
unix_PROGRAMS = UNIXbindings
|
||||
|
||||
AM_CPPFLAGS = -DCDE_INSTALLATION_TOP=${prefix}
|
||||
AM_CPPFLAGS = -DCDE_INSTALLATION_TOP=${prefix} @DT_INCDIR@
|
||||
|
||||
libDtWidget_la_CFLAGS = -DI18N_MSG -DMULTIBYTE
|
||||
|
||||
|
@ -43,7 +39,11 @@ libDtWidget_la_SOURCES = ComboBox.c Control.c DialogBox.c \
|
|||
SearchDlg.c SpinBox.c TitleBox.c \
|
||||
View.c
|
||||
|
||||
# cpp this...
|
||||
BUILT_SOURCES = UNIXbindings
|
||||
CLEANFILES = UNIXbindings
|
||||
|
||||
CPPTARGET = UNIXbindings
|
||||
CPPSRC = UNIXbindings.cpp
|
||||
# FIXME
|
||||
#include $(srcdir)/include/cppfile.tmpl
|
||||
|
||||
include $(top_builddir)/include/cppfile.inc
|
||||
|
|
|
@ -3,6 +3,8 @@ MAINTAINERCLEANFILES = Makefile.in
|
|||
include ../../tooltalk.inc
|
||||
|
||||
noinst_SCRIPTS = ttce2xdr
|
||||
BUILT_SOURCES = ttce2xdr
|
||||
CLEANFILES = ttce2xdr
|
||||
|
||||
AM_CPPFLAGS = $(TIRPCINC) $(TT_VERSION_DEFINE)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue