2 # $Id: libdoxycfg.t,v 1.1 2001/03/19 19:27:41 root Exp $
4 # Copyright (C) 1997-2012 by Dimitri van Heesch.
6 # Permission to use, copy, modify, and distribute this software and its
7 # documentation under the terms of the GNU General Public License is hereby
8 # granted. No representations are made about the suitability of this software
9 # for any purpose. It is provided "as is" without express or implied warranty.
10 # See the GNU General Public License for more details.
12 # Documents produced by Doxygen are derivative works derived from the
13 # input used in their production; they are not affected by this license.
14 #############################################################################
15 # Makefile for building ../lib/libdoxycfg.a
16 # Generated by tmake at 16:29, 2012/08/11
18 # Template: libdoxycfg.t
19 #############################################################################
21 ####### Compiler, tools and options
25 CFLAGS = -pipe -Wall -W -Wno-deprecated-declarations -Wno-invalid-source-encoding -g -fstack-protector
26 CXXFLAGS= -pipe -D__FreeBSD__=6 -DYY_TYPEDEF_YY_SIZE_T -Dyy_size_t=int -Wall -W -Wno-deprecated-declarations -Wno-invalid-source-encoding -g -fstack-protector
40 SOURCES = config.cpp \
44 OBJECTS = ../objects/config.o \
45 ../objects/configoptions.o \
46 ../objects/portable.o \
47 ../objects/portable_c.o
51 TARGET = ../lib/libdoxycfg.a
53 ####### Implicit rules
55 .SUFFIXES: .cpp .cxx .cc .C .c
58 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
61 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
64 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
67 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
70 $(CC) -c $(CFLAGS) $(INCPATH) -o $@ $<
78 $(TARGET): $(OBJECTS) $(OBJMOC)
80 $(AR) $(TARGET) $(OBJECTS) $(OBJMOC)
89 $(TAR) libdoxycfg.tar libdoxycfg.pro $(SOURCES) $(HEADERS) $(DIST)
90 $(GZIP) libdoxycfg.tar
93 -rm -f $(OBJECTS) $(OBJMOC) $(SRCMOC) $(TARGET)
98 ../objects/config.o: config.cpp \
109 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o ../objects/config.o config.cpp
111 ../objects/configoptions.o: configoptions.cpp \
117 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o ../objects/configoptions.o configoptions.cpp
119 ../objects/portable.o: portable.cpp \
122 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o ../objects/portable.o portable.cpp
124 ../objects/portable_c.o: portable_c.c
125 $(CC) -c $(CFLAGS) $(INCPATH) -o ../objects/portable_c.o portable_c.c
129 YACC = /usr/bin/bison
134 config.cpp: config.l \
145 $(LEX) -PconfigYY -t config.l >config.cpp
147 configoptions.cpp: config.xml
148 python configgen.py config.xml >configoptions.cpp