Skip to content

Commit

Permalink
Fix engine subscriber example make file
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Hill committed Oct 12, 2017
1 parent 0aff627 commit 811493f
Show file tree
Hide file tree
Showing 3 changed files with 62 additions and 115 deletions.
3 changes: 3 additions & 0 deletions docs/Changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
Version 1.4.1a (October 12 2017 for Haiku Nightly Image)
-Fix make file for Engine Subscriber Example

Version 1.4.1 (September 16 2017 for Haiku Nightly Image)
Bug fixes:
-Fix drawing issue in the Launcher when a selected item is under a shown menu
Expand Down
174 changes: 59 additions & 115 deletions src/Engine/SubscriberExample/makefile
Original file line number Diff line number Diff line change
@@ -1,121 +1,65 @@
NAME := subscriber_example
TYPE := APP
SRCS := ../EngineSubscriber.cpp \
NAME = subscriber_example
TYPE = APP
SRCS = ../EngineSubscriber.cpp \
SubscriberExample.cpp
LIBS := be tracker stdc++.r4
OPTIMIZE := FULL
RSRCS := subscriber_example.rsrc

# Specify your RDEF files, if any.
RDEFS :=

# specify additional paths to directories following the standard
# libXXX.so or libXXX.a naming scheme. You can specify full paths
# or paths relative to the makefile. The paths included may not
# be recursive, so include all of the paths where libraries can
# be found. Directories where source files are found are
# automatically included.
LIBPATHS :=

# additional paths to look for system headers
# these use the form: #include <header.h>
# source file directories are NOT auto-included here
SYSTEM_INCLUDE_PATHS :=

# additional paths to look for local headers
# thes use the form: #include "header.h"
# source file directories are automatically included
LOCAL_INCLUDE_PATHS :=

# specify any preprocessor symbols to be defined. The symbols will not
# have their values set automatically; you must supply the value (if any)
# to use. For example, setting DEFINES to "DEBUG=1" will cause the
# compiler option "-DDEBUG=1" to be used. Setting DEFINES to "DEBUG"
# would pass "-DDEBUG" on the compiler's command line.
DEFINES :=

# specify special warning levels
# if unspecified default warnings will be used
# NONE = supress all warnings
# ALL = enable all warnings
WARNINGS :=

# specify whether image symbols will be created
# so that stack crawls in the debugger are meaningful
# if TRUE symbols will be created
SYMBOLS :=

# specify debug settings
# if TRUE will allow application to be run from a source-level
# debugger. Note that this will disable all optimzation.
DEBUGGER :=

# specify additional compiler flags for all files
COMPILER_FLAGS :=

# specify additional linker flags
LINKER_FLAGS :=

# specify additional flex flags
FLEX_FLAGS :=

# specify additional bison flags
BISON_FLAGS :=

# specify the version of this particular item (follows setversion parameter structure)
# for example:
# -app 3 4 0 d 0 -short "340" -long "340 "`echo -n -e '©'`"1999 GNU GPL"
# -app 1 0 1 f 0 -short "App 1.0.1" -long "Company App 1.0.1 written by FOO"
# This may also be specified in a resource.
APP_VERSION :=

# (for TYPE == DRIVER only) Specify desired location of driver in the /dev
# hierarchy. Used by the driverinstall rule. E.g., DRIVER_PATH = video/usb will
# instruct the driverinstall rule to place a symlink to your driver's binary in
# ~/add-ons/kernel/drivers/dev/video/usb, so that your driver will appear at
# /dev/video/usb when loaded. Default is "misc".
DRIVER_PATH :=
LIBS = be tracker $(STDCPPLIBS)
OPTIMIZE = FULL
RDEFS = subscriber_example.rdef

# Specify additional paths to directories following the standard libXXX.so
# or libXXX.a naming scheme. You can specify full paths or paths relative
# to the Makefile. The paths included are not parsed recursively, so
# include all of the paths where libraries must be found. Directories where
# source files were specified are automatically included.
LIBPATHS =

# Additional paths to look for system headers. These use the form
# "#include <header>". Directories that contain the files in SRCS are
# NOT auto-included here.
SYSTEM_INCLUDE_PATHS = /boot/system/develop/headers/libxml2 /boot/common/include

# Additional paths paths to look for local headers. These use the form
# #include "header". Directories that contain the files in SRCS are
# automatically included.
LOCAL_INCLUDE_PATHS = ../Icons ../Common

# Specify all the preprocessor symbols to be defined. The symbols will not
# have their values set automatically; you must supply the value (if any) to
# use. For example, setting DEFINES to "DEBUG=1" will cause the compiler
# option "-DDEBUG=1" to be used. Setting DEFINES to "DEBUG" would pass
# "-DDEBUG" on the compiler's command line.
DEFINES =

# Specify the warning level. Either NONE (suppress all warnings),
# ALL (enable all warnings), or leave blank (enable default warnings).
WARNINGS =

# With image symbols, stack crawls in the debugger are meaningful.
# If set to "TRUE", symbols will be created.
SYMBOLS =

# Includes debug information, which allows the binary to be debugged easily.
# If set to "TRUE", debug info will be created.
DEBUGGER =

# Specify any additional compiler flags to be used.
COMPILER_FLAGS =

# Specify any additional linker flags to be used.
LINKER_FLAGS =

# Specify the version of this binary. Example:
# -app 3 4 0 d 0 -short 340 -long "340 "`echo -n -e '\302\251'`"1999 GNU GPL"
# This may also be specified in a resource.
APP_VERSION =

# Specify if you want the object files to be somewhere besides the default location.
OBJ_DIR := _objects
OBJ_DIR = _objects

# Specify a non default placement for the target
TARGET_DIR := .

# If you want to see the complete build line for every file, then set this to 'true',
# otherwise it will tell you at the end what the build flags were.
CHATTY :=

# Specify a directory for the 'install' target.
INSTALL_DIR :=

# Specify the name of this makefile.
# If you leave this blank, the makefile will not be considered as part of the
# dependenies for the project, and the project will not be rebuilt when the makefile
# is changed
MAKEFILE :=

# Specify TRUE if you want the install target to create links in the BeMenu
MENU_LINKS :=

# Related to MENU_LINKS, specify the name of the direcotry in the BeMenu
# you wish the link to go in. If the directory does not exist, it will be
# created.
APP_MENU :=

# If, for some reason, you don't want to use the dependencies (flex and yacc seem to choke
# on them), set this to false
DODEPS :=

# Set this variable if you have an svg text file you wish to use as
# your target's icon.
SVG_ICON :=

# If you have some fancy custom build steps to do, specify them here
EXTRA_BUILD_STEPS :=

# If you have some other files that should trigger a re-link, such as libs in the same
# project that may get rebuilt, specify the full path to them here.
EXTRA_DEPS :=
TARGET_DIR = .

include /boot/system/develop/etc/makefile-engine
## Include the Makefile-Engine
DEVEL_DIRECTORY = \
$(shell findpaths -r "makefile_engine" B_FIND_PATH_DEVELOP_DIRECTORY)
include $(DEVEL_DIRECTORY)/etc/makefile-engine
Binary file removed src/Engine/SubscriberExample/subscriber_example
Binary file not shown.

0 comments on commit 811493f

Please sign in to comment.