Renamed the project from "cpp" to "CPP"
This commit is contained in:
parent
57eb55e636
commit
cfd123708c
8
Makefile
8
Makefile
|
@ -1,4 +1,4 @@
|
|||
PACKAGE = cpp
|
||||
PACKAGE = CPP
|
||||
VERSION = 0.0.1
|
||||
SUBDIRS = data doc include src
|
||||
RM ?= rm -f
|
||||
|
@ -29,8 +29,12 @@ dist:
|
|||
$(PACKAGE)-$(VERSION)/doc/gtkdoc.sh \
|
||||
$(PACKAGE)-$(VERSION)/doc/project.conf \
|
||||
$(PACKAGE)-$(VERSION)/doc/gtkdoc/Makefile \
|
||||
$(PACKAGE)-$(VERSION)/doc/gtkdoc/cpp-docs.xml \
|
||||
$(PACKAGE)-$(VERSION)/doc/gtkdoc/CPP-docs.xml \
|
||||
$(PACKAGE)-$(VERSION)/doc/gtkdoc/project.conf \
|
||||
$(PACKAGE)-$(VERSION)/doc/gtkdoc/tmpl/Makefile \
|
||||
$(PACKAGE)-$(VERSION)/doc/gtkdoc/tmpl/CPP-unused.sgml \
|
||||
$(PACKAGE)-$(VERSION)/doc/gtkdoc/tmpl/cpp.sgml \
|
||||
$(PACKAGE)-$(VERSION)/doc/gtkdoc/tmpl/project.conf \
|
||||
$(PACKAGE)-$(VERSION)/include/cpp.h \
|
||||
$(PACKAGE)-$(VERSION)/include/Makefile \
|
||||
$(PACKAGE)-$(VERSION)/include/project.conf \
|
||||
|
|
2
config.h
2
config.h
|
@ -1,4 +1,4 @@
|
|||
#define PACKAGE "cpp"
|
||||
#define PACKAGE "CPP"
|
||||
#define VERSION "0.0.1"
|
||||
|
||||
#ifndef PREFIX
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
PACKAGE="cpp"
|
||||
PACKAGE="CPP"
|
||||
VERSION="0.0.1"
|
||||
|
||||
PREFIX="/usr/local"
|
||||
|
|
14
doc/Makefile
14
doc/Makefile
|
@ -1,5 +1,5 @@
|
|||
SUBDIRS = gtkdoc
|
||||
TARGETS = gtkdoc/cpp.types gtkdoc/tmpl.stamp gtkdoc/sgml.stamp gtkdoc/html.stamp
|
||||
TARGETS = gtkdoc/CPP.types gtkdoc/tmpl.stamp gtkdoc/sgml.stamp gtkdoc/html.stamp
|
||||
PREFIX = /usr/local
|
||||
DESTDIR =
|
||||
RM ?= rm -f
|
||||
|
@ -13,25 +13,25 @@ all: subdirs $(TARGETS)
|
|||
subdirs:
|
||||
@for i in $(SUBDIRS); do (cd $$i && $(MAKE)) || exit; done
|
||||
|
||||
gtkdoc/cpp.types:
|
||||
./gtkdoc.sh -P "$(PREFIX)" -- "gtkdoc/cpp.types"
|
||||
gtkdoc/CPP.types:
|
||||
./gtkdoc.sh -P "$(PREFIX)" -- "gtkdoc/CPP.types"
|
||||
|
||||
gtkdoc/tmpl.stamp: gtkdoc/cpp.types
|
||||
gtkdoc/tmpl.stamp: gtkdoc/CPP.types
|
||||
./gtkdoc.sh -P "$(PREFIX)" -- "gtkdoc/tmpl.stamp"
|
||||
|
||||
gtkdoc/sgml.stamp: gtkdoc/tmpl.stamp
|
||||
./gtkdoc.sh -P "$(PREFIX)" -- "gtkdoc/sgml.stamp"
|
||||
|
||||
gtkdoc/html.stamp: gtkdoc/cpp-docs.xml gtkdoc/sgml.stamp
|
||||
gtkdoc/html.stamp: gtkdoc/CPP-docs.xml gtkdoc/sgml.stamp
|
||||
./gtkdoc.sh -P "$(PREFIX)" -- "gtkdoc/html.stamp"
|
||||
|
||||
clean:
|
||||
@for i in $(SUBDIRS); do (cd $$i && $(MAKE) clean) || exit; done
|
||||
$(RM) -- $(gtkdoc/cpp.types_OBJS) $(gtkdoc/tmpl.stamp_OBJS) $(gtkdoc/sgml.stamp_OBJS) $(gtkdoc/html.stamp_OBJS)
|
||||
$(RM) -- $(gtkdoc/CPP.types_OBJS) $(gtkdoc/tmpl.stamp_OBJS) $(gtkdoc/sgml.stamp_OBJS) $(gtkdoc/html.stamp_OBJS)
|
||||
|
||||
distclean:
|
||||
@for i in $(SUBDIRS); do (cd $$i && $(MAKE) distclean) || exit; done
|
||||
$(RM) -- $(gtkdoc/cpp.types_OBJS) $(gtkdoc/tmpl.stamp_OBJS) $(gtkdoc/sgml.stamp_OBJS) $(gtkdoc/html.stamp_OBJS)
|
||||
$(RM) -- $(gtkdoc/CPP.types_OBJS) $(gtkdoc/tmpl.stamp_OBJS) $(gtkdoc/sgml.stamp_OBJS) $(gtkdoc/html.stamp_OBJS)
|
||||
$(RM) -- $(TARGETS)
|
||||
|
||||
install: $(TARGETS)
|
||||
|
|
|
@ -4,16 +4,16 @@
|
|||
[
|
||||
<!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
|
||||
<!ENTITY server "www.defora.org/doc/html">
|
||||
<!ENTITY title "DeforaOS cpp">
|
||||
<!ENTITY title "DeforaOS CPP">
|
||||
<!ENTITY version "0.0.1">
|
||||
]>
|
||||
<book id="index">
|
||||
<bookinfo>
|
||||
<title>cpp Reference Manual</title>
|
||||
<title>CPP Reference Manual</title>
|
||||
<releaseinfo>
|
||||
for cpp &version;.
|
||||
for CPP &version;.
|
||||
The latest version of this documentation can be found on-line at
|
||||
<ulink role="online-location" url="http://&server;/cpp/index.html">http://&server;/cpp/</ulink>.
|
||||
<ulink role="online-location" url="http://&server;/CPP/index.html">http://&server;/CPP/</ulink>.
|
||||
</releaseinfo>
|
||||
</bookinfo>
|
||||
|
|
@ -1,13 +1,21 @@
|
|||
SUBDIRS = tmpl
|
||||
|
||||
|
||||
all:
|
||||
all: subdirs
|
||||
|
||||
subdirs:
|
||||
@for i in $(SUBDIRS); do (cd $$i && $(MAKE)) || exit; done
|
||||
|
||||
clean:
|
||||
@for i in $(SUBDIRS); do (cd $$i && $(MAKE) clean) || exit; done
|
||||
|
||||
distclean: clean
|
||||
distclean:
|
||||
@for i in $(SUBDIRS); do (cd $$i && $(MAKE) distclean) || exit; done
|
||||
|
||||
install:
|
||||
@for i in $(SUBDIRS); do (cd $$i && $(MAKE) install) || exit; done
|
||||
|
||||
uninstall:
|
||||
@for i in $(SUBDIRS); do (cd $$i && $(MAKE) uninstall) || exit; done
|
||||
|
||||
.PHONY: all clean distclean install uninstall
|
||||
.PHONY: all subdirs clean distclean install uninstall
|
||||
|
|
|
@ -1 +1,2 @@
|
|||
dist=Makefile,cpp-docs.xml
|
||||
subdirs=tmpl
|
||||
dist=Makefile,CPP-docs.xml
|
||||
|
|
0
doc/gtkdoc/tmpl/CPP-unused.sgml
Normal file
0
doc/gtkdoc/tmpl/CPP-unused.sgml
Normal file
13
doc/gtkdoc/tmpl/Makefile
Normal file
13
doc/gtkdoc/tmpl/Makefile
Normal file
|
@ -0,0 +1,13 @@
|
|||
|
||||
|
||||
all:
|
||||
|
||||
clean:
|
||||
|
||||
distclean: clean
|
||||
|
||||
install:
|
||||
|
||||
uninstall:
|
||||
|
||||
.PHONY: all clean distclean install uninstall
|
226
doc/gtkdoc/tmpl/cpp.sgml
Normal file
226
doc/gtkdoc/tmpl/cpp.sgml
Normal file
|
@ -0,0 +1,226 @@
|
|||
<!-- ##### SECTION Title ##### -->
|
||||
Cpp
|
||||
|
||||
<!-- ##### SECTION Short_Description ##### -->
|
||||
DeforaOS Development code pre-processor
|
||||
|
||||
<!-- ##### SECTION Long_Description ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
<!-- ##### SECTION See_Also ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
<!-- ##### SECTION Stability_Level ##### -->
|
||||
|
||||
|
||||
<!-- ##### SECTION Image ##### -->
|
||||
|
||||
|
||||
<!-- ##### MACRO CPP_CODE_COUNT ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
|
||||
|
||||
<!-- ##### MACRO CPP_CODE_LAST ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
|
||||
|
||||
<!-- ##### MACRO CPP_CODE_META_FIRST ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
|
||||
|
||||
<!-- ##### MACRO CPP_CODE_META_LAST ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
|
||||
|
||||
<!-- ##### STRUCT Cpp ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
|
||||
<!-- ##### ENUM CppCode ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@CPP_CODE_NULL:
|
||||
@CPP_CODE_COMMA: ","
|
||||
@CPP_CODE_DQUOTE: """
|
||||
@CPP_CODE_META_DATA: "<emphasis>meta-data</emphasis>"
|
||||
@CPP_CODE_META_DEFINE: "#define"
|
||||
@CPP_CODE_META_ELIF: "#elif"
|
||||
@CPP_CODE_META_ELSE: "#else"
|
||||
@CPP_CODE_META_ENDIF: "#endif"
|
||||
@CPP_CODE_META_ERROR: "#error"
|
||||
@CPP_CODE_META_IF: "#if"
|
||||
@CPP_CODE_META_IFDEF: "#ifdef"
|
||||
@CPP_CODE_META_IFNDEF: "#ifndef"
|
||||
@CPP_CODE_META_INCLUDE: "#include"
|
||||
@CPP_CODE_META_PRAGMA: "#pragma"
|
||||
@CPP_CODE_META_UNDEF: "#undef"
|
||||
@CPP_CODE_META_WARNING: "#warning"
|
||||
@CPP_CODE_OPERATOR_AEQUALS: "&="
|
||||
@CPP_CODE_OPERATOR_AMPERSAND: "&"
|
||||
@CPP_CODE_OPERATOR_BAR: "|"
|
||||
@CPP_CODE_OPERATOR_BEQUALS: "|="
|
||||
@CPP_CODE_OPERATOR_COLON: ":"
|
||||
@CPP_CODE_OPERATOR_DAMPERSAND: "&&"
|
||||
@CPP_CODE_OPERATOR_DBAR: "||"
|
||||
@CPP_CODE_OPERATOR_DEQUALS: "=="
|
||||
@CPP_CODE_OPERATOR_DGEQUALS: ">>="
|
||||
@CPP_CODE_OPERATOR_DGREATER: ">>"
|
||||
@CPP_CODE_OPERATOR_DHASH: "##"
|
||||
@CPP_CODE_OPERATOR_DIVEQUALS: "/="
|
||||
@CPP_CODE_OPERATOR_DIVIDE: "/"
|
||||
@CPP_CODE_OPERATOR_DLEQUALS: "<<="
|
||||
@CPP_CODE_OPERATOR_DLESS: "<<"
|
||||
@CPP_CODE_OPERATOR_DMINUS: "--"
|
||||
@CPP_CODE_OPERATOR_DOT: "."
|
||||
@CPP_CODE_OPERATOR_DOTDOTDOT: "..."
|
||||
@CPP_CODE_OPERATOR_DPLUS: "++"
|
||||
@CPP_CODE_OPERATOR_EQUALS: "="
|
||||
@CPP_CODE_OPERATOR_GEQUALS: ">="
|
||||
@CPP_CODE_OPERATOR_GREATER: ">"
|
||||
@CPP_CODE_OPERATOR_HASH: "#"
|
||||
@CPP_CODE_OPERATOR_LBRACE: "{"
|
||||
@CPP_CODE_OPERATOR_LBRACKET: "["
|
||||
@CPP_CODE_OPERATOR_LEQUALS: "<="
|
||||
@CPP_CODE_OPERATOR_LESS: "<"
|
||||
@CPP_CODE_OPERATOR_LPAREN: "("
|
||||
@CPP_CODE_OPERATOR_MEQUALS: "-="
|
||||
@CPP_CODE_OPERATOR_MGREATER:
|
||||
@CPP_CODE_OPERATOR_MINUS: "-"
|
||||
@CPP_CODE_OPERATOR_MODEQUALS:
|
||||
@CPP_CODE_OPERATOR_MODULO: "%"
|
||||
@CPP_CODE_OPERATOR_NEQUALS: "!="
|
||||
@CPP_CODE_OPERATOR_NOT: "!"
|
||||
@CPP_CODE_OPERATOR_PEQUALS: "+="
|
||||
@CPP_CODE_OPERATOR_PLUS: "+"
|
||||
@CPP_CODE_OPERATOR_QUESTION:
|
||||
@CPP_CODE_OPERATOR_RBRACE: "}"
|
||||
@CPP_CODE_OPERATOR_RBRACKET: "]"
|
||||
@CPP_CODE_OPERATOR_RPAREN: ")"
|
||||
@CPP_CODE_OPERATOR_SEMICOLON: ";"
|
||||
@CPP_CODE_OPERATOR_TEQUALS: "~="
|
||||
@CPP_CODE_OPERATOR_TILDE: "~"
|
||||
@CPP_CODE_OPERATOR_TIMES: "*"
|
||||
@CPP_CODE_OPERATOR_XEQUALS: "^="
|
||||
@CPP_CODE_OPERATOR_XOR: "^"
|
||||
@CPP_CODE_SQUOTE: "'"
|
||||
@CPP_CODE_WHITESPACE: " "
|
||||
@CPP_CODE_NEWLINE: "\n"
|
||||
@CPP_CODE_COMMENT: "/* ... */"
|
||||
@CPP_CODE_WORD: "<emphasis>word</emphasis>"
|
||||
@CPP_CODE_UNKNOWN: "<emphasis>unknown token</emphasis>"
|
||||
|
||||
<!-- ##### ENUM CppFilter ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@CPP_FILTER_NONE:
|
||||
@CPP_FILTER_TRIGRAPH:
|
||||
@CPP_FILTER_WHITESPACE:
|
||||
@CPP_FILTER_COMMENT:
|
||||
|
||||
<!-- ##### ENUM CppOption ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@CPP_OPTION_NONE:
|
||||
@CPP_OPTION_IGNORE_META:
|
||||
|
||||
<!-- ##### FUNCTION cpp_define_add ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@cpp:
|
||||
@name:
|
||||
@value:
|
||||
@Returns:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION cpp_define_get ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@cpp:
|
||||
@name:
|
||||
@Returns:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION cpp_define_remove ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@cpp:
|
||||
@name:
|
||||
@Returns:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION cpp_delete ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@cpp:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION cpp_get_filename ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@cpp:
|
||||
@Returns:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION cpp_new ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@prefs:
|
||||
@Returns:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION cpp_path_add ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@cpp:
|
||||
@path:
|
||||
@Returns:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION cpp_scan ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@cpp:
|
||||
@token:
|
||||
@Returns:
|
||||
|
||||
|
1
doc/gtkdoc/tmpl/project.conf
Normal file
1
doc/gtkdoc/tmpl/project.conf
Normal file
|
@ -0,0 +1 @@
|
|||
dist=Makefile,CPP-unused.sgml,cpp.sgml
|
|
@ -1,15 +1,15 @@
|
|||
subdirs=gtkdoc
|
||||
targets=gtkdoc/cpp.types,gtkdoc/tmpl.stamp,gtkdoc/sgml.stamp,gtkdoc/html.stamp
|
||||
targets=gtkdoc/CPP.types,gtkdoc/tmpl.stamp,gtkdoc/sgml.stamp,gtkdoc/html.stamp
|
||||
dist=Makefile,gtkdoc.sh
|
||||
|
||||
[gtkdoc/cpp.types]
|
||||
[gtkdoc/CPP.types]
|
||||
type=script
|
||||
script=./gtkdoc.sh
|
||||
|
||||
[gtkdoc/tmpl.stamp]
|
||||
type=script
|
||||
script=./gtkdoc.sh
|
||||
depends=gtkdoc/cpp.types
|
||||
depends=gtkdoc/CPP.types
|
||||
|
||||
[gtkdoc/sgml.stamp]
|
||||
type=script
|
||||
|
@ -19,5 +19,5 @@ depends=gtkdoc/tmpl.stamp
|
|||
[gtkdoc/html.stamp]
|
||||
type=script
|
||||
script=./gtkdoc.sh
|
||||
depends=gtkdoc/cpp-docs.xml,gtkdoc/sgml.stamp
|
||||
depends=gtkdoc/CPP-docs.xml,gtkdoc/sgml.stamp
|
||||
install=
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package=cpp
|
||||
package=CPP
|
||||
version=0.0.1
|
||||
config=h,sh
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@ CPPFLAGS=
|
|||
CFLAGSF = -W `pkg-config --cflags libSystem`
|
||||
CFLAGS = -Wall -g -O2 -pedantic
|
||||
LDFLAGSF= `pkg-config --libs libSystem`
|
||||
LDFLAGS =
|
||||
LDFLAGS =
|
||||
AR ?= ar
|
||||
RANLIB ?= ranlib
|
||||
CCSHARED?= $(CC) -shared
|
||||
|
|
Loading…
Reference in New Issue
Block a user