# # # # Copyright (C) 1997-2013 by Dimitri van Heesch. # # Permission to use, copy, modify, and distribute this software and its # documentation under the terms of the GNU General Public License is hereby # granted. No representations are made about the suitability of this software # for any purpose. It is provided "as is" without express or implied warranty. # See the GNU General Public License for more details. # # Documents produced by Doxygen are derivative works derived from the # input used in their production; they are not affected by this license. ############################################################################# # Makefile for building ../lib/libdoxycfg.a # Generated by tmake at 21:18, 2016/06/21 # Project: libdoxycfg # Template: libdoxycfg.t ############################################################################# ####### Compiler, tools and options CC = gcc CXX = g++ CFLAGS = -pipe -fsigned-char -Wall -W -O2 CXXFLAGS= -pipe -fsigned-char -D_LARGEFILE_SOURCE -Wall -W -O2 INCPATH = -I../qtools AR = ar cqs RANLIB = MOC = moc TAR = tar -cf GZIP = gzip -9f ####### Files HEADERS = config.h \ configoptions.h \ portable.h SOURCES = config.cpp \ configoptions.cpp \ portable.cpp \ portable_c.c OBJECTS = ../objects/config.o \ ../objects/configoptions.o \ ../objects/portable.o \ ../objects/portable_c.o SRCMOC = OBJMOC = DIST = TARGET = ../lib/libdoxycfg.a ####### Implicit rules .SUFFIXES: .cpp .cxx .cc .C .c .cpp.o: $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $< .cxx.o: $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $< .cc.o: $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $< .C.o: $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $< .c.o: $(CC) -c $(CFLAGS) $(INCPATH) -o $@ $< ####### Build rules all: $(TARGET) staticlib: $(TARGET) $(TARGET): $(OBJECTS) $(OBJMOC) -rm -f $(TARGET) $(AR) $(TARGET) $(OBJECTS) $(OBJMOC) moc: $(SRCMOC) tmake: tmake libdoxycfg.pro dist: $(TAR) libdoxycfg.tar libdoxycfg.pro $(SOURCES) $(HEADERS) $(DIST) $(GZIP) libdoxycfg.tar clean: -rm -f $(OBJECTS) $(OBJMOC) $(SRCMOC) $(TARGET) -rm -f *~ core ####### Compile ../objects/config.o: config.cpp $(CXX) -c $(CXXFLAGS) $(INCPATH) -o ../objects/config.o config.cpp ../objects/configoptions.o: configoptions.cpp $(CXX) -c $(CXXFLAGS) $(INCPATH) -o ../objects/configoptions.o configoptions.cpp ../objects/portable.o: portable.cpp \ portable.h \ debug.h $(CXX) -c $(CXXFLAGS) $(INCPATH) -o ../objects/portable.o portable.cpp ../objects/portable_c.o: portable_c.c $(CC) -c $(CFLAGS) $(INCPATH) -o ../objects/portable_c.o portable_c.c LEX = /home/mice/Grid/MAUS-v2.5.0/third_party/install/bin/flex YACC = /usr/bin/bison PYTHON = /home/mice/Grid/MAUS-v2.5.0/third_party/install/bin/python #################### config.cpp: config.l \ config.h \ ftextstream.h \ version.h \ portable.h \ util.h \ types.h \ sortdict.h \ message.h \ lang_cfg.h \ configoptions.h $(LEX) -PconfigYY -t config.l >config.cpp configoptions.cpp: config.xml configgen.py $(PYTHON) configgen.py -cpp config.xml >configoptions.cpp