]> andersk Git - moira.git/blobdiff - util/imake.includes/Imake.rules
DBMS=ORACLE
[moira.git] / util / imake.includes / Imake.rules
index c0f293a6a83efeeac19fbdfabd25b5fc69896483..3bff17ff0e9b5f92d29607b3751b12281f67f999 100644 (file)
@@ -255,12 +255,6 @@ clean::                                                                    @@\
                                                                        @@\
 depend:: concat(src,.h)
 
-#define mk_cmds(tbl)                                                   @@\
-concat(tbl,.c): concat(tbl,.ct)                                                @@\
-       $(MAKE_COMMANDS) concat(tbl,.ct)                                @@\
-clean::                                                                        @@\
-       $(RM) concat(tbl,.o) concat(tbl,.c)
-
 /*
  * Rule for building some random object module
  */
@@ -463,13 +457,19 @@ clean::                                                                   @@\
        $(RM) concat(file,.ec) concat(file,.c)
 #endif
 #ifdef ORACLE
+/* have to undef these to keep the ORADEFS line from being attacked */
+#undef HESIOD
+#undef ZEPHYR
+#undef GDSS
+#undef ATHENA
+ORADEFS= DEFINE=HESIOD DEFINE=ZEPHYR DEFINE=GDSS DEFINE=ATHENA
 #define sqlrule()                                                      @@\
 .SUFFIXES: .pc .dc                                                     @@\
 .dc.pc:                                                                        @@\
        $(AWK) -f $(SRCTOP)/util/imake.includes/oracle.awk < $< > $*.pc @@\
                                                                        @@\
 .pc.c:                                                                 @@\
-       /usr/oracle/bin/pcc INAME=$*.pc
+       /usr/oracle/bin/proc INAME=$*.pc INCLUDE=$(BUILDTOP)/include INCLUDE=$(BUILDTOP)/lib INCLUDE=$(INCLDIR) $(ORADEFS)
 #define sqlfile(file)                                                  @@\
 concat(file,.pc): concat(file,.dc)                                     @@\
 concat(file,.c): concat(file,.pc)                                      @@\
This page took 0.033826 seconds and 4 git commands to generate.