Redo the way the main CDE libs are specified in configure.ac... The current way could not work due to evaluation issues, and the fact that variables like $srcdir and the like are only valid in Makefiles, not configure. Use @LIBNAME@ rather then $(LIBNAME) in Makefile.am files - this way the location is always evaluated when it's run, not in configure - which can't work for a variety of reasons. Got some of the TT binaries to build. Made a new include/cppfile.inc file that can be used to pre-process files. The downside is that currently you can only pre-process one file at a time per Makefile. Something more robust is needed, but at least tt/bin/shell now builds. Will need to come up with a better way.
30 lines
475 B
Makefile
30 lines
475 B
Makefile
MAINTAINERCLEANFILES = Makefile.in
|
|
|
|
include ../../tooltalk.inc
|
|
|
|
bin_PROGRAMS = ttmv ttrm ttcp ttrmdir
|
|
|
|
AM_CXXFLAGS = -I../../lib $(TIRPCINC) $(TT_VERSION_DEFINE)
|
|
|
|
LDADD = @LIBTT@ $(X_LIBS)
|
|
|
|
if LINUX
|
|
LDADD += $(TIRPCLIB) $(XTOOLLIB)
|
|
endif
|
|
|
|
if SOLARIS
|
|
LDADD += $(XTOOLLIB) -ldl -lintl -lsocket -lnsl
|
|
endif
|
|
|
|
if OPENBSD
|
|
LDADD += $(XTOOLLIB)
|
|
endif
|
|
|
|
ttmv_SOURCES = ttmv.C mover.C
|
|
|
|
ttrm_SOURCES = ttrm.C remover.C
|
|
|
|
ttcp_SOURCES = ttcp.C copier.C
|
|
|
|
ttrmdir_SOURCES = ttrm.C remover.C
|