Skip to content

Commit

Permalink
renamed Makefile references to TCLAP to HELPERS; do not install Optio…
Browse files Browse the repository at this point in the history
…ns.h or optionsparser.h
  • Loading branch information
danomatika committed Jul 31, 2016
1 parent 4e21577 commit 5caf4ac
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 16 deletions.
3 changes: 1 addition & 2 deletions lib/Makefile.am
Expand Up @@ -8,11 +8,10 @@ SUBDIRS = $(LIB_SUBDIRS)
# make sure libs are included in the dist tarball
DIST_SUBDIRS = lopack tinyobject

# tclap commandline parser

# libs sources, headers here because we dont want to install them
noinst_HEADERS = cpphelpers/Log.h \
cpphelpers/Path.h \
cpphelpers/optionparser.h cpphelpers/Options.h \
cpphelpers/tclap/tclap.h \
cpphelpers/tclap/CommandLine.h \
cpphelpers/tclap/tclap/Arg.h \
Expand Down
7 changes: 3 additions & 4 deletions lib/Makefile.in
Expand Up @@ -338,8 +338,8 @@ LIB_SUBDIRS = $(am__append_1) $(am__append_2)
@LOCAL_TINYOBJECT_FALSE@TINYOBJECT_LIBS = -ltinyobject
@LOCAL_TINYOBJECT_TRUE@TINYOBJECT_LIBS = -L$(top_builddir)/lib/tinyobject/src/tinyobject -ltinyobject

# tclap
TCLAP_INCLUDE = -I$(top_srcdir)/lib/cpphelpers -I$(top_srcdir)/lib/cpphelpers/tclap
# cpphelpers
HELPERS_INCLUDE = -I$(top_srcdir)/lib/cpphelpers

# load externals variables

Expand All @@ -349,11 +349,10 @@ SUBDIRS = $(LIB_SUBDIRS)
# make sure libs are included in the dist tarball
DIST_SUBDIRS = lopack tinyobject

# tclap commandline parser

# libs sources, headers here because we dont want to install them
noinst_HEADERS = cpphelpers/Log.h \
cpphelpers/Path.h \
cpphelpers/optionparser.h cpphelpers/Options.h \
cpphelpers/tclap/tclap.h \
cpphelpers/tclap/CommandLine.h \
cpphelpers/tclap/tclap/Arg.h \
Expand Down
4 changes: 2 additions & 2 deletions lib/libs.mk
Expand Up @@ -26,5 +26,5 @@ TINYOBJECT_INCLUDE =
TINYOBJECT_LIBS = -ltinyobject
endif

# tclap
TCLAP_INCLUDE = -I$(top_srcdir)/lib/cpphelpers -I$(top_srcdir)/lib/cpphelpers/tclap
# cpphelpers
HELPERS_INCLUDE = -I$(top_srcdir)/lib/cpphelpers
2 changes: 1 addition & 1 deletion src/joyosc/Makefile.am
Expand Up @@ -19,7 +19,7 @@ joyosc_SOURCES = main.cpp Common.h App.h App.cpp Config.h Config.cpp \
AM_CPPFLAGS = $(SDL_CFLAGS) \
$(LO_CFLAGS) $(LOPACK_INCLUDE) \
$(TINYXML2_CFLAGS) $(TINYOBJECT_INCLUDE) \
$(TCLAP_INCLUDE)
$(HELPERS_INCLUDE)

# libs to link
AM_LDFLAGS = $(SDL_LIBS) \
Expand Down
6 changes: 3 additions & 3 deletions src/joyosc/Makefile.in
Expand Up @@ -350,8 +350,8 @@ LIB_SUBDIRS = $(am__append_1) $(am__append_2)
@LOCAL_TINYOBJECT_FALSE@TINYOBJECT_LIBS = -ltinyobject
@LOCAL_TINYOBJECT_TRUE@TINYOBJECT_LIBS = -L$(top_builddir)/lib/tinyobject/src/tinyobject -ltinyobject

# tclap
TCLAP_INCLUDE = -I$(top_srcdir)/lib/cpphelpers -I$(top_srcdir)/lib/cpphelpers/tclap
# cpphelpers
HELPERS_INCLUDE = -I$(top_srcdir)/lib/cpphelpers

# program's sources
joyosc_SOURCES = main.cpp Common.h App.h App.cpp Config.h Config.cpp \
Expand All @@ -368,7 +368,7 @@ joyosc_SOURCES = main.cpp Common.h App.h App.cpp Config.h Config.cpp \
AM_CPPFLAGS = $(SDL_CFLAGS) \
$(LO_CFLAGS) $(LOPACK_INCLUDE) \
$(TINYXML2_CFLAGS) $(TINYOBJECT_INCLUDE) \
$(TCLAP_INCLUDE)
$(HELPERS_INCLUDE)


# libs to link
Expand Down
2 changes: 1 addition & 1 deletion src/lsjs/Makefile.am
Expand Up @@ -9,7 +9,7 @@ bin_PROGRAMS = lsjs
lsjs_SOURCES = main.cpp

# include paths
AM_CPPFLAGS = $(SDL_CFLAGS) $(TCLAP_INCLUDE)
AM_CPPFLAGS = $(SDL_CFLAGS) $(HELPERS_INCLUDE)

# libs to link
AM_LDFLAGS = $(SDL_LIBS)
6 changes: 3 additions & 3 deletions src/lsjs/Makefile.in
Expand Up @@ -328,14 +328,14 @@ LIB_SUBDIRS = $(am__append_1) $(am__append_2)
@LOCAL_TINYOBJECT_FALSE@TINYOBJECT_LIBS = -ltinyobject
@LOCAL_TINYOBJECT_TRUE@TINYOBJECT_LIBS = -L$(top_builddir)/lib/tinyobject/src/tinyobject -ltinyobject

# tclap
TCLAP_INCLUDE = -I$(top_srcdir)/lib/cpphelpers -I$(top_srcdir)/lib/cpphelpers/tclap
# cpphelpers
HELPERS_INCLUDE = -I$(top_srcdir)/lib/cpphelpers

# program's sources
lsjs_SOURCES = main.cpp

# include paths
AM_CPPFLAGS = $(SDL_CFLAGS) $(TCLAP_INCLUDE)
AM_CPPFLAGS = $(SDL_CFLAGS) $(HELPERS_INCLUDE)

# libs to link
AM_LDFLAGS = $(SDL_LIBS)
Expand Down

0 comments on commit 5caf4ac

Please sign in to comment.