Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 1953 in orxonox.OLD for orxonox


Ignore:
Timestamp:
Jun 15, 2004, 3:47:31 PM (20 years ago)
Author:
bensch
Message:

orxonox/branches/automake: now everything is compiled just like in the old version, but propper.

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

Legend:

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

    r1945 r1953  
     1AM_CXXFLAGS="-I/usr/X11R6/include"
     2#"-O3 -pedantic -fPIC -ffast-math -I/usr/X11R6/include"
     3AM_LDFLAGS="-L/usr/Mesa-6.0.1/lib -lglut -lGLU -lGL -lm -L/usr/X11R6/lib -lXt -lX11"
     4
     5bin_PROGRAMS=orxonox
     6orxonox_SOURCES=orxonox.cc world.cc environment.cc player.cc npc.cc input_output.cc data_tank.cc ai.cc shoot_laser.cc shoot_rocket.cc
     7
     8#  uncomment the following if bencoder requires the math library
     9#gui_LDADD=-lm
     10
     11#EXTRA_DIST=orxonox.lsm.in orxonox.spec.in orxonox.texinfo
     12
     13#  if you write a self-test script named `chk', uncomment the
     14#  following and add `chk' to the EXTRA_DIST list
     15#TESTS=chk
     16
     17#  build and install the .info pages
     18#info_TEXINFOS = orxonox.texinfo
     19#orxonox_TEXINFOS = gpl.texinfo
     20
     21#  install the man pages
     22#man_MANS=orxonox.1
  • orxonox/branches/automake/src/Makefile.in

    r1945 r1953  
    110110sysconfdir = @sysconfdir@
    111111target_alias = @target_alias@
     112AM_CXXFLAGS = "-I/usr/X11R6/include"
     113#"-O3 -pedantic -fPIC -ffast-math -I/usr/X11R6/include"
     114AM_LDFLAGS = "-L/usr/Mesa-6.0.1/lib -lglut -lGLU -lGL -lm -L/usr/X11R6/lib -lXt -lX11"
     115
     116bin_PROGRAMS = orxonox
     117orxonox_SOURCES = orxonox.cc world.cc environment.cc player.cc npc.cc input_output.cc data_tank.cc ai.cc shoot_laser.cc shoot_rocket.cc
    112118subdir = src
    113119ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
     
    115121CONFIG_HEADER = $(top_builddir)/config.h
    116122CONFIG_CLEAN_FILES =
    117 DIST_SOURCES =
     123bin_PROGRAMS = orxonox$(EXEEXT)
     124PROGRAMS = $(bin_PROGRAMS)
     125
     126am_orxonox_OBJECTS = orxonox.$(OBJEXT) world.$(OBJEXT) \
     127        environment.$(OBJEXT) player.$(OBJEXT) npc.$(OBJEXT) \
     128        input_output.$(OBJEXT) data_tank.$(OBJEXT) ai.$(OBJEXT) \
     129        shoot_laser.$(OBJEXT) shoot_rocket.$(OBJEXT)
     130orxonox_OBJECTS = $(am_orxonox_OBJECTS)
     131orxonox_LDADD = $(LDADD)
     132orxonox_DEPENDENCIES =
     133orxonox_LDFLAGS =
     134
     135DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)
     136depcomp = $(SHELL) $(top_srcdir)/depcomp
     137am__depfiles_maybe = depfiles
     138@AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/ai.Po ./$(DEPDIR)/data_tank.Po \
     139@AMDEP_TRUE@    ./$(DEPDIR)/environment.Po \
     140@AMDEP_TRUE@    ./$(DEPDIR)/input_output.Po ./$(DEPDIR)/npc.Po \
     141@AMDEP_TRUE@    ./$(DEPDIR)/orxonox.Po ./$(DEPDIR)/player.Po \
     142@AMDEP_TRUE@    ./$(DEPDIR)/shoot_laser.Po \
     143@AMDEP_TRUE@    ./$(DEPDIR)/shoot_rocket.Po ./$(DEPDIR)/world.Po
     144CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
     145        $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
     146CXXLD = $(CXX)
     147CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \
     148        -o $@
     149DIST_SOURCES = $(orxonox_SOURCES)
    118150DIST_COMMON = $(srcdir)/Makefile.in INSTALL Makefile.am
     151SOURCES = $(orxonox_SOURCES)
     152
    119153all: all-am
    120154
    121155.SUFFIXES:
     156.SUFFIXES: .cc .o .obj
    122157$(srcdir)/Makefile.in:  Makefile.am  $(top_srcdir)/configure.ac $(ACLOCAL_M4)
    123158        cd $(top_srcdir) && \
     
    125160Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
    126161        cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
     162binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
     163install-binPROGRAMS: $(bin_PROGRAMS)
     164        @$(NORMAL_INSTALL)
     165        $(mkinstalldirs) $(DESTDIR)$(bindir)
     166        @list='$(bin_PROGRAMS)'; for p in $$list; do \
     167          p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
     168          if test -f $$p \
     169          ; then \
     170            f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
     171           echo " $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \
     172           $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f || exit 1; \
     173          else :; fi; \
     174        done
     175
     176uninstall-binPROGRAMS:
     177        @$(NORMAL_UNINSTALL)
     178        @list='$(bin_PROGRAMS)'; for p in $$list; do \
     179          f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
     180          echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
     181          rm -f $(DESTDIR)$(bindir)/$$f; \
     182        done
     183
     184clean-binPROGRAMS:
     185        -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
     186orxonox$(EXEEXT): $(orxonox_OBJECTS) $(orxonox_DEPENDENCIES)
     187        @rm -f orxonox$(EXEEXT)
     188        $(CXXLINK) $(orxonox_LDFLAGS) $(orxonox_OBJECTS) $(orxonox_LDADD) $(LIBS)
     189
     190mostlyclean-compile:
     191        -rm -f *.$(OBJEXT) core *.core
     192
     193distclean-compile:
     194        -rm -f *.tab.c
     195
     196@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ai.Po@am__quote@
     197@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/data_tank.Po@am__quote@
     198@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/environment.Po@am__quote@
     199@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/input_output.Po@am__quote@
     200@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/npc.Po@am__quote@
     201@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/orxonox.Po@am__quote@
     202@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/player.Po@am__quote@
     203@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/shoot_laser.Po@am__quote@
     204@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/shoot_rocket.Po@am__quote@
     205@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/world.Po@am__quote@
     206
     207.cc.o:
     208@am__fastdepCXX_TRUE@   if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
     209@am__fastdepCXX_TRUE@     -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \
     210@am__fastdepCXX_TRUE@   then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \
     211@am__fastdepCXX_TRUE@   else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
     212@am__fastdepCXX_TRUE@   fi
     213@AMDEP_TRUE@@am__fastdepCXX_FALSE@      source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
     214@AMDEP_TRUE@@am__fastdepCXX_FALSE@      depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
     215@AMDEP_TRUE@@am__fastdepCXX_FALSE@      $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
     216@am__fastdepCXX_FALSE@  $(CXXCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
     217
     218.cc.obj:
     219@am__fastdepCXX_TRUE@   if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
     220@am__fastdepCXX_TRUE@     -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`; \
     221@am__fastdepCXX_TRUE@   then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \
     222@am__fastdepCXX_TRUE@   else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
     223@am__fastdepCXX_TRUE@   fi
     224@AMDEP_TRUE@@am__fastdepCXX_FALSE@      source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
     225@AMDEP_TRUE@@am__fastdepCXX_FALSE@      depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
     226@AMDEP_TRUE@@am__fastdepCXX_FALSE@      $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
     227@am__fastdepCXX_FALSE@  $(CXXCOMPILE) -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`
    127228uninstall-info-am:
     229
     230ETAGS = etags
     231ETAGSFLAGS =
     232
     233CTAGS = ctags
     234CTAGSFLAGS =
     235
    128236tags: TAGS
    129 TAGS:
     237
     238ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
     239        list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
     240        unique=`for i in $$list; do \
     241            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
     242          done | \
     243          $(AWK) '    { files[$$0] = 1; } \
     244               END { for (i in files) print i; }'`; \
     245        mkid -fID $$unique
     246
     247TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
     248                $(TAGS_FILES) $(LISP)
     249        tags=; \
     250        here=`pwd`; \
     251        list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
     252        unique=`for i in $$list; do \
     253            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
     254          done | \
     255          $(AWK) '    { files[$$0] = 1; } \
     256               END { for (i in files) print i; }'`; \
     257        test -z "$(ETAGS_ARGS)$$tags$$unique" \
     258          || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
     259             $$tags $$unique
    130260
    131261ctags: CTAGS
    132 CTAGS:
    133 
     262CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
     263                $(TAGS_FILES) $(LISP)
     264        tags=; \
     265        here=`pwd`; \
     266        list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
     267        unique=`for i in $$list; do \
     268            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
     269          done | \
     270          $(AWK) '    { files[$$0] = 1; } \
     271               END { for (i in files) print i; }'`; \
     272        test -z "$(CTAGS_ARGS)$$tags$$unique" \
     273          || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
     274             $$tags $$unique
     275
     276GTAGS:
     277        here=`$(am__cd) $(top_builddir) && pwd` \
     278          && cd $(top_srcdir) \
     279          && gtags -i $(GTAGS_ARGS) $$here
     280
     281distclean-tags:
     282        -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
    134283DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
    135284
     
    166315check-am: all-am
    167316check: check-am
    168 all-am: Makefile
     317all-am: Makefile $(PROGRAMS)
    169318
    170319installdirs:
     320        $(mkinstalldirs) $(DESTDIR)$(bindir)
    171321install: install-am
    172322install-exec: install-exec-am
     
    195345clean: clean-am
    196346
    197 clean-am: clean-generic mostlyclean-am
     347clean-am: clean-binPROGRAMS clean-generic mostlyclean-am
    198348
    199349distclean: distclean-am
     350        -rm -rf ./$(DEPDIR)
    200351        -rm -f Makefile
    201 distclean-am: clean-am distclean-generic
     352distclean-am: clean-am distclean-compile distclean-generic \
     353        distclean-tags
    202354
    203355dvi: dvi-am
     
    211363install-data-am:
    212364
    213 install-exec-am:
     365install-exec-am: install-binPROGRAMS
    214366
    215367install-info: install-info-am
     
    220372
    221373maintainer-clean: maintainer-clean-am
     374        -rm -rf ./$(DEPDIR)
    222375        -rm -f Makefile
    223376maintainer-clean-am: distclean-am maintainer-clean-generic
     
    225378mostlyclean: mostlyclean-am
    226379
    227 mostlyclean-am: mostlyclean-generic
     380mostlyclean-am: mostlyclean-compile mostlyclean-generic
    228381
    229382pdf: pdf-am
     
    235388ps-am:
    236389
    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 
     390uninstall-am: uninstall-binPROGRAMS uninstall-info-am
     391
     392.PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \
     393        clean-generic ctags distclean distclean-compile \
     394        distclean-generic distclean-tags distdir dvi dvi-am info \
     395        info-am install install-am install-binPROGRAMS install-data \
     396        install-data-am install-exec install-exec-am install-info \
     397        install-info-am install-man install-strip installcheck \
     398        installcheck-am installdirs maintainer-clean \
     399        maintainer-clean-generic mostlyclean mostlyclean-compile \
     400        mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \
     401        uninstall-am uninstall-binPROGRAMS uninstall-info-am
     402
     403
     404#  uncomment the following if bencoder requires the math library
     405#gui_LDADD=-lm
     406
     407#EXTRA_DIST=orxonox.lsm.in orxonox.spec.in orxonox.texinfo
     408
     409#  if you write a self-test script named `chk', uncomment the
     410#  following and add `chk' to the EXTRA_DIST list
     411#TESTS=chk
     412
     413#  build and install the .info pages
     414#info_TEXINFOS = orxonox.texinfo
     415#orxonox_TEXINFOS = gpl.texinfo
     416
     417#  install the man pages
     418#man_MANS=orxonox.1
    248419# Tell versions [3.59,3.63) of GNU make to not export all variables.
    249420# Otherwise a system limit (for SysV at least) may be exceeded.
Note: See TracChangeset for help on using the changeset viewer.