Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
PolyORB-HI-C
Commits
3d106798
Commit
3d106798
authored
Apr 17, 2018
by
yoogx
Browse files
* Add configuration for GNU Indent
For openaadl/ocarina#143
parent
feb150a5
Changes
6
Hide whitespace changes
Inline
Side-by-side
Makefile.am
View file @
3d106798
...
...
@@ -5,6 +5,8 @@ CLEANFILES = config-stamp svn-commit*.tmp* *~
SUBDIRS
=
src support tools share include doc
DIST_SUBDIRS
=
$(SUBDIRS)
examples
EXTRA_DIST
=
$(top_srcdir)
/Makefile.common
check-local
::
examples
examples
::
install
...
...
Makefile.common
0 → 100644
View file @
3d106798
################################################################################
# GNU indent configuration
# ========================
#
# -bacc : blank line around conditional compilation block
# -bad : blank line after block of declarations
# -bap : blank link after procedure body
# -bfda : break the line before all arguments in a declaration
# -nbc : no blank line after each comma in declaration
# -br : move braces closer to the if
# -brf : put braces on function definition line
# -ncdb : no comment delimiters on blank lines
# -ce : cuddle else and preceding '}'
# -ci<n> : sets the continuation indent to n
# -di<n> : put variables in column n
# -lp : line up continued lines at parentheses
# -nfc1 : do not format comments that start in column 1
# -npcs : do not put space after the function in function calls
# -npsl : put the type of a procedure on the same line as its name
# -nut : disable the use of tab
# -i2 : 2 spaces per indentation level
# -l78 : length of an output line set to 78
# -npro : ignore profile file
INDENT_FLAGS
=
-bacc
-bad
-bap
-nbc
-br
-brf
-ncdb
-ce
-ci2
-cli2
\
-nfc1
-npcs
-npsl
-nut
-lp
-i2
-l78
-npro
-bfda
.PHONY
:
indent-local
indent-local
:
VERSION_CONTROL
=
none
;
for
f
in
$(
shell
ls
*
.?
)
;
do
gindent
$(INDENT_FLAGS)
$$
f
;
done
include/Makefile.am
View file @
3d106798
include
$(top_srcdir)/Makefile.common
AUTOMAKE_OPTIONS
=
no-dependencies
SUBDIRS
=
drivers monitoring simulator
EXTRA_DIST
=
$(srcdir)
/po_hi_common.h
\
$(srcdir)
/po_hi_debug.h
\
$(srcdir)
/po_hi_marshallers.h
\
$(srcdir)
/po_hi_messages.h
\
$(srcdir)
/po_hi_protected.h
\
$(srcdir)
/po_hi_returns.h
\
$(srcdir)
/po_hi_gqueue.h
\
$(srcdir)
/po_hi_monitor.h
\
$(srcdir)
/po_hi_lua.h
\
$(srcdir)
/po_hi_storage.h
\
$(srcdir)
/po_hi_giop.h
\
$(srcdir)
/po_hi_utils.h
\
$(srcdir)
/po_hi_task.h
\
$(srcdir)
/po_hi_time.h
\
$(srcdir)
/po_hi_types.h
\
$(srcdir)
/po_hi_main.h
\
$(srcdir)
/po_hi_simulink.h
\
$(srcdir)
/po_hi_transport.h
$(srcdir)
/po_hi_debug.h
\
$(srcdir)
/po_hi_marshallers.h
\
$(srcdir)
/po_hi_messages.h
\
$(srcdir)
/po_hi_protected.h
\
$(srcdir)
/po_hi_returns.h
\
$(srcdir)
/po_hi_gqueue.h
\
$(srcdir)
/po_hi_monitor.h
\
$(srcdir)
/po_hi_lua.h
\
$(srcdir)
/po_hi_storage.h
\
$(srcdir)
/po_hi_giop.h
\
$(srcdir)
/po_hi_utils.h
\
$(srcdir)
/po_hi_task.h
\
$(srcdir)
/po_hi_time.h
\
$(srcdir)
/po_hi_types.h
\
$(srcdir)
/po_hi_main.h
\
$(srcdir)
/po_hi_simulink.h
\
$(srcdir)
/po_hi_transport.h
CLEANFILES
=
*
~
...
...
include/drivers/Makefile.am
View file @
3d106798
include
$(top_srcdir)/Makefile.common
AUTOMAKE_OPTIONS
=
no-dependencies
EXTRA_DIST
=
$(srcdir)
/po_hi_driver_linux_serial.h
\
$(srcdir)
/po_hi_driver_leon_serial.h
\
$(srcdir)
/po_hi_driver_leon_eth.h
\
$(srcdir)
/po_hi_driver_serial_common.h
\
$(srcdir)
/po_hi_driver_exarm.h
\
$(srcdir)
/po_hi_driver_exarm_ni_6071e_analog.h
\
$(srcdir)
/po_hi_driver_exarm_ni_6071e_digital.h
\
$(srcdir)
/po_hi_driver_usbbrick_spacewire.h
\
$(srcdir)
/po_hi_driver_rasta_spacewire.h
\
$(srcdir)
/po_hi_driver_rasta_1553.h
\
$(srcdir)
/po_hi_driver_rasta_1553_brmlib.h
\
$(srcdir)
/po_hi_driver_xc4v_fpga.h
\
$(srcdir)
/po_hi_driver_rasta_serial.h
\
$(srcdir)
/po_hi_driver_rasta_common.h
\
$(srcdir)
/po_hi_driver_sockets.h
\
$(srcdir)
/po_hi_driver_keyboard.h
\
$(srcdir)
/po_hi_rtems_utils.h
$(srcdir)
/po_hi_driver_leon_serial.h
\
$(srcdir)
/po_hi_driver_leon_eth.h
\
$(srcdir)
/po_hi_driver_serial_common.h
\
$(srcdir)
/po_hi_driver_exarm.h
\
$(srcdir)
/po_hi_driver_exarm_ni_6071e_analog.h
\
$(srcdir)
/po_hi_driver_exarm_ni_6071e_digital.h
\
$(srcdir)
/po_hi_driver_usbbrick_spacewire.h
\
$(srcdir)
/po_hi_driver_rasta_spacewire.h
\
$(srcdir)
/po_hi_driver_rasta_1553.h
\
$(srcdir)
/po_hi_driver_rasta_1553_brmlib.h
\
$(srcdir)
/po_hi_driver_xc4v_fpga.h
\
$(srcdir)
/po_hi_driver_rasta_serial.h
\
$(srcdir)
/po_hi_driver_rasta_common.h
\
$(srcdir)
/po_hi_driver_sockets.h
\
$(srcdir)
/po_hi_driver_keyboard.h
\
$(srcdir)
/po_hi_rtems_utils.h
CLEANFILES
=
*
~
SUBDIRS
=
configuration
...
...
@@ -30,5 +32,3 @@ install-data-local:
uninstall-local
:
rm
-rf
$(DESTDIR)$(hsrc)
src/Makefile.am
View file @
3d106798
...
...
@@ -2,14 +2,14 @@ AUTOMAKE_OPTIONS = no-dependencies
SUBDIRS
=
drivers monitoring simulator python
C_FILES
=
$(srcdir)
/po_hi_task.c
$(srcdir)
/po_hi_main.c
\
$(srcdir)
/po_hi_marshallers.c
$(srcdir)
/po_hi_messages.c
\
$(srcdir)
/po_hi_monitor.c
$(srcdir)
/po_hi_gqueue.c
\
$(srcdir)
/po_hi_giop.c
$(srcdir)
/po_hi_lua.c
\
$(srcdir)
/po_hi_protected.c
$(srcdir)
/po_hi_transport.c
\
$(srcdir)
/po_hi_storage.c
$(srcdir)
/po_hi_types.c
\
$(srcdir)
/po_hi_utils.c
$(srcdir)
/po_hi_simulink.c
\
$(srcdir)
/po_hi_gprof_rtems_leon.c
\
$(srcdir)
/po_hi_time.c
$(srcdir)
/po_hi_marshallers.c
$(srcdir)
/po_hi_messages.c
\
$(srcdir)
/po_hi_monitor.c
$(srcdir)
/po_hi_gqueue.c
\
$(srcdir)
/po_hi_giop.c
$(srcdir)
/po_hi_lua.c
\
$(srcdir)
/po_hi_protected.c
$(srcdir)
/po_hi_transport.c
\
$(srcdir)
/po_hi_storage.c
$(srcdir)
/po_hi_types.c
\
$(srcdir)
/po_hi_utils.c
$(srcdir)
/po_hi_simulink.c
\
$(srcdir)
/po_hi_gprof_rtems_leon.c
\
$(srcdir)
/po_hi_time.c
csrc
=
${
shell
$(CYGPATH_U)
'
$(OCARINA_RUNTIME)
/polyorb-hi-c/src'
}
...
...
@@ -23,3 +23,5 @@ uninstall-local:
EXTRA_DIST
=
$(C_FILES)
CLEANFILES
=
*
~
include
$(top_srcdir)/Makefile.common
src/drivers/Makefile.am
View file @
3d106798
include
$(top_srcdir)/Makefile.common
AUTOMAKE_OPTIONS
=
no-dependencies
SUBDIRS
=
configuration
C_FILES
=
$(srcdir)
/po_hi_driver_linux_serial.c
\
$(srcdir)
/po_hi_driver_leon_serial.c
\
$(srcdir)
/po_hi_driver_leon_eth.c
\
$(srcdir)
/po_hi_driver_sockets.c
\
$(srcdir)
/po_hi_driver_rtems_ne2000.c
\
$(srcdir)
/po_hi_driver_rasta_spacewire.c
\
$(srcdir)
/po_hi_driver_rasta_common.c
\
$(srcdir)
/po_hi_driver_exarm.c
\
$(srcdir)
/po_hi_driver_usbbrick_spacewire.c
\
$(srcdir)
/po_hi_driver_serial_common.c
\
$(srcdir)
/po_hi_driver_keyboard.c
\
$(srcdir)
/po_hi_driver_exarm_ni_6071e_analog.c
\
$(srcdir)
/po_hi_driver_exarm_ni_6071e_digital.c
\
$(srcdir)
/po_hi_driver_rasta_1553.c
\
$(srcdir)
/po_hi_driver_xc4v_fpga.c
\
$(srcdir)
/po_hi_driver_rasta_1553_brmlib.c
\
$(srcdir)
/po_hi_driver_rasta_serial.c
$(srcdir)
/po_hi_driver_leon_serial.c
\
$(srcdir)
/po_hi_driver_leon_eth.c
\
$(srcdir)
/po_hi_driver_sockets.c
\
$(srcdir)
/po_hi_driver_rtems_ne2000.c
\
$(srcdir)
/po_hi_driver_rasta_spacewire.c
\
$(srcdir)
/po_hi_driver_rasta_common.c
\
$(srcdir)
/po_hi_driver_exarm.c
\
$(srcdir)
/po_hi_driver_usbbrick_spacewire.c
\
$(srcdir)
/po_hi_driver_serial_common.c
\
$(srcdir)
/po_hi_driver_keyboard.c
\
$(srcdir)
/po_hi_driver_exarm_ni_6071e_analog.c
\
$(srcdir)
/po_hi_driver_exarm_ni_6071e_digital.c
\
$(srcdir)
/po_hi_driver_rasta_1553.c
\
$(srcdir)
/po_hi_driver_xc4v_fpga.c
\
$(srcdir)
/po_hi_driver_rasta_1553_brmlib.c
\
$(srcdir)
/po_hi_driver_rasta_serial.c
csrc
=
${
shell
$(CYGPATH_U)
'
$(OCARINA_RUNTIME)
/polyorb-hi-c/src/drivers'
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment