mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
configure: create some convenience AC_SUBST's for the global includes
Modify the various makefiles that were doing $(top_builddir)/include/Dt to use them like @DT_INCDIR@, @TT_INCDIR@, etc...
This commit is contained in:
parent
056144488a
commit
1079ffa240
6 changed files with 12 additions and 5 deletions
|
@ -136,6 +136,8 @@ AM_CONDITIONAL([MIPS], [test "is_mips" = yes])
|
|||
AM_CONDITIONAL([PPC], [test "is_ppc" = yes])
|
||||
|
||||
dnl our main libraries
|
||||
dnl we use single quotes so that $top_builder is evaluated in the makfiles,
|
||||
dnl not here.
|
||||
AC_SUBST(LIBTT, '$(top_builddir)/lib/tt/lib/libtt.la')
|
||||
AC_SUBST(LIBXIN, '$(top_builddir)/lib/DtXinerama/libDtXinerama.a')
|
||||
AC_SUBST(LIBWIDGET, '$(top_builddir)/lib/DtWidget/libDtWidget.la')
|
||||
|
@ -148,6 +150,11 @@ AC_SUBST(LIBMMDB, '$(top_builddir)/lib/DtMmdb/libDtMmdb.la')
|
|||
AC_SUBST(LIBHELP, '$(top_builddir)/lib/DtHelp/libDtHelp.la')
|
||||
AC_SUBST(LIBCSA, '$(top_builddir)/lib/csa/libcsa.la')
|
||||
|
||||
dnl set up come convenience replacements for global include dirs
|
||||
AC_SUBST(DT_INCDIR, '-I$(top_builddir)/include/Dt')
|
||||
AC_SUBST(TT_INCDIR, '-I$(top_builddir)/include/Tt')
|
||||
AC_SUBST(XM_INCDIR, '-I$(top_builddir)/include/Xm')
|
||||
|
||||
dnl JET FIXME/CHECKME
|
||||
AC_SUBST(XTOOLLIB, "-lICE -lSM -lXt")
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@ CLEANFILES = boolyac.h boolyac.c
|
|||
AM_YFLAGS = -d
|
||||
|
||||
libDtSearch_la_CFLAGS = -DI18N_MSG -DMULTIBYTE -I./raima \
|
||||
-I$(top_builddir)/include/Dt
|
||||
@DT_INCDIR@
|
||||
|
||||
|
||||
libDtSearch_la_LIBADD = raima/libraima.la
|
||||
|
|
|
@ -5,7 +5,7 @@ noinst_LTLIBRARIES = libraima.la
|
|||
libraima_la_LIBADD = -lc -lm
|
||||
|
||||
libraima_la_CFLAGS = -DCDE_INSTALLATION_TOP=\"${prefix}\" \
|
||||
-I$(top_builddir)/include/Dt \
|
||||
@DT_INCDIR@ \
|
||||
-DCDE_CONFIGURATION_TOP=\"$(CDE_CONFIGURATION_TOP)\" \
|
||||
-DNO_TRANS -DUNIX -D_POSIX_SOURCE -DMULTIBYTE
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@ MAINTAINERCLEANFILES = Makefile.in
|
|||
noinst_LTLIBRARIES = libDtEncap.la
|
||||
|
||||
libDtEncap_la_CFLAGS = -DMULTIBYTE -I../include -I../DtUtil2 $(TIRPCINC) \
|
||||
-I$(top_builddir)/include/Dt \
|
||||
@DT_INCDIR@ \
|
||||
-DCDE_CONFIGURATION_TOP=\"$(CDE_CONFIGURATION_TOP)\" \
|
||||
-DCDE_INSTALLATION_TOP=\"${prefix}\" \
|
||||
-DCDE_LOGFILES_TOP=\"$(CDE_LOGFILES_TOP)/tmp\"
|
||||
|
|
|
@ -3,7 +3,7 @@ MAINTAINERCLEANFILES = Makefile.in
|
|||
noinst_LTLIBRARIES = libDtUtil1.la
|
||||
|
||||
libDtUtil1_la_CFLAGS = -I../include $(TIRPCINC) -DMULTIBYTE \
|
||||
-I$(top_builddir)/include/Dt \
|
||||
@DT_INCDIR@ \
|
||||
-DCDE_INSTALLATION_TOP=\"${prefix}\" \
|
||||
-DCDE_CONFIGURATION_TOP=\"$(CDE_CONFIGURATION_TOP)\"
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@ MAINTAINERCLEANFILES = Makefile.in
|
|||
noinst_LTLIBRARIES = libDtUtil2.la
|
||||
|
||||
libDtUtil2_la_CFLAGS = -I../include $(TIRPCINC) -DMULTIBYTE \
|
||||
-I$(top_builddir)/include/Dt \
|
||||
@DT_INCDIR@ \
|
||||
-DCDE_INSTALLATION_TOP=\"${prefix}\" \
|
||||
-DCDE_CONFIGURATION_TOP=\"$(CDE_CONFIGURATION_TOP)\" \
|
||||
-DMULTIBYTE -DUSE_XINERAMA $(TIRPCINC)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue