Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
darshan
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
74
Issues
74
List
Boards
Labels
Milestones
Merge Requests
6
Merge Requests
6
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
darshan
darshan
Commits
6959ca27
Commit
6959ca27
authored
Aug 07, 2015
by
Shane Snyder
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
darshan-util makefile cleanup
parent
a2ef6c69
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
28 deletions
+19
-28
darshan-util/Makefile.in
darshan-util/Makefile.in
+19
-14
darshan-util/darshan-log-params.c
darshan-util/darshan-log-params.c
+0
-14
No files found.
darshan-util/Makefile.in
View file @
6959ca27
...
...
@@ -13,6 +13,9 @@ libdir = $(DESTDIR)@libdir@
pkgconfigdir
=
$(DESTDIR)$(libdir)
/pkgconfig
DARSHAN_LOG_FORMAT
=
$(srcdir)
/../darshan-log-format.h
DARSHAN_MOD_LOG_FORMATS
=
$(srcdir)
/../darshan-posix-log-format.h
$(srcdir)
/../darshan-mpiio-log-format.h
$(srcdir)
/../darshan-hdf5-log-format.h
$(srcdir)
/../darshan-pnetcdf-log-format.h
DARSHAN_MOD_LOGUTIL_HEADERS
=
darshan-posix-logutils.h darshan-mpiio-logutils.h darshan-hdf5-logutils.h darshan-pnetcdf-logutils.h
DARSHAN_ENABLE_SHARED
=
@DARSHAN_ENABLE_SHARED@
VPATH
=
$(srcdir)
...
...
@@ -61,6 +64,11 @@ darshan-hdf5-logutils.o: darshan-hdf5-logutils.c darshan-logutils.h darshan-hdf5
darshan-hdf5-logutils.po
:
darshan-hdf5-logutils.c darshan-logutils.h darshan-hdf5-logutils.h $(DARSHAN_LOG_FORMAT) $(srcdir)/../darshan-hdf5-log-format.h | uthash-1.9.2
$(CC)
$(CFLAGS_SHARED)
-c
$<
-o
$@
darshan-pnetcdf-logutils.o
:
darshan-pnetcdf-logutils.c darshan-logutils.h darshan-pnetcdf-logutils.h $(DARSHAN_LOG_FORMAT) $(srcdir)/../darshan-pnetcdf-log-format.h | uthash-1.9.2
$(CC)
$(CFLAGS)
-c
$<
-o
$@
darshan-pnetcdf-logutils.po
:
darshan-pnetcdf-logutils.c darshan-logutils.h darshan-pnetcdf-logutils.h $(DARSHAN_LOG_FORMAT) $(srcdir)/../darshan-pnetcdf-log-format.h | uthash-1.9.2
$(CC)
$(CFLAGS_SHARED)
-c
$<
-o
$@
libdarshan-util.so
:
darshan-logutils.po darshan-posix-logutils.po darshan-mpiio-logutils.po darshan-hdf5-logutils.po darshan-pnetcdf-logutils.po
$(CC)
$(CFLAGS_SHARED)
$(LDFLAGS)
-o
$@
$^
$(LIBS)
...
...
@@ -70,18 +78,18 @@ libdarshan-util.a: darshan-logutils.o darshan-posix-logutils.o darshan-mpiio-log
jenkins
:
util/bin/jenkins.o lookup3.o
$(CC)
$(CFLAGS)
$(LDFLAGS)
$<
-o
$@
lookup3.o
$(LIBS)
darshan-parser
:
darshan-parser.c darshan-logutils.h darshan-posix-logutils.h darshan-mpiio-logutils.h $(DARSHAN_LOG_FORMAT) $(srcdir)/../darshan-posix-log-format.h $(srcdir)/../darshan-mpiio-log-format.h libdarshan-util.a | uthash-1.9.2
lookup3.o
:
lookup3.c
$(CC)
$(CFLAGS)
-c
$<
-o
$@
darshan-parser
:
darshan-parser.c darshan-logutils.h $(DARSHAN_LOG_FORMAT) $(DARSHAN_MOD_LOGUTIL_HEADERS) $(DARSHAN_MOD_LOG_FORMATS) libdarshan-util.a | uthash-1.9.2
$(CC)
$(CFLAGS)
$(LDFLAGS)
$^
-o
$@
$(LIBS)
darshan-analyzer
:
darshan-analyzer.c darshan-logutils.h $(DARSHAN_LOG_FORMAT) $(DARSHAN_MOD_LOGUTIL_HEADERS) $(DARSHAN_MOD_LOG_FORMATS) libdarshan-util.a | uthash-1.9.2
$(CC)
$(CFLAGS)
$(LDFLAGS)
$^
-o
$@
$(LIBS)
#darshan-convert: darshan-convert.c $(DARSHAN_LOG_FORMAT) darshan-logutils.h darshan-logutils.o lookup3.o
# $(CC) $(CFLAGS) $(LDFLAGS) $< darshan-logutils.o lookup3.o -o $@ $(LIBS)
#darshan-analyzer: darshan-analyzer.c $(DARSHAN_LOG_FORMAT) darshan-logutils.h darshan-logutils.o
# $(CC) $(CFLAGS) $(LDFLAGS) $< darshan-logutils.o -o $@ $(LIBS)
#darshan-log-params: darshan-log-params.c $(DARSHAN_LOG_FORMAT)
# $(CC) $(CFLAGS) $(LDFLAGS) $< -o $@ $(LIBS)
#darshan-diff: darshan-diff.o $(DARSHAN_LOG_FORMAT) darshan-logutils.o darshan-logutils.h
# $(CC) $(CFLAGS) $(LDFLAGS) $< darshan-logutils.o -o $@ $(LIBS)
#darshan-diff.o: darshan-diff.c
...
...
@@ -93,9 +101,6 @@ darshan-parser: darshan-parser.c darshan-logutils.h darshan-posix-logutils.h dar
#test/gz-bench: test/gz-bench.c mktestdir
# $(CC) $(CFLAGS) $(LDFLAGS) -lz $< -o $@
lookup3.o
:
lookup3.c
$(CC)
$(CFLAGS)
-c
$<
-o
$@
install
::
all
install
-d
$(bindir)
install
-d
$(libdir)
...
...
@@ -104,14 +109,14 @@ install:: all
install
-m
755 darshan-parser
$(bindir)
# install -m 755 darshan-convert $(bindir)
# install -m 755 darshan-diff $(bindir)
#
install -m 755 darshan-analyzer $(bindir)
install
-m
755
darshan-analyzer
$(bindir)
# install -m 755 $(srcdir)/darshan-summary-per-file.sh $(bindir)
install
-m
755
libdarshan-util.a
$(libdir)
ifeq
($(DARSHAN_ENABLE_SHARED),1)
install
-m
755
libdarshan-util.so
$(libdir)
endif
#
install -m 644 $(srcdir)/darshan-logutils.h $(includedir)
#
install -m 644 $(DARSHAN_LOG_FORMAT) $(includedir)
install
-m
644
$(srcdir)/darshan-logutils.h
$(includedir)
install
-m
644
$(DARSHAN_LOG_FORMAT)
$(includedir)
# install -m 755 darshan-job-summary/bin/darshan-job-summary.pl $(bindir)
# install -d $(libdir)/TeX
# install -m 644 $(srcdir)/darshan-job-summary/lib/TeX/Encode.pm $(libdir)/TeX/
...
...
@@ -124,7 +129,7 @@ endif
clean
::
rm
-f
*
.o
*
.a darshan-parser darshan-
posix-parser darshan-mpiio-pars
er
rm
-f
*
.o
*
.a darshan-parser darshan-
analyz
er
distclean
::
clean
rm
-f
darshan-runtime-config.h aclocal.m4 autom4te.cache/
*
config.status config.log Makefile util/bin/darshan-job-summary.pl
...
...
darshan-util/darshan-log-params.c
deleted
100644 → 0
View file @
a2ef6c69
#include <stdio.h>
#include "darshan-log-format.h"
int
main
(
int
argc
,
char
**
argv
)
{
printf
(
"version: %s
\n
"
,
CP_VERSION
);
printf
(
"CP_JOB_RECORD_SIZE: %d
\n
"
,
CP_JOB_RECORD_SIZE
);
printf
(
"CP_EXE_LEN: %zu
\n
"
,
CP_EXE_LEN
);
printf
(
"CP_FILE_RECORD_SIZE: %zu
\n
"
,
CP_FILE_RECORD_SIZE
);
printf
(
"CP_NAME_SUFFIX_LEN: %d
\n
"
,
CP_NAME_SUFFIX_LEN
);
printf
(
"CP_NUM_INDICES: %d
\n
"
,
CP_NUM_INDICES
);
printf
(
"CP_F_NUM_INDICES: %d
\n
"
,
CP_F_NUM_INDICES
);
return
(
0
);
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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