# TripleSoup build settings file # # This file is generated by configure and should not be edited! # If you need to make changes, run configure with the options you # need/want. # # This file is included by the various makefiles # TOPDIR=@top_srcdir@ # paths from various libraries we rely on REDLAND_CFLAGS=@REDLAND_CFLAGS@ REDLAND_LDFLAGS=@REDLAND_LDFLAGS@ # programs we use APXS=@APXS@ # settings that configure figures out A_EXT=@A_EXT@ CFLAGS=@CFLAGS@ @CPPFLAGS@ INCLUDES=-I. -I$(TOPDIR)/include LDFLAGS=@LDFLAGS@ PICFLAGS=@PICFLAGS@ SO_EXT=@SO_EXT@ SO_FLAGS=@SO_FLAGS@ # Static library usage definition STATIC_LIBS=$(TOPDIR)/libraries/b/libb.$(A_EXT) # This line is as far as configure needs to touch - below it we simply # use the options defined above for our nefarious means. MAKE_STATIC=@$(AR) $(ARFLAGS) lib$(MODULE).$(A_EXT) $(OBJS) && \ echo "\t\tStatic library lib$(MODULE).$(A_EXT) created" MAKE_SHARED=@$(CC) $(SO_FLAGS) -o lib$(MODULE).$(SO_EXT) \ $(LOBJS) $(LDFLAGS) && \ echo "\t\tShared library lib$(MODULE).$(SO_EXT) created" # This rules makes a binary object that comrpises a single object, passed # in using the '$<' argument. Created objects use static linkages to # try and make sure they are usable. # i.e. this rules should NEVER be used for files destined to be installed!!! MAKE_BIN_SINGLE_OBJ=@$(CC) $(LDFLAGS) $< $(STATIC_LIBS) $($@_EXTRA_LIBS) -o $@ \ && echo "\t\tBinary object $@ created" # Rules for making objects # .SUFFIXES: .c .o .lo # Static object creation .c.o: @$(CC) $(CFLAGS) $(INCLUDES) $(DEFINES) \ -c $< -o $@ && echo "\t\tCreated object $@" # Shared object creation .c.lo: @$(CC) $(CFLAGS) $(PICFLAGS) $(INCLUDES) $(DEFINES) \ -c $< -o $@ && echo "\t\tCreated shared object $@"