1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-02-15 04:32:24 +00:00

dtconfig: make it build

This commit is contained in:
Jon Trulson 2019-11-20 17:46:20 -07:00
parent 660be1c5cc
commit 58505b904d
3 changed files with 18 additions and 15 deletions

View file

@ -424,6 +424,9 @@ programs/dtappintegrate/Makefile
programs/dtprintegrate/Makefile programs/dtprintegrate/Makefile
programs/dtconfig/Makefile
programs/dtconfig/sun/Makefile
]) ])
AC_OUTPUT AC_OUTPUT

View file

@ -4,10 +4,3 @@ if SOLARIS
SUBDIRS = sun SUBDIRS = sun
endif endif
if AIX
SUBDIRS = ibm
endif
if HPUX
SUBDIRS = hp
endif

View file

@ -1,16 +1,23 @@
configdir = ${prefix}/config MAINTAINERCLEANFILES = Makefile.in
dist_bin_SCRIPTS = dtconfig dist_bin_SCRIPTS = dtconfig
configdir = $(CDE_INSTALLATION_TOP)/config
dist_config_DATA = dtlogin.rc dtlogin.xml dist_config_DATA = dtlogin.rc dtlogin.xml
SCRIPTFLAGS = -DCDE_INSTALLATION_TOP=${prefix} \ SCRIPTFLAGS = -DCDE_INSTALLATION_TOP=$(CDE_INSTALLATION_TOP) \
-DCDE_CONFIGURATION_TOP=$(CDE_CONFIGURATION_TOP) -DCDE_CONFIGURATION_TOP=$(CDE_CONFIGURATION_TOP)
CPPTARGET = dtconfig BUILT_SOURCES = dtconfig dtlogin.rc
CPPSRC = dtconfig.src CLEANFILES = $(BUILT_SOURCES)
include $(srcdir)/include/cppfile.tmpl
dtconfig: dtconfig.src
$(RM) $@
$(GENCPP) -P -DXCOMM=# $(LOCAL_CPP_DEFINES) $< > $@
chmod 755 $@
dtlogin.rc: dtlogin.rc.src
$(RM) $@
$(GENCPP) -P -DXCOMM=# $(LOCAL_CPP_DEFINES) $< > $@
chmod 755 $@
CPPTARGET = dtlogin.rc
CPPSRC = dtlogin.rc.src
include $(srcdir)/include/cppfile.tmpl