oclogin / GNUmakefile.legacy

include ../../MasterMake.gnu

IPATH=-I../../src \
      -I../../blake \
      -I../../NetBuffer \
      -I$(DAYBO_SHARED)stds \
      -I$(PREFIX_INC)

OBJS=oclogin$(O) events$(O) NetBuffer$(O)

MYLIBS=../../libblake$(LIB) \
       $(PREFIX_LIB)libdpcrtlmm$(LIB) \
       $(PREFIX_LIB)libdlini$(LIB) \
       $(PREFIX_LIB)libdybocryp$(LIB) \
       $(PREFIX_LIB)librttb$(LIB) \
       $(PREFIX_LIB)libdaybothreads$(LIB)

TARGET=oclogin
ERASE=perl $(DAYBO_SHARED)scripts/erase.pl

ifdef DAYBOTHREADS_PTH
THREADLIB=$(PTH_LIB)
else
THREADLIB=-lpthread
endif

all : $(TARGET)

$(TARGET) : $(OBJS) $(THISFILE)
	g++ -g -o $(TARGET) $(OBJS) $(MYLIBS) $(THREADLIB)

oclogin$(O) : oclogin.cpp $(THISFILE)
	g++ -c -g $(IPATH) -o oclogin$(O) oclogin$(CPP)

events$(O) : events.cpp $(THISFILE)
	g++ -c -g $(IPATH) -o events$(O) events$(CPP)

NetBuffer$(O) : ../../NetBuffer/NetBuffer$(CPP) $(THISFILE)
	g++ -c -g $(IPATH) -o NetBuffer$(O) ../../NetBuffer/NetBuffer$(CPP)

clean:
	$(ERASE) $(TARGET) $(OBJS)
	$(ERASE) $(TARGET).core core
	$(ERASE) typescript DPCRTLMM.LOG blake_mutant.log
	$(ERASE) $(RESPFILE)
	echo " " > $(DEPSFILE)

list:
	@$(DIR) $(TARGET)

depend:
	@echo Generating dependencies for ./clients/oclogin
	@$(DIR) *$(CPP) > $(RESPFILE)
	@$(PREFIX_DAYBODEP_BIN)daybodep $(IPATH) @$(RESPFILE) > $(DEPSFILE)

include $(DEPSFILE)
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.