# # arch_spec_ocs.mk # # Architecture/site specific makefile fragment # for inclusion by packages that use ocs. # # OCS_LIB and OCS_INC are environment variables # containing (or optionally loaded with) the # location of the ocs files on the local machine. # # These are then appended to CPPFLAGS and LDFLAGS as # overrides. Note that the -locs is also appended. # # Robert Harris, Dec 17 96 # # standard definitions ifndef OCS_DIR OCS_INC = /usr/local/include OCS_LIB = /usr/local/lib else OCS_INC = $(OCS_DIR)/include OCS_LIB = $(OCS_DIR)/lib endif override CPPFLAGS += -I$(OCS_INC) override LDFLAGS += -L$(OCS_LIB) override LOADLIBES += -locs