- tms-old
 
            - tms        
 
            - tmsWeb        
 
            - Makefile        
 
    
            
        
    
    
    
        
        This file ( 996B ) exceeds the allowed full mode (48 kb) size.
        The editor full hight is disabled, only scrolling is allowed..
    
    
        
        If you wish to edit a file, it is recommended to use the scroll mode as some users do not like the full height
        mode, although some users like it.
    
    
                    ################################################################################
#	Makefile
#		T.Barnaby,	BEAM Ltd,	2007-02-13
################################################################################
#
TOP	= $(shell pwd)/..
include ${TOP}/Makefile.config
#DEBUGFLAGS	= -O2 -g -pg
DEBUGFLAGS	= -O2 -g
LDLIBS		:= -lTms $(LDLIBS)
CXXFLAGS	+= -DDEBUG
PROGS		= tmsWeb
OBJS		= Config.o Debug.o BHtml.o BHtmlPage.o NetworkHttp.o Control.o main.o
# General
all:	${PROGS}
install:	all
	mkdir -p ${BINDIR}
	cp ${PROGS} ${BINDIR}
	mkdir -p ${HTMLDIR}
	cp -a html/* ${HTMLDIR}
	mkdir -p ${SYSETCDIR}
	cp tmsWeb.conf ${SYSETCDIR}
	#mkdir -p ${SYSETCDIR}/rc.d/init.d
	#cp tmsWeb.rc ${SYSETCDIR}/rc.d/init.d/tmsWeb
	mkdir -p ${SYSSYSTEMD}/system
	cp tmsWeb.service ${SYSSYSTEMD}/system
depend:
	makedepend -fMakefile.depend $(DFLAGS) *.cpp *.cc 2> /dev/null
tmsWeb:	$(OBJS)
	$(CXX) $(LDFLAGS) -o tmsWeb $(OBJS) $(LDLIBS)
clean:
	rm -f *.o *.a *.so $(PROGS) html/tmp/*
include Makefile.depend