Files
cdesktop/cde/programs/dtspcd/Makefile.am
Jon Trulson c329d5cfd7 Remove $(TIRPCINC) from all Makefile.am files - it no longer exists
Also, restructure some of the dependencies in the lib/tt binaries.  We
will link with libtt (which will include libtirpc as a dependency),
and XTOOLLIB - all the right X11 stuff without needing to add it to
every OS.  Removed several uneeded OS specializations ("if LINUX",
etc) as a result.
2019-11-20 18:52:29 -07:00

32 lines
731 B
Makefile

MAITAINERCLEANFILES = Makefile.in
bin_PROGRAMS = dtspcd
dtspcd_CFLAGS = -DCDE_CONFIGURATION_TOP=\"${prefix}\" \
-DCDE_INSTALLATION_TOP=\"$(CDE_INSTALLATION_TOP)\" \
$(DT_INCDIR)
dtspcd_LDADD = $(DTCLIENTLIBS) $(XTOOLLIB)
if SOLARIS
dtspcd_LDADD += -ldl -lgen
endif
# I really think we should get rid of dtspcd in general...
dtspcd_SOURCES = main.c spcd_event.c
DEF_SYSTEM_PATH = "/bin:/usr/bin"
LOCAL_CPP_DEFINES = -DCDE_CONFIGURATION_TOP=$(CDE_CONFIGURATION_TOP) \
-DCDE_LOGFILES_TOP=$(CDE_LOGFILES_TOP) \
-DDEF_SYSTEM_PATH=$(DEF_SYSTEM_PATH)
CPP_TARGETS = dtspcdenv
BUILT_SOURCES = $(CPP_TARGETS)
CLEANFILES = $(CPP_TARGETS)
dtspcdenv: dtspcdenv.src
$(RM) $@
$(GENCPP) -P -DXCOMM=# $(LOCAL_CPP_DEFINES) $< > $@