dtspcd/dtterm: use proper DT_INCDIR rather than hardcoding the location
authorJon Trulson <jon@radscan.com>
Wed, 20 Nov 2019 20:19:44 +0000 (13:19 -0700)
committerJon Trulson <jon@radscan.com>
Thu, 21 Nov 2019 00:31:53 +0000 (17:31 -0700)
cde/programs/dtspcd/Makefile.am
cde/programs/dtterm/Makefile.am

index a9c4ae8bab8ba663e93b6a2f58b32eb6feb47f57..f6caf7c298e9f2afe62e4968bb0aaf18b7a61d63 100644 (file)
@@ -4,7 +4,7 @@ bin_PROGRAMS = dtspcd
 
 dtspcd_CFLAGS = $(TIRPCINC) -DCDE_CONFIGURATION_TOP=\"${prefix}\" \
                -DCDE_INSTALLATION_TOP=\"$(CDE_INSTALLATION_TOP)\" \
-               -I$(top_builddir)/include/Dt
+               $(DT_INCDIR)
 
 dtspcd_LDADD = $(DTCLIENTLIBS) $(XTOOLLIB)
 
index 182609a678dc0e652f9fc04dd81af114536d2c17..fe3dc23c3975aa43f44825a949e3d5d39c96e1e9 100644 (file)
@@ -11,7 +11,7 @@ endif
 dtterm_CFLAGS = -I$(top_builddir)/lib/DtTerm/TermPrim  \
        -I$(top_builddir)/lib/DtTerm/Term                       \
        -I$(top_builddir)/lib/DtTerm/TermView $(TIRPCINC)       \
-       -I$(top_builddir)/include/Dt \
+       $(DT_INCDIR) \
        -DSUN_TERMINAL_SERVER
 
 dtterm_SOURCES = DtTermLogit.c DtTermMain.c DtTermFallBackResources.c  \