Skip to content

Commit

Permalink
build: shortened J_COMPILER_DEPEND_FLAGS to J_DEPEND_FLAGS
Browse files Browse the repository at this point in the history
  • Loading branch information
jafl committed May 23, 2024
1 parent 9f87285 commit acebb80
Show file tree
Hide file tree
Showing 17 changed files with 24 additions and 19 deletions.
5 changes: 5 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ the include file directories.
Changes to the build system
===========================

4.2.0
-----

* Shortened J_COMPILER_DEPEND_FLAGS to J_DEPEND_FLAGS

4.0.0
-----

Expand Down
8 changes: 4 additions & 4 deletions include/jx-af/make/jx_config_common
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ else
J_OPTIMIZE_LEVEL := -O${J_DEBUG_OPTIMIZATION_LEVEL} -g
endif

J_COMPILER_DEPEND_FLAGS_FOR_BISON = ${J_RAW_SYSTEM_STUFF}
J_DEPEND_FLAGS_FOR_BISON = ${J_RAW_SYSTEM_STUFF}

J_COMPILER_DEPEND_FLAGS = \
-Wall -Werror ${J_COMPILER_DEPEND_FLAGS_FOR_BISON}
J_DEPEND_FLAGS = \
-Wall -Werror ${J_DEPEND_FLAGS_FOR_BISON}

ifdef SNAPCRAFT_BUILD_ENVIRONMENT
J_COMPILER_DEPEND_FLAGS += -D_J_EVERGREEN_INSTALL
J_DEPEND_FLAGS += -D_J_EVERGREEN_INSTALL
endif

J_GCC_LIBS := -lxml2 ${J_GCC_LIBS}
Expand Down
2 changes: 1 addition & 1 deletion libj2dplot/Make.header
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ include ${MAKE_INCLUDE}/jx_config

# makemake variables

DEPENDFLAGS = ${J_COMPILER_DEPEND_FLAGS} ${SEARCHDIRS}
DEPENDFLAGS = ${J_DEPEND_FLAGS} ${SEARCHDIRS}

#####

Expand Down
2 changes: 1 addition & 1 deletion libj2dplot/testui/Make.header
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ SEARCHDIRS := -I./code ${SEARCHDIRS}

# makemake variables

DEPENDFLAGS := ${J_COMPILER_DEPEND_FLAGS} -g ${SEARCHDIRS}
DEPENDFLAGS := ${J_DEPEND_FLAGS} -g ${SEARCHDIRS}

# library dependencies

Expand Down
2 changes: 1 addition & 1 deletion libjcore/Make.header
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ SEARCHDIRS += ${shell xml2-config --cflags}

# makemake variables

DEPENDFLAGS = ${J_COMPILER_DEPEND_FLAGS} ${SEARCHDIRS}
DEPENDFLAGS = ${J_DEPEND_FLAGS} ${SEARCHDIRS}

#####

Expand Down
2 changes: 1 addition & 1 deletion libjexpr/Make.header
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ include ${MAKE_INCLUDE}/jx_config

# makemake variables

DEPENDFLAGS = ${J_COMPILER_DEPEND_FLAGS} ${SEARCHDIRS}
DEPENDFLAGS = ${J_DEPEND_FLAGS} ${SEARCHDIRS}

#####

Expand Down
2 changes: 1 addition & 1 deletion libjfs/Make.header
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ include ${MAKE_INCLUDE}/jx_config

# makemake variables

DEPENDFLAGS = ${J_COMPILER_DEPEND_FLAGS} ${SEARCHDIRS}
DEPENDFLAGS = ${J_DEPEND_FLAGS} ${SEARCHDIRS}

#####

Expand Down
2 changes: 1 addition & 1 deletion libjx/Make.header
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ SEARCHDIRS := -I./image-build -I./cursor -I./cursor-mask ${SEARCHDIRS}

# makemake variables

DEPENDFLAGS = ${J_COMPILER_DEPEND_FLAGS} ${SEARCHDIRS}
DEPENDFLAGS = ${J_DEPEND_FLAGS} ${SEARCHDIRS}

#####

Expand Down
2 changes: 1 addition & 1 deletion libjx/testui/Make.header
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ SEARCHDIRS := -I./code ${SEARCHDIRS}

# makemake variables

DEPENDFLAGS := ${J_COMPILER_DEPEND_FLAGS} -g ${SEARCHDIRS}
DEPENDFLAGS := ${J_DEPEND_FLAGS} -g ${SEARCHDIRS}

# library dependencies

Expand Down
2 changes: 1 addition & 1 deletion tools/compile_jstrings/Make.header
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ include ${MAKE_INCLUDE}/jx_config

# makemake variables

DEPENDFLAGS := ${J_COMPILER_DEPEND_FLAGS} ${SEARCHDIRS}
DEPENDFLAGS := ${J_DEPEND_FLAGS} ${SEARCHDIRS}

# library dependencies - do not invoke default behavior in app_targets

Expand Down
2 changes: 1 addition & 1 deletion tools/jx_layout_editor/Make.header
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ endif

# makemake variables

DEPENDFLAGS := ${J_COMPILER_DEPEND_FLAGS} ${SEARCHDIRS} \
DEPENDFLAGS := ${J_DEPEND_FLAGS} ${SEARCHDIRS} \
-DJX_INCLUDE_PATH=\"${JX_INCLUDE_PATH}\" \
-DCODE_CRUSADER_BINARY=\"${CODE_CRUSADER_BINARY}\"

Expand Down
2 changes: 1 addition & 1 deletion tools/jx_memory_debugger/Make.header
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ SEARCHDIRS := -I./code -I./image-build ${SEARCHDIRS}

# makemake variables

DEPENDFLAGS := ${J_COMPILER_DEPEND_FLAGS} ${SEARCHDIRS}
DEPENDFLAGS := ${J_DEPEND_FLAGS} ${SEARCHDIRS}

# library dependencies

Expand Down
2 changes: 1 addition & 1 deletion tools/jx_menu_editor/Make.header
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ endif

# makemake variables

DEPENDFLAGS := ${J_COMPILER_DEPEND_FLAGS} ${SEARCHDIRS} \
DEPENDFLAGS := ${J_DEPEND_FLAGS} ${SEARCHDIRS} \
-DJX_INCLUDE_PATH=\"${JX_INCLUDE_PATH}\"

# library dependencies
Expand Down
2 changes: 1 addition & 1 deletion tools/jx_project_wizard/Make.header
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ endif

# makemake variables

DEPENDFLAGS := ${J_COMPILER_DEPEND_FLAGS} ${SEARCHDIRS} \
DEPENDFLAGS := ${J_DEPEND_FLAGS} ${SEARCHDIRS} \
-DJX_PATH=\"${JX_PATH}\" \
-DTEMPLATE_ROOT=\"${APP_DATA_FILE_DIR}\"

Expand Down
2 changes: 1 addition & 1 deletion tools/jx_project_wizard/app_template/Make.header
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ SEARCHDIRS := -I./code -I./image-build ${SEARCHDIRS}

# makemake variables

DEPENDFLAGS := ${J_COMPILER_DEPEND_FLAGS} ${SEARCHDIRS} <MDI_DEF>
DEPENDFLAGS := ${J_DEPEND_FLAGS} ${SEARCHDIRS} <MDI_DEF>

# library dependencies

Expand Down
2 changes: 1 addition & 1 deletion tools/jx_project_wizard/lib_template/Make.header
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ include ${MAKE_INCLUDE}/jx_config

# makemake variables

DEPENDFLAGS = ${J_COMPILER_DEPEND_FLAGS} ${SEARCHDIRS}
DEPENDFLAGS = ${J_DEPEND_FLAGS} ${SEARCHDIRS}

#####

Expand Down
2 changes: 1 addition & 1 deletion tutorial/Make.header
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ include ${MAKE_INCLUDE}/jx_config

# makemake variables

DEPENDFLAGS := ${J_COMPILER_DEPEND_FLAGS} -g ${SEARCHDIRS}
DEPENDFLAGS := ${J_DEPEND_FLAGS} -g ${SEARCHDIRS}

# library dependencies

Expand Down

0 comments on commit acebb80

Please sign in to comment.