📄 makefile
字号:
#Set this to the directory where your bsafe include files resideBSAFEINC = /usr/local/bsafe40/solar27/library/include#Set this to the directory where your ssl include files resideSSLINC = /usr/local/ssl/includeCC = gccINCLDIRS = -I./ -I../ -I$(BSAFEINC) -I$(SSLINC)WARNING_FLAGS = -WallCFLAGS = -g $(WARNING_FLAGS)MACRO_FLAGS = -D_POSIX_THREADS -DSOLARIS -DOSPD_DEBUG -DOSP_SDK -DOSPC_DEBUG=1# For SSLRef:#SSL_LIBS = -lsslref-bsafe#SSL_OBJS = ../ospsslref.o# For OpenSSL:SSL_LIBS = -lssl -lcryptoSSL_OBJS = ../ospopenssl.o#Set this to the location of your ssl librariesSSL_LIBDIRS = -L/usr/local/ssl/lib#Set this to the location of your bsafe librariesBSAFE_LIBDIR = -L/usr/local/bsafe40/solar27/library/lib#LIBS = -lnsl -lsocket -ldl -lm $(SSL_LIBS) -losp \ -lbswift -lbsafe -lpthread OSP_LIBDIR = ../../lib/client/$(TARGET_OS)LIBDIRS = $(OSP_LIBDIR) $(SSL_LIBDIRS) $(BSAFE_LIBDIR)EXEC =../..//bin/enrollCREATED_OBJS = osptnepinit.o osptnepenroll.o osptnep.o osptneputil.oOSP_OBJS = ../ospbsafetstd.oOBJS = $(CREATED_OBJS) $(OSP_OBJS) $(SSL_OBJS)# Rule for converting all of the source files into objects:.c.o: $(PURIFY) $(CC) -c $(CFLAGS) -c $(MACRO_FLAGS) $(INCLDIRS) -DBSAFE $(<) # Rule for creating the output executable:enroll: $(OBJS) $(PURIFY) $(CC) -o $(EXEC) $(OBJS) $(LIBDIRS) $(LIBS) $(INCLDIRS)clean: rm -f $(CREATED_OBJS) $(EXEC)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -