⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 makefile

📁 适合于Unix/Linux下的一个持久数据库连接池
💻
字号:
top_builddir = ../../..include ../../../config.mk.PHONY: all clean rebuild install uninstallCPPFLAGS = $(BASECPPFLAGS) -I./ -I$(top_builddir)/ -I$(top_builddir)/src/common -I$(top_builddir)/src/util -I$(top_builddir)/src/connection $(RUDIMENTSINCLUDES) $(POSTGRESQLINCLUDES) $(SIDINCLUDES)LIBS = $(POSTGRESQLLIBS) -L$(top_builddir)/src/connection -lsqlrconnection -L$(top_builddir)/src/util -lsqlrutil $(RUDIMENTSLIBS) $(EXTRALIBS) $(SIDLIBS) $(LIBDMALLOC) $(LIBEFENCE)DEBUGLIBS = $(POSTGRESQLLIBS) -L$(top_builddir)/src/connection -lsqlrconnection_debug -L$(top_builddir)/src/util -lsqlrutil $(RUDIMENTSLIBS) $(EXTRALIBS) $(SIDLIBS) $(LIBDMALLOC) $(LIBEFENCE)ifneq ($(strip $(POSTGRESQLLIBSPATH)),)ifeq ($(POSTGRESQLUSERPATH),yes)	RPATH = -R $(POSTGRESQLLIBSPATH)endifendififneq ($(strip $(libdir)),)ifeq ($(SERVERUSERPATH),yes)	RPATH += -R $(libdir)endifendifSRCS= postgresqlconnection.C main.CLOBJS= postgresqlconnection.lo main.loDLOBJS= postgresqlconnection.d.lo main.d.lo.SUFFIXES: .lo .d.lo.C.lo:	$(LIBTOOL) --mode=compile $(CXX) $(CXXFLAGS) $(CPPFLAGS) -c $< -o $@.C.d.lo:	$(LIBTOOL) --mode=compile $(CXX) $(CXXFLAGS) $(CPPFLAGS) -DSERVER_DEBUG -c $< -o $@all: sqlr-connection-postgresql sqlr-connection-postgresql-debugclean:	$(LIBTOOL) --mode=clean $(RM) sqlr-connection-postgresql$(EXE)	$(LIBTOOL) --mode=clean $(RM) sqlr-connection-postgresql-debug$(EXE)	$(LIBTOOL) --mode=clean $(RM) *.lo	$(LIBTOOL) --mode=clean $(RM) *.o	$(RMTREE) .libsrebuild: clean allsqlr-connection-postgresql: $(SRCS) $(LOBJS)	$(LIBTOOL) --mode=link $(CXX) $(POSTGRESQLSTATIC) $(LDFLAGS) -o $@ $(LOBJS) $(LIBS) $(RPATH)sqlr-connection-postgresql-debug: $(SRCS) $(DLOBJS)	$(LIBTOOL) --mode=link $(CXX) $(POSTGRESQLSTATIC) $(LDFLAGS) -o $@ $(DLOBJS) $(DEBUGLIBS) $(RPATH)install:	$(MKINSTALLDIRS) $(bindir)	$(LTINSTALL) sqlr-connection-postgresql$(EXE) $(bindir)	$(LTINSTALL) sqlr-connection-postgresql-debug$(EXE) $(bindir)uninstall:	$(LIBTOOL) --mode=uninstall $(RM) $(bindir)/sqlr-connection-postgresql$(EXE)	$(LIBTOOL) --mode=uninstall $(RM) $(bindir)/sqlr-connection-postgresql-debug$(EXE)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -