mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
dtspcd: make it build
This commit is contained in:
parent
a8085dca9b
commit
e675e06dd1
2 changed files with 20 additions and 18 deletions
|
@ -406,6 +406,8 @@ programs/dtcalc/Makefile
|
||||||
|
|
||||||
programs/dtaction/Makefile
|
programs/dtaction/Makefile
|
||||||
|
|
||||||
|
programs/dtspcd/Makefile
|
||||||
|
|
||||||
])
|
])
|
||||||
|
|
||||||
AC_OUTPUT
|
AC_OUTPUT
|
||||||
|
|
|
@ -1,31 +1,31 @@
|
||||||
configdir = ${prefix}/config
|
|
||||||
|
|
||||||
MAITAINERCLEANFILES = Makefile.in
|
MAITAINERCLEANFILES = Makefile.in
|
||||||
|
|
||||||
bin_PROGRAMS = dtspcd
|
bin_PROGRAMS = dtspcd
|
||||||
|
|
||||||
config_PROGRAMS = dtspcdenv
|
dtspcd_CFLAGS = $(TIRPCINC) -DCDE_CONFIGURATION_TOP=\"${prefix}\" \
|
||||||
|
-DCDE_INSTALLATION_TOP=\"$(CDE_INSTALLATION_TOP)\" \
|
||||||
|
-I$(top_builddir)/include/Dt
|
||||||
|
|
||||||
dtspcd_CFLAGS = $(TIRPCINC) -I../dthelp -DCDE_CONFIGURATION_TOP=\"${prefix}\" \
|
dtspcd_LDADD = $(DTCLIENTLIBS) $(XTOOLLIB)
|
||||||
-DCDE_INSTALLATION_TOP=\"$(CDE_INSTALLATION_TOP)\"
|
|
||||||
|
|
||||||
dtspcd_LDADD = $(LIBHELP) $(LIBSVC) $(LIBTT) -lXm $(XTOOLLIB) ${X_LIBS} -lm
|
|
||||||
|
|
||||||
if SOLARIS
|
if SOLARIS
|
||||||
dtspcd_LDADD += -ldl -lgen
|
dtspcd_LDADD += -ldl -lgen
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if HPUX
|
# I really think we should get rid of dtspcd in general...
|
||||||
dtspcd_CFLAGS += -D_XOPEN_SOURCE -D__hpux_8_0 -DFUNCPROTO
|
|
||||||
endif
|
|
||||||
|
|
||||||
dtspcdenv_CPPFLAGS = -DCDE_CONFIGURATION_TOP=$(CDE_CONFIGURATION_TOP) \
|
|
||||||
-DCDE_INSTALLATION_TOP=${prefix} \
|
|
||||||
-DCDE_LOGFILES_TOP=$(CDE_LOGFILES_TOP) \
|
|
||||||
-DDEF_SYSTEM_PATH=$(PATH)
|
|
||||||
|
|
||||||
dtspcd_SOURCES = main.c spcd_event.c
|
dtspcd_SOURCES = main.c spcd_event.c
|
||||||
|
|
||||||
CPPTARGET = dtspcdenv
|
DEF_SYSTEM_PATH = "/bin:/usr/bin"
|
||||||
CPPSRC = dtspcdenv.src
|
LOCAL_CPP_DEFINES = -DCDE_CONFIGURATION_TOP=$(CDE_CONFIGURATION_TOP) \
|
||||||
include $(srcdir)/include/cppfile.tmpl
|
-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) $< > $@
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue