# # arch_spec_msql.mk # # Architecture/site specific makefile fragment # for inclusion by packages that use msql. # # MSQL_LIB and MSQL_INC are environment variables # containing (or optionally loaded with) the # location of the msql files on the local machine. # # These are then appended to CPPFLAGS and LDFLAGS as # overrides. Note that the -lmsql is also appended # to LOADLIBS # # Liz Sexton-Kennedy, 26-Jun-98 # # standard definitions ifndef MSQL_DIR MSQL_INC = /usr/local/include MSQL_LIB = /usr/local/lib else MSQL_INC = $(MSQL_DIR)/include MSQL_LIB = $(MSQL_DIR)/lib endif override CPPFLAGS += -I$(MSQL_INC) override LDFLAGS += -L$(MSQL_LIB) override LOADLIBES += -lmsql