solaris-placate-gmake-builds-20020718
authorJoakim Fallsjö <fallsjo@sanchin.se>
Thu, 18 Jul 2002 13:10:46 +0000 (13:10 +0000)
committerDerrick Brashear <shadow@dementia.org>
Thu, 18 Jul 2002 13:10:46 +0000 (13:10 +0000)
so gmake will find the necessary source files

src/lwp/Makefile.in
src/sys/Makefile.in

index 0bf1b4c..654a430 100644 (file)
@@ -37,7 +37,7 @@ process.o     : process.s process.c
        pmax_he1) \
                $(CC) -c -I${TOP_INCDIR} process.s;; \
        sun4c_51 | sun4c_52 | sun4m_51 | sun4m_52 | sun4c_53 | sun4m_53  | sun4_53 | sun4_52 | sun4_54 | sun4c_54 | sun4m_54 | sun4x_5? | sunx86_5?) \
-               /usr/ccs/lib/cpp -P -I${TOP_INCDIR} process.s process.ss; \
+               /usr/ccs/lib/cpp -P -I${TOP_INCDIR} ${srcdir}/process.s process.ss; \
                ${AS} process.ss -o process.o; \
                        $(RM) process.ss ;; \
        sgi_5* ) \
index afbd0da..a7bf5c1 100644 (file)
@@ -44,7 +44,7 @@ tests:        pagsh pagsh.krb fixit iinc idec icreate iopen istat rmtsysd
 syscall.o: syscall.s
        case "$(SYS_NAME)" in \
         sun4c_51 | sun4c_52 | sun4m_51 | sun4m_52 | sun4c_53 | sun4m_53  | sun4_53 | sun4_52 | sun4_54 | sun4c_54 | sun4m_54 | sun4x_5? | sunx86_5?) \
-               /usr/ccs/lib/cpp  ${SFLAGS} syscall.s syscall.ss; \
+               /usr/ccs/lib/cpp  ${SFLAGS} ${srcdir}/syscall.s syscall.ss; \
                as -o syscall.o syscall.ss;             \
                $(RM) syscall.ss;;                              \
         sgi_* |ppc_darwin* ) \