Makefile.in

changeset 1
d64aaa7d146f
child 3
c1941114ca88
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/Makefile.in	Fri Nov 28 11:21:08 2008 +0100
     1.3 @@ -0,0 +1,230 @@
     1.4 +##
     1.5 +##  OSSP asgui - Accounting system graphical user interface
     1.6 +##  Copyright (c) 2002-2004 The OSSP Project (http://www.ossp.org/)
     1.7 +##  Copyright (c) 2002-2004 Ralf S. Engelschall <rse@engelschall.com>
     1.8 +##  Copyright (c) 2002-2004 Michael Schloh von Bennewitz <michael@schloh.com>
     1.9 +##  Copyright (c) 2002-2004 Cable & Wireless Telecommunications Services GmbH
    1.10 +##
    1.11 +##  This file is part of OSSP asgui, an accounting system graphical user
    1.12 +##  interface which can be found at http://www.ossp.org/pkg/tool/asgui/.
    1.13 +##
    1.14 +##  Permission to use, copy, modify, and distribute this software for
    1.15 +##  any purpose with or without fee is hereby granted, provided that
    1.16 +##  the above copyright notice and this permission notice appear in all
    1.17 +##  copies.
    1.18 +##
    1.19 +##  THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
    1.20 +##  WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
    1.21 +##  MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
    1.22 +##  IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR
    1.23 +##  CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
    1.24 +##  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
    1.25 +##  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
    1.26 +##  USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
    1.27 +##  ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
    1.28 +##  OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
    1.29 +##  OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
    1.30 +##  SUCH DAMAGE.
    1.31 +##
    1.32 +##  Makefile.in: Autoconf Makefile template
    1.33 +##
    1.34 +
    1.35 +@SET_MAKE@
    1.36 +
    1.37 +DESTDIR         =
    1.38 +prefix          = @prefix@
    1.39 +exec_prefix     = @exec_prefix@
    1.40 +bindir          = @bindir@
    1.41 +sbindir         = @sbindir@
    1.42 +libdir          = @libdir@
    1.43 +datadir         = @datadir@
    1.44 +includedir      = @includedir@
    1.45 +mandir          = @mandir@
    1.46 +
    1.47 +CC              = @CC@
    1.48 +CXX             = @CXX@
    1.49 +CFLAGS          = @CFLAGS@ @DEFS@
    1.50 +CXXFLAGS        = @CXXFLAGS@ @DEFS@
    1.51 +#CFLAGS          = @CFLAGS@ @DEFS@ -Wl,-Bstatic
    1.52 +#CXXFLAGS        = @CXXFLAGS@ @DEFS@ -Wl,-Bstatic
    1.53 +CPPFLAGS        = @CPPFLAGS@
    1.54 +CXXCPP          = @CXXCPP@
    1.55 +LDFLAGS         = @LDFLAGS@
    1.56 +LIBS            = @LIBS@
    1.57 +
    1.58 +# CORBA-specific variables
    1.59 +CORBABASE       = @CORBABASE@
    1.60 +IDL             = $(CORBABASE)/bin/idl
    1.61 +
    1.62 +# Qt-specific variables
    1.63 +QTCFLAGS        = @QT_CFLAGS@
    1.64 +QTLIBS          = @QT_LIBS@
    1.65 +QTBASE          = @QTBASE@
    1.66 +UIC             = @UIC@
    1.67 +MOC             = @MOC@
    1.68 +
    1.69 +RM              = rm -f
    1.70 +STRIP           = strip
    1.71 +CHMOD           = chmod
    1.72 +RMDIR           = rmdir
    1.73 +SHTOOL          = ./shtool
    1.74 +POD2MAN         = pod2man
    1.75 +TRUE            = true
    1.76 +
    1.77 +PROG_NAME       = as-gui
    1.78 +TARGET_PROGS    = as-gui
    1.79 +TARGET_MANS     = as-gui.1 as-gui.conf.5
    1.80 +
    1.81 +SRCS            = as_main.cpp as_gui.cpp as_assist.cpp as_slot.cpp as_dataop.cpp as_except.cpp as_generic.cpp as_amount.cpp as_table.cpp as_panel.cpp as_reportpanel.cpp as_helpanel.cpp as_numdial.cpp as_sfile.cpp as_pref.cpp as_user.cpp as_rand.cpp as_crc.cpp as_uuid.cpp as_version.cpp
    1.82 +
    1.83 +OBJS            = as_main.o as_gui.o as_assist.o as_slot.o as_dataop.o as_except.o as_generic.o as_amount.o as_table.o as_panel.o as_sfile.o as_pref.o as_reportpanel.o as_helpanel.o as_numdial.o as_user.o as_rand.o as_crc.o as_uuid.o as_version.o
    1.84 +
    1.85 +GRAFX           = gfx/ossplogo.xpm
    1.86 +
    1.87 +# IDL compiler generated
    1.88 +IDL_SRC         = as_stub.idl
    1.89 +IDL_OUT         = as_stub.cpp as_stub.h
    1.90 +IDL_OBJ         = as_stub.o
    1.91 +
    1.92 +# Qt meta object compiler (MOC) generated
    1.93 +MOC_OUT         = moc_as_gui.cpp moc_as_table.cpp moc_as_panel.cpp moc_as_reportpanel.cpp moc_as_helpanel.cpp moc_as_numdial.cpp
    1.94 +MOC_OBJ         = moc_as_gui.o moc_as_table.o moc_as_panel.o moc_as_reportpanel.o moc_as_helpanel.o moc_as_numdial.o
    1.95 +
    1.96 +.SUFFIXES:
    1.97 +.SUFFIXES: .c .cc .cpp .cxx .o
    1.98 +.c.o:
    1.99 +	$(CXX) -c $(CPPFLAGS) $(QTCFLAGS) $(CXXFLAGS) $<
   1.100 +
   1.101 +.cc.o:
   1.102 +	$(CXX) -c $(CPPFLAGS) $(QTCFLAGS) $(CXXFLAGS) $<
   1.103 +
   1.104 +.cpp.o:
   1.105 +	$(CXX) -c $(CPPFLAGS) $(QTCFLAGS) $(CXXFLAGS) $<
   1.106 +
   1.107 +.cxx.o:
   1.108 +	$(CXX) -c $(CPPFLAGS) $(QTCFLAGS) $(CXXFLAGS) $<
   1.109 +
   1.110 +all: Makefile $(TARGET_PROGS)
   1.111 +
   1.112 +# Build the program conditionally including
   1.113 +# RPC stubs and skeleton objects
   1.114 +ifdef CORBABASE
   1.115 +$(PROG_NAME): $(OBJS) $(IDL_OBJ) $(MOC_OBJ)
   1.116 +	$(CXX) $(LDFLAGS) -o $@ $+ $(QTLIBS) $(LIBS)
   1.117 +else
   1.118 +$(PROG_NAME): $(OBJS) $(MOC_OBJ)
   1.119 +	$(CXX) $(LDFLAGS) -o $@ $+ $(QTLIBS) $(LIBS)
   1.120 +endif
   1.121 +
   1.122 +moc_%.cpp: %.h
   1.123 +	$(MOC) $< -o $@
   1.124 +
   1.125 +# Use the Trolltech uic to compile headers
   1.126 +# and implementation from ui XML
   1.127 +#%.h: %.ui
   1.128 +#	uic $< -o $@
   1.129 +#%.cpp: %.ui
   1.130 +#	uic -impl $*.h $< -o $@
   1.131 +
   1.132 +# Run the IDL compiler over IDL source
   1.133 +# but avoid a make deps spaghetti nest
   1.134 +ifdef CORBABASE
   1.135 +$(SRCS):$(IDL_OUT)
   1.136 +$(IDL_OUT): $(IDL_SRC)
   1.137 +	$(IDL) --c++-suffix=cpp $<
   1.138 +endif
   1.139 +
   1.140 +# Special treatment for help panel class, which needs the $datadir variable
   1.141 +as_helpanel.o: as_helpanel.cpp
   1.142 +	$(CXX) -c -DTITRAQ_DOCDIR=\"$(datadir)\" $(CPPFLAGS) $(QTCFLAGS) $(CXXFLAGS) $<
   1.143 +
   1.144 +doc: as-gui.1 as-gui.conf.5 as-events.5 as-accounts.5
   1.145 +
   1.146 +as-gui.1: as-gui.pod
   1.147 +	VS=`$(SHTOOL) version -lc -dshort as_version.cpp`; \
   1.148 +	VL=`$(SHTOOL) version -lc -dlong as_version.cpp`; \
   1.149 +	D=`$(SHTOOL) version -lc -dlong as_version.cpp | sed -e 's;.*(;;' -e 's;).*;;'`; \
   1.150 +	$(POD2MAN) --quotes=none \
   1.151 +               --section=1 --center="AS Accounting System" \
   1.152 +               --release="$$D" --date="as-gui $$VS" as-gui.pod | \
   1.153 +               sed -e "s;ASGUI_VERSION_STR;$$VL;" >as-gui.1
   1.154 +
   1.155 +as-gui.conf.5: as-gui.conf.pod
   1.156 +	VS=`$(SHTOOL) version -lc -dshort as_version.cpp`; \
   1.157 +	VL=`$(SHTOOL) version -lc -dlong as_version.cpp`; \
   1.158 +	D=`$(SHTOOL) version -lc -dlong as_version.cpp | sed -e 's;.*(;;' -e 's;).*;;'`; \
   1.159 +	$(POD2MAN) --quotes=none \
   1.160 +               --section=5 --center="AS Preferences File" \
   1.161 +               --release="$$D" --date="as-gui $$VS" as-gui.conf.pod | \
   1.162 +               sed -e "s;ASGUI_VERSION_STR;$$VL;" >as-gui.conf.5
   1.163 +
   1.164 +as-events.5: as-events.pod
   1.165 +	VS=`$(SHTOOL) version -lc -dshort as_version.cpp`; \
   1.166 +	VL=`$(SHTOOL) version -lc -dlong as_version.cpp`; \
   1.167 +	D=`$(SHTOOL) version -lc -dlong as_version.cpp | sed -e 's;.*(;;' -e 's;).*;;'`; \
   1.168 +	$(POD2MAN) --quotes=none \
   1.169 +               --section=5 --center="AS Events File" \
   1.170 +               --release="$$D" --date="as-gui $$VS" as-events.pod | \
   1.171 +               sed -e "s;ASGUI_VERSION_STR;$$VL;" >as-events.5
   1.172 +
   1.173 +as-accounts.5: as-accounts.pod
   1.174 +	VS=`$(SHTOOL) version -lc -dshort as_version.cpp`; \
   1.175 +	VL=`$(SHTOOL) version -lc -dlong as_version.cpp`; \
   1.176 +	D=`$(SHTOOL) version -lc -dlong as_version.cpp | sed -e 's;.*(;;' -e 's;).*;;'`; \
   1.177 +	$(POD2MAN) --quotes=none \
   1.178 +               --section=5 --center="AS Accounts File" \
   1.179 +               --release="$$D" --date="as-gui $$VS" as-accounts.pod | \
   1.180 +               sed -e "s;ASGUI_VERSION_STR;$$VL;" >as-accounts.5
   1.181 +
   1.182 +install: all
   1.183 +	$(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(prefix)
   1.184 +	$(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(bindir)
   1.185 +	$(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(mandir)/man1
   1.186 +	$(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(mandir)/man5
   1.187 +	$(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(datadir)
   1.188 +	$(SHTOOL) install -c -s -m 755 as-gui $(DESTDIR)$(bindir)/as-gui
   1.189 +	$(SHTOOL) install -c -m 644 as-gui.1 $(DESTDIR)$(mandir)/man1/as-gui.1
   1.190 +	$(SHTOOL) install -c -m 644 as-gui.conf.5 $(DESTDIR)$(mandir)/man5/as-gui.conf.5
   1.191 +	$(SHTOOL) install -c -m 644 as-events.5 $(DESTDIR)$(mandir)/man5/as-events.5
   1.192 +	$(SHTOOL) install -c -m 644 as-accounts.5 $(DESTDIR)$(mandir)/man5/as-accounts.5
   1.193 +	$(SHTOOL) install -c -m 644 as-gui.html $(DESTDIR)$(datadir)/as-gui.html
   1.194 +
   1.195 +uninstall:
   1.196 +	$(RM) $(DESTDIR)$(datadir)/as-gui.html
   1.197 +	$(RM) $(DESTDIR)$(mandir)/man5/as-accounts.5
   1.198 +	$(RM) $(DESTDIR)$(mandir)/man5/as-events.5
   1.199 +	$(RM) $(DESTDIR)$(mandir)/man5/as-gui.conf.5
   1.200 +	$(RM) $(DESTDIR)$(mandir)/man1/as-gui.1
   1.201 +	$(RM) $(DESTDIR)$(bindir)/as-gui
   1.202 +	$(RMDIR) $(DESTDIR)$(datadir) >/dev/null 2>&1 || $(TRUE)
   1.203 +	$(RMDIR) $(DESTDIR)$(mandir)/man5 >/dev/null 2>&1 || $(TRUE)
   1.204 +	$(RMDIR) $(DESTDIR)$(mandir)/man1 >/dev/null 2>&1 || $(TRUE)
   1.205 +	$(RMDIR) $(DESTDIR)$(mandir) >/dev/null 2>&1 || $(TRUE)
   1.206 +	$(RMDIR) $(DESTDIR)$(bindir) >/dev/null 2>&1 || $(TRUE)
   1.207 +	$(RMDIR) $(DESTDIR)$(prefix) >/dev/null 2>&1 || $(TRUE)
   1.208 +
   1.209 +clean:
   1.210 +	$(RM) $(TARGET_PROGS) $(OBJS) $(IDL_OBJ) $(MOC_OBJ)
   1.211 +ifdef CORBABASE
   1.212 +	$(RM) $(IDL_OBJ)
   1.213 +endif
   1.214 +	$(RM) as_gui_pcre.tab *.core
   1.215 +
   1.216 +distclean: clean
   1.217 +	$(RM) config.log config.status config.cache # Generated by ./configure
   1.218 +	$(RM) Makefile ac_config.h                  # Generated by ./configure
   1.219 +ifdef CORBABASE
   1.220 +	$(RM) $(IDL_OUT)                 # Generated by $(IDL)
   1.221 +endif
   1.222 +	$(RM) $(MOC_OUT)       # Generated by $(MOC)
   1.223 +
   1.224 +realclean: distclean
   1.225 +	$(RM) configure ac_config.h.in*             # Generated by Autoconf
   1.226 +	$(RM) configure.lineno                      # Generated by Autoconf
   1.227 +	$(RM) shtool                                # Generated by Devtool
   1.228 +
   1.229 +check: test
   1.230 +test: as-gui
   1.231 +	./as_gui_test.sh
   1.232 +
   1.233 +.PHONY: doc install uninstall clean distclean realclean check test

mercurial