forked from Imagelibrary/rtems
Script does what is expected and tries to do it as smartly as possible. + remove occurrences of two blank comment lines next to each other after Id string line removed. + remove entire comment blocks which only exited to contain CVS Ids + If the processing left a blank line at the top of a file, it was removed.
28 lines
629 B
Makefile
28 lines
629 B
Makefile
|
|
if HAS_CXX
|
|
rtems_tests_PROGRAMS = rtems++
|
|
rtems___SOURCES = Init.cc Task1.cc Task2.cc Task3.cc System.h
|
|
endif
|
|
|
|
dist_rtems_tests_DATA = rtems++.scn
|
|
dist_rtems_tests_DATA += rtems++.doc
|
|
|
|
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
|
include $(top_srcdir)/../automake/compile.am
|
|
include $(top_srcdir)/../automake/leaf.am
|
|
|
|
if HAS_CXX
|
|
rtems___LDLIBS = -lrtems++
|
|
AM_CPPFLAGS += -I$(top_srcdir)/../support/include
|
|
|
|
|
|
LINK_OBJS = $(rtems___OBJECTS)
|
|
LINK_LIBS = $(rtems___LDLIBS)
|
|
|
|
rtems++$(EXEEXT): $(rtems___OBJECTS) $(rtems___DEPENDENCIES)
|
|
@rm -f rtems++$(EXEEXT)
|
|
$(make-cxx-exe)
|
|
endif
|
|
|
|
include $(top_srcdir)/../automake/local.am
|