]> andersk Git - moira.git/blobdiff - util/imake.includes/Imake.rules
DBMS=ORACLE
[moira.git] / util / imake.includes / Imake.rules
index 2a5a81dc4c70447a97786ddcb7259feac200a911..3bff17ff0e9b5f92d29607b3751b12281f67f999 100644 (file)
@@ -457,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.565394 seconds and 4 git commands to generate.