Authoring templates for Oracle proc development makefile

Source: Internet
Author: User

Oracle's database development needs to use PROC,PROC is embedded C

This article mainly introduces the Oracle database development, Linux under the proc Makefile example:

1 . Suffixes:. C. o2 3Cc=GCC4Proc=proc5 6procsrcs=oracle.pc7srcs=$ (procsrcs:.pc=. C)8objs=$ (srcs:.c=. O)9 Tenoracle_home=/opt/oracle/product/11.2.0 Oneoraflags1=/usr/include/Linux Aoraflags2=/usr/lib/gcc/i686-redhat-linux/4.4.4/include -  -Exe=ABC the  - All : $ (OBJS) -$ (CC)-O $ (EXE) $ (OBJS)-l$ (oracle_home)/lib-Lclntsh -@echo'^_^ ^_^ ^_^ ^_^ ^_^ OK ^_^ ^_^ ^_^ ^_^ ^_^' +  - . C.O: $ (SRCS) +$ (CC)-wall-g-o [email protected]-C $< A  at $ (SRCS): -$ (PROC) iname=$ (Procsrcs) include=$ (ORAFLAGS1) include=$ (ORAFLAGS2) cpool=yes mode=ansi code=ansi_c parse=partial Threads=yes oname=$ (SRCS) -  -  - Clean : --RM-F $ (OBJS) in-RM-F $ (SRCS) --rm-f core*

As for the meaning of the parameters inside, see:

---You can list all options and the current default value by entering the proc command with no options at the command line

---proc option =? You can view the option description

Authoring templates for Oracle proc development makefile

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.