@@\
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
*/
$(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) @@\