Files
cdesktop/cde/lib/DtSvc/DtUtil2/Makefile.am
Jon Trulson d183ade8b3 DtSvc: we can't use archive .a libs in building libDtSvc.so
We were building subsets of this library as archive.a objects, then
trying to combine them into a shared object.  This warnings, and link
failures due to the lack of 0fPIC when building the archive libraries.

Now, we do not buld archive libraries, and the main libDtSvc.so
library is build by adding all of the .lo file in the component
subdirectories.

In a future commit, we could just remove the SUBDIR builds (DtUtil1,
etc) and build the sub objects directly.
2019-10-29 18:11:42 -06:00

33 lines
869 B
Makefile

MAINTAINERCLEANFILES = Makefile.in
noinst_LTLIBRARIES = libDtUtil2.la
libDtUtil2_la_CFLAGS = -I../include $(TIRPCINC) -DMULTIBYTE -DNLS16 \
@DT_INCDIR@ \
-DCDE_INSTALLATION_TOP=\"${prefix}\" \
-DCDE_CONFIGURATION_TOP=\"$(CDE_CONFIGURATION_TOP)\" \
-DMULTIBYTE -DUSE_XINERAMA $(TIRPCINC)
libDtUtil2_la_SOURCES = ChkpntClient.c ChkpntListen.c DtEnvMap.c \
DtNlUtils.c EnvControl.c FileUtil.c \
GetDispRes.c GetMessage.c HourGlass.c \
Info.c SharedProcs.c SmCreateDirs.c \
UErrNoBMS.c Utility.c ActIndicator.c \
CmdUtility.c DtGetMessage.c DtUtil.c \
GetEmbed.c Hash.c PrintXErr.c \
XmWrap.c addToRes.c lock.c \
SvcTT.c MsgCat.c MsgLog.c \
LocaleXlate.c XlationSvc.c
if SOLARIS
libDtUtil2_la_SOURCES += SunDtHelp.c
libDtUtil2_la_CFLAGS += -I../../DtHelp -DNO_REGCOMP
endif
if HPUX
libDtUtil2_la_CFLAGS += -DMESSAGE_CAT
endif