Exetools  

Go Back   Exetools > General > General Discussion

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 09-23-2018, 13:52
FoxB FoxB is offline
VIP
 
Join Date: Jan 2002
Location: Earth...
Posts: 1,064
Rept. Given: 15
Rept. Rcvd 139 Times in 95 Posts
Thanks Given: 23
Thanks Rcvd at 882 Times in 346 Posts
FoxB Reputation: 100-199 FoxB Reputation: 100-199
see ch.8 pdf-file

add before $(DAEMON) section:

vendor_hostid.obj : ..\machind\vendor_hostid.c
$(CC) $(CFLAGS) $(INCS) /c ..\machind\vendor_hostid.c

add to $(DAEMON) section:

$(DAEMON): $(XTRAOBJS) $(DAEMONLIBS) vendor_hostid.obj $(SRCDIR)/lsserver.h \
lm_new.obj vendor_str.obj
$(LD) /subsystem:console /out:$(DAEMON) lsvendor.obj vendor_hostid.obj lm_new.obj \
$(XTRAOBJS) $(DAEMONLIBS) $(XTRALIB1) libcmt.lib

add to $(LMNEW_OBJ) section:

$(LMNEW_OBJ): $(SRCDIR)\lsvendor.c $(SRCDIR)\lm_code.h
lmrand1 -i $(SRCDIR)\lsvendor.c
$(CC) /c $(LMNEW_CFLAGS) -I../h lmcode.c
$(LD) /subsystem:CONSOLE lmnewgen$(MDNAME).obj lmcode.obj\
lmgr$(MDNAME).lib libcrvs$(MDNAME).lib libsb$(MDNAME).lib $(XTRALIB1) $(CRT_LIB) /out:lmnewgen.exe
if exist lm_new.c del lm_new.c
lmnewgen.exe $(VENDORNAME) -o lm_new.c
$(CC) $(LMNEW_CFLAGS) /Fo$(LMNEW_OBJ) lm_new.c
$(CC) $(CFLAGS) vendor_hostid.c

add to all next executable like:

makekey.exe: $(SRCDIR)\makekey.c $(SRCDIR)\lm_code.h lm_new.obj \
$(SRCDIR)\lmclient.h $(STATIC_CLIENTLIB)
$(CC) $(CFLAGS) $(SRCDIR)\makekey.c
$(LD) /out:makekey.exe makekey.obj vendor_hostid.obj $(STATIC_CLIENTLIB) $(XTRALIB)
if exist makekey.obj del makekey.obj
Reply With Quote
The Following User Says Thank You to FoxB For This Useful Post:
niculaita (09-23-2018)
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
When use "vendor defined encryption routines", how to set daemon related part? bridgeic General Discussion 6 01-22-2015 11:35
Need a web host Nilrem General Discussion 2 01-17-2004 16:06


All times are GMT +8. The time now is 16:54.


Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX, chessgod101
( Since 1998 )