- rename .C files to .cpp so that Doxygen will work

svn path=/trunk/boinc/; revision=16069
This commit is contained in:
David Anderson 2008-09-26 18:20:24 +00:00
parent 043eba642a
commit 98cfb8d3b0
192 changed files with 240 additions and 237 deletions

View File

@ -8,23 +8,23 @@ AM_LDFLAGS = @GLUT_LIBS@
# stuff linked into both main app and graphics app
api_files= \
boinc_api.C \
reduce_main.C \
graphics2_util.C
boinc_api.cpp \
reduce_main.cpp \
graphics2_util.cpp
# stuff linked into graphics app
graphics2_files = \
gutil.C \
gutil_text.C \
reduce_lib.C \
texfont.C \
texture.C \
txf_util.C \
graphics2.C \
graphics2_unix.C
gutil.cpp \
gutil_text.cpp \
reduce_lib.cpp \
texfont.cpp \
texture.cpp \
txf_util.cpp \
graphics2.cpp \
graphics2_unix.cpp
if OS_DARWIN
graphics2_files += mac_icon.C
graphics2_files += mac_icon.cpp
graphics2_files += macglutfix.m
endif
@ -55,6 +55,6 @@ pkginclude_HEADERS = \
EXTRA_PROGRAMS = api_app api_test
api_app_SOURCES = api_app.C boinc_api.C ../lib/parse.C
api_test_SOURCES = boinc_api.C api_test.C ../lib/parse.C
api_app_SOURCES = api_app.cpp boinc_api.cpp ../lib/parse.cpp
api_test_SOURCES = boinc_api.cpp api_test.cpp ../lib/parse.cpp

View File

@ -23,10 +23,10 @@ $(BIN): $(LINKOBJ)
$(AR) rc $@ $(LINKOBJ)
ranlib $@
%.o: $(BOINCDIR)/api/%.C
%.o: $(BOINCDIR)/api/%.cpp
$(CXX) -c $< -o $@ $(CXXFLAGS)
%.o: $(BOINCDIR)/lib/%.C
%.o: $(BOINCDIR)/lib/%.cpp
$(CXX) -c $< -o $@ $(CXXFLAGS)
md5.o: $(BOINCDIR)/lib/md5.c

View File

@ -7777,3 +7777,6 @@ David 25 Sept 2008
lib/
gui_rpc_client_print.C
boinc_cmd.C
David 25 Sept 2008
- rename .C files to .cpp so that Doxygen will work

View File

@ -18,47 +18,47 @@ endif
bin_PROGRAMS = boinc_client switcher
boinc_client_SOURCES = \
acct_mgr.C \
acct_setup.C \
app.C \
app_control.C \
app_graphics.C \
app_start.C \
auto_update.C \
check_state.C \
client_msgs.C \
client_state.C \
client_types.C \
cpu_sched.C \
cs_account.C \
cs_apps.C \
cs_benchmark.C \
cs_cmdline.C \
cs_files.C \
cs_platforms.C \
cs_prefs.C \
cs_scheduler.C \
cs_statefile.C \
cs_trickle.C \
dhrystone.C \
dhrystone2.C \
file_names.C \
file_xfer.C \
gui_http.C \
gui_rpc_server.C \
gui_rpc_server_ops.C \
hostinfo_network.C \
hostinfo_unix.C \
http_curl.C \
log_flags.C \
main.C \
net_stats.C \
pers_file_xfer.C \
sandbox.C \
scheduler_op.C \
time_stats.C \
whetstone.C \
work_fetch.C
acct_mgr.cpp \
acct_setup.cpp \
app.cpp \
app_control.cpp \
app_graphics.cpp \
app_start.cpp \
auto_update.cpp \
check_state.cpp \
client_msgs.cpp \
client_state.cpp \
client_types.cpp \
cpu_sched.cpp \
cs_account.cpp \
cs_apps.cpp \
cs_benchmark.cpp \
cs_cmdline.cpp \
cs_files.cpp \
cs_platforms.cpp \
cs_prefs.cpp \
cs_scheduler.cpp \
cs_statefile.cpp \
cs_trickle.cpp \
dhrystone.cpp \
dhrystone2.cpp \
file_names.cpp \
file_xfer.cpp \
gui_http.cpp \
gui_rpc_server.cpp \
gui_rpc_server_ops.cpp \
hostinfo_network.cpp \
hostinfo_unix.cpp \
http_curl.cpp \
log_flags.cpp \
main.cpp \
net_stats.cpp \
pers_file_xfer.cpp \
sandbox.cpp \
scheduler_op.cpp \
time_stats.cpp \
whetstone.cpp \
work_fetch.cpp
boinc_client_DEPENDENCIES =
boinc_client_CPPFLAGS = -O3 -fomit-frame-pointer -fforce-addr -ffast-math $(AM_CPPFLAGS)
@ -68,7 +68,7 @@ boinc_client_LDADD = $(LIBBOINC) $(PTHREAD_LIBS)
boinc_clientdir = $(bindir)
boinc_client_DATA = ../curl/ca-bundle.crt
switcher_SOURCES = switcher.C
switcher_SOURCES = switcher.cpp
all-local: client-bin

View File

@ -16,44 +16,44 @@ bin_PROGRAMS = boinc_client
EXTRA_PROGRAMS = cpu_benchmark
boinc_client_SOURCES = \
acct_mgr.C \
acct_setup.C \
app.C \
app_control.C \
app_graphics.C \
app_start.C \
check_state.C \
client_msgs.C \
client_state.C \
client_types.C \
cs_account.C \
cs_apps.C \
cs_benchmark.C \
cs_cmdline.C \
cs_data.C \
cs_files.C \
cs_prefs.C \
cs_scheduler.C \
cs_statefile.C \
cs_trickle.C \
dhrystone.C \
dhrystone2.C \
file_names.C \
file_xfer.C \
gui_http.C \
gui_rpc_server.C \
gui_rpc_server_ops.C \
hostinfo_network.C \
hostinfo_unix.C \
http_curl.C \
log_flags.C \
main.C \
net_stats.C \
net_xfer_curl.C \
pers_file_xfer.C \
scheduler_op.C \
time_stats.C \
whetstone.C
acct_mgr.cpp \
acct_setup.cpp \
app.cpp \
app_control.cpp \
app_graphics.cpp \
app_start.cpp \
check_state.cpp \
client_msgs.cpp \
client_state.cpp \
client_types.cpp \
cs_account.cpp \
cs_apps.cpp \
cs_benchmark.cpp \
cs_cmdline.cpp \
cs_data.cpp \
cs_files.cpp \
cs_prefs.cpp \
cs_scheduler.cpp \
cs_statefile.cpp \
cs_trickle.cpp \
dhrystone.cpp \
dhrystone2.cpp \
file_names.cpp \
file_xfer.cpp \
gui_http.cpp \
gui_rpc_server.cpp \
gui_rpc_server_ops.cpp \
hostinfo_network.cpp \
hostinfo_unix.cpp \
http_curl.cpp \
log_flags.cpp \
main.cpp \
net_stats.cpp \
net_xfer_curl.cpp \
pers_file_xfer.cpp \
scheduler_op.cpp \
time_stats.cpp \
whetstone.cpp
boinc_client_DEPENDENCIES = $(LIBRSA)
boinc_client_CPPFLAGS = -D_USE_CURL -I../../curl-7.14.0/include -I $(srcdir)/win $(AM_CPPFLAGS) -O3
@ -62,7 +62,7 @@ boinc_client_LDADD = -L/usr/local/ssl/lib -lssl -L../../curl-7.14.0/lib -lcurl -
#boinc_client_LDFLAGS = $(STATIC_FLAGS)
# the following don't do anything
cpu_benchmark_SOURCES = whetstone.C dhrystone.C
cpu_benchmark_SOURCES = whetstone.cpp dhrystone.cpp
cpu_benchmark_CFLAGS = -O3 $(AM_CFLAGS)
all-local: client-bin

View File

@ -53,13 +53,13 @@ LIBS = -L ../lib \
-lssl \
-L /usr/local/lib/ -lcurl
.C.o:
.cpp.o:
$(CC) -c -o $*.o $<
boinc_client: $(OBJ)
$(CC) $(OBJ) $(LIBS) -o boinc_client
dependencies: *.C
$(CC) -M *.C > dependencies
dependencies: *.cpp
$(CC) -M *.cpp > dependencies
include dependencies

View File

@ -16,7 +16,7 @@ all-local: client-bin
client-bin: @CLIENT_CMD_BIN_FILENAME@
boinc_cmd_SOURCES = \
boinc_cmd.C \
boinc_cmd.cpp \
gui_rpc_client.h
boinc_cmd_LDADD = $(lib_LIBRARIES) $(PTHREAD_LIBS)
@ -30,12 +30,12 @@ boinc_cmd_LDADD = $(lib_LIBRARIES) $(PTHREAD_LIBS)
@STRIP@ $@
lib_LIBRARIES = libboinc.a
EXTRA_DIST = *.h *.C
EXTRA_DIST = *.h *.cpp
if OS_DARWIN
mac_sources = \
mac/dyld_gdb.h \
mac/mac_backtrace.C \
mac/mac_backtrace.cpp \
mac/mac_backtrace.h \
mac/QBacktrace.c \
mac/QBacktrace.h \
@ -54,32 +54,32 @@ mac_sources =
endif
libboinc_a_SOURCES = \
app_ipc.C \
base64.C \
cert_sig.C \
coproc.C \
crypt.C \
diagnostics.C \
filesys.C \
gui_rpc_client.C \
gui_rpc_client_ops.C \
gui_rpc_client_print.C \
hostinfo.C \
app_ipc.cpp \
base64.cpp \
cert_sig.cpp \
coproc.cpp \
crypt.cpp \
diagnostics.cpp \
filesys.cpp \
gui_rpc_client.cpp \
gui_rpc_client_ops.cpp \
gui_rpc_client_print.cpp \
hostinfo.cpp \
md5.c \
md5_file.C \
mem_usage.C \
mfile.C \
miofile.C \
msg_log.C \
network.C \
parse.C \
prefs.C \
procinfo_unix.C \
proxy_info.C \
shmem.C \
str_util.C \
util.C \
unix_util.C \
md5_file.cpp \
mem_usage.cpp \
mfile.cpp \
miofile.cpp \
msg_log.cpp \
network.cpp \
parse.cpp \
prefs.cpp \
procinfo_unix.cpp \
proxy_info.cpp \
shmem.cpp \
str_util.cpp \
util.cpp \
unix_util.cpp \
$(mac_sources)
pkginclude_HEADERS = \
@ -104,10 +104,10 @@ pkginclude_HEADERS = \
str_util.h \
util.h
md5_test_SOURCES = md5_test.C md5.c md5_file.C
shmem_test_SOURCES = shmem_test.C shmem.C
msg_test_SOURCES = msg_test.C msg_queue.C
crypt_prog_SOURCES = crypt_prog.C crypt.C md5.c md5_file.C filesys.C
md5_test_SOURCES = md5_test.cpp md5.c md5_file.cpp
shmem_test_SOURCES = shmem_test.cpp shmem.cpp
msg_test_SOURCES = msg_test.cpp msg_queue.cpp
crypt_prog_SOURCES = crypt_prog.cpp crypt.cpp md5.c md5_file.cpp filesys.cpp
crypt_prog_DEPENDENCIES =
crypt_prog_LDADD = $(lib_LIBRARIES) $(RSA_LIBS) $(PTHREAD_LIBS)

Some files were not shown because too many files have changed in this diff Show More