Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 1950 in orxonox.OLD for orxonox/branches/automake/console


Ignore:
Timestamp:
Jun 15, 2004, 2:25:09 AM (20 years ago)
Author:
bensch
Message:

orxonox/branches/automake: changed name and console Makefile, but it does not work with this config. Need assistance

Location:
orxonox/branches/automake/console
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/automake/console/Makefile.am

    r1945 r1950  
     1AM_CFLAGS=`pkg-config --cflags gtk+-2.0`
     2AM_LDFLAGS=`pkg-config --libs  gtk+-2.0`
     3
     4bin_PROGRAMS=console
     5console_SOURCES=orxonox_console.cc orxonox_console_entry.cc orxonox_console_log.cc
     6
     7#  uncomment the following if bencoder requires the math library
     8#gui_LDADD=-lm
     9
     10#EXTRA_DIST=orxonox.lsm.in orxonox.spec.in orxonox.texinfo
     11
     12#  if you write a self-test script named `chk', uncomment the
     13#  following and add `chk' to the EXTRA_DIST list
     14#TESTS=chk
     15
     16#  build and install the .info pages
     17#info_TEXINFOS = orxonox.texinfo
     18#orxonox_TEXINFOS = gpl.texinfo
     19
     20#  install the man pages
     21#man_MANS=orxonox.1
  • orxonox/branches/automake/console/Makefile.in

    r1945 r1950  
    110110sysconfdir = @sysconfdir@
    111111target_alias = @target_alias@
     112AM_CFLAGS = `pkg-config --cflags gtk+-2.0`
     113AM_LDFLAGS = `pkg-config --libs  gtk+-2.0`
     114
     115bin_PROGRAMS = console
     116console_SOURCES = orxonox_console.cc orxonox_console_entry.cc orxonox_console_log.cc
    112117subdir = console
    113118ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
     
    115120CONFIG_HEADER = $(top_builddir)/config.h
    116121CONFIG_CLEAN_FILES =
    117 DIST_SOURCES =
     122bin_PROGRAMS = console$(EXEEXT)
     123PROGRAMS = $(bin_PROGRAMS)
     124
     125am_console_OBJECTS = orxonox_console.$(OBJEXT) \
     126        orxonox_console_entry.$(OBJEXT) orxonox_console_log.$(OBJEXT)
     127console_OBJECTS = $(am_console_OBJECTS)
     128console_LDADD = $(LDADD)
     129console_DEPENDENCIES =
     130console_LDFLAGS =
     131
     132DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)
     133depcomp = $(SHELL) $(top_srcdir)/depcomp
     134am__depfiles_maybe = depfiles
     135@AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/orxonox_console.Po \
     136@AMDEP_TRUE@    ./$(DEPDIR)/orxonox_console_entry.Po \
     137@AMDEP_TRUE@    ./$(DEPDIR)/orxonox_console_log.Po
     138CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
     139        $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
     140CXXLD = $(CXX)
     141CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \
     142        -o $@
     143DIST_SOURCES = $(console_SOURCES)
    118144DIST_COMMON = $(srcdir)/Makefile.in Makefile.am
     145SOURCES = $(console_SOURCES)
     146
    119147all: all-am
    120148
    121149.SUFFIXES:
     150.SUFFIXES: .cc .o .obj
    122151$(srcdir)/Makefile.in:  Makefile.am  $(top_srcdir)/configure.ac $(ACLOCAL_M4)
    123152        cd $(top_srcdir) && \
     
    125154Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
    126155        cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
     156binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
     157install-binPROGRAMS: $(bin_PROGRAMS)
     158        @$(NORMAL_INSTALL)
     159        $(mkinstalldirs) $(DESTDIR)$(bindir)
     160        @list='$(bin_PROGRAMS)'; for p in $$list; do \
     161          p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
     162          if test -f $$p \
     163          ; then \
     164            f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
     165           echo " $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \
     166           $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f || exit 1; \
     167          else :; fi; \
     168        done
     169
     170uninstall-binPROGRAMS:
     171        @$(NORMAL_UNINSTALL)
     172        @list='$(bin_PROGRAMS)'; for p in $$list; do \
     173          f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
     174          echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
     175          rm -f $(DESTDIR)$(bindir)/$$f; \
     176        done
     177
     178clean-binPROGRAMS:
     179        -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
     180console$(EXEEXT): $(console_OBJECTS) $(console_DEPENDENCIES)
     181        @rm -f console$(EXEEXT)
     182        $(CXXLINK) $(console_LDFLAGS) $(console_OBJECTS) $(console_LDADD) $(LIBS)
     183
     184mostlyclean-compile:
     185        -rm -f *.$(OBJEXT) core *.core
     186
     187distclean-compile:
     188        -rm -f *.tab.c
     189
     190@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/orxonox_console.Po@am__quote@
     191@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/orxonox_console_entry.Po@am__quote@
     192@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/orxonox_console_log.Po@am__quote@
     193
     194.cc.o:
     195@am__fastdepCXX_TRUE@   if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
     196@am__fastdepCXX_TRUE@     -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \
     197@am__fastdepCXX_TRUE@   then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \
     198@am__fastdepCXX_TRUE@   else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
     199@am__fastdepCXX_TRUE@   fi
     200@AMDEP_TRUE@@am__fastdepCXX_FALSE@      source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
     201@AMDEP_TRUE@@am__fastdepCXX_FALSE@      depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
     202@AMDEP_TRUE@@am__fastdepCXX_FALSE@      $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
     203@am__fastdepCXX_FALSE@  $(CXXCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
     204
     205.cc.obj:
     206@am__fastdepCXX_TRUE@   if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
     207@am__fastdepCXX_TRUE@     -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`; \
     208@am__fastdepCXX_TRUE@   then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \
     209@am__fastdepCXX_TRUE@   else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
     210@am__fastdepCXX_TRUE@   fi
     211@AMDEP_TRUE@@am__fastdepCXX_FALSE@      source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
     212@AMDEP_TRUE@@am__fastdepCXX_FALSE@      depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
     213@AMDEP_TRUE@@am__fastdepCXX_FALSE@      $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
     214@am__fastdepCXX_FALSE@  $(CXXCOMPILE) -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`
    127215uninstall-info-am:
     216
     217ETAGS = etags
     218ETAGSFLAGS =
     219
     220CTAGS = ctags
     221CTAGSFLAGS =
     222
    128223tags: TAGS
    129 TAGS:
     224
     225ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
     226        list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
     227        unique=`for i in $$list; do \
     228            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
     229          done | \
     230          $(AWK) '    { files[$$0] = 1; } \
     231               END { for (i in files) print i; }'`; \
     232        mkid -fID $$unique
     233
     234TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
     235                $(TAGS_FILES) $(LISP)
     236        tags=; \
     237        here=`pwd`; \
     238        list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
     239        unique=`for i in $$list; do \
     240            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
     241          done | \
     242          $(AWK) '    { files[$$0] = 1; } \
     243               END { for (i in files) print i; }'`; \
     244        test -z "$(ETAGS_ARGS)$$tags$$unique" \
     245          || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
     246             $$tags $$unique
    130247
    131248ctags: CTAGS
    132 CTAGS:
    133 
     249CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
     250                $(TAGS_FILES) $(LISP)
     251        tags=; \
     252        here=`pwd`; \
     253        list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
     254        unique=`for i in $$list; do \
     255            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
     256          done | \
     257          $(AWK) '    { files[$$0] = 1; } \
     258               END { for (i in files) print i; }'`; \
     259        test -z "$(CTAGS_ARGS)$$tags$$unique" \
     260          || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
     261             $$tags $$unique
     262
     263GTAGS:
     264        here=`$(am__cd) $(top_builddir) && pwd` \
     265          && cd $(top_srcdir) \
     266          && gtags -i $(GTAGS_ARGS) $$here
     267
     268distclean-tags:
     269        -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
    134270DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
    135271
     
    166302check-am: all-am
    167303check: check-am
    168 all-am: Makefile
     304all-am: Makefile $(PROGRAMS)
    169305
    170306installdirs:
     307        $(mkinstalldirs) $(DESTDIR)$(bindir)
    171308install: install-am
    172309install-exec: install-exec-am
     
    195332clean: clean-am
    196333
    197 clean-am: clean-generic mostlyclean-am
     334clean-am: clean-binPROGRAMS clean-generic mostlyclean-am
    198335
    199336distclean: distclean-am
     337        -rm -rf ./$(DEPDIR)
    200338        -rm -f Makefile
    201 distclean-am: clean-am distclean-generic
     339distclean-am: clean-am distclean-compile distclean-generic \
     340        distclean-tags
    202341
    203342dvi: dvi-am
     
    211350install-data-am:
    212351
    213 install-exec-am:
     352install-exec-am: install-binPROGRAMS
    214353
    215354install-info: install-info-am
     
    220359
    221360maintainer-clean: maintainer-clean-am
     361        -rm -rf ./$(DEPDIR)
    222362        -rm -f Makefile
    223363maintainer-clean-am: distclean-am maintainer-clean-generic
     
    225365mostlyclean: mostlyclean-am
    226366
    227 mostlyclean-am: mostlyclean-generic
     367mostlyclean-am: mostlyclean-compile mostlyclean-generic
    228368
    229369pdf: pdf-am
     
    235375ps-am:
    236376
    237 uninstall-am: uninstall-info-am
    238 
    239 .PHONY: all all-am check check-am clean clean-generic distclean \
    240         distclean-generic distdir dvi dvi-am info info-am install \
    241         install-am install-data install-data-am install-exec \
    242         install-exec-am install-info install-info-am install-man \
    243         install-strip installcheck installcheck-am installdirs \
    244         maintainer-clean maintainer-clean-generic mostlyclean \
    245         mostlyclean-generic pdf pdf-am ps ps-am uninstall uninstall-am \
    246         uninstall-info-am
    247 
     377uninstall-am: uninstall-binPROGRAMS uninstall-info-am
     378
     379.PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \
     380        clean-generic ctags distclean distclean-compile \
     381        distclean-generic distclean-tags distdir dvi dvi-am info \
     382        info-am install install-am install-binPROGRAMS install-data \
     383        install-data-am install-exec install-exec-am install-info \
     384        install-info-am install-man install-strip installcheck \
     385        installcheck-am installdirs maintainer-clean \
     386        maintainer-clean-generic mostlyclean mostlyclean-compile \
     387        mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \
     388        uninstall-am uninstall-binPROGRAMS uninstall-info-am
     389
     390
     391#  uncomment the following if bencoder requires the math library
     392#gui_LDADD=-lm
     393
     394#EXTRA_DIST=orxonox.lsm.in orxonox.spec.in orxonox.texinfo
     395
     396#  if you write a self-test script named `chk', uncomment the
     397#  following and add `chk' to the EXTRA_DIST list
     398#TESTS=chk
     399
     400#  build and install the .info pages
     401#info_TEXINFOS = orxonox.texinfo
     402#orxonox_TEXINFOS = gpl.texinfo
     403
     404#  install the man pages
     405#man_MANS=orxonox.1
    248406# Tell versions [3.59,3.63) of GNU make to not export all variables.
    249407# Otherwise a system limit (for SysV at least) may be exceeded.
Note: See TracChangeset for help on using the changeset viewer.