Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5312 in orxonox.OLD for trunk/src/lib/gui/gui_opengl


Ignore:
Timestamp:
Oct 8, 2005, 1:21:30 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: build the glMenu as part of the new LIB: libORXguiGL

Location:
trunk/src/lib/gui/gui_opengl
Files:
4 copied
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/gui/gui_opengl/Makefile.am

    r5311 r5312  
    1 SUBDIRS = gui_gtk         
     1MAINSRCDIR=../../..
     2include $(MAINSRCDIR)/defs/include_paths.am
     3
     4AM_LDFLAGS =
     5
     6noinst_LIBRARIES = libORXguiGL.a
     7
     8libORXguiGL_a_CPPFLAGS = -DBUILD_ORXONOX
     9
     10
     11libORXguiGL_a_SOURCES = glmenu/glmenu_imagescreen.cc
     12
     13noinst_HEADERS= glmenu/glmenu_imagescreen.h
     14
     15
     16EXTRA_DIST =
     17
  • trunk/src/lib/gui/gui_opengl/Makefile.in

    r5311 r5312  
    1414
    1515@SET_MAKE@
     16
     17
     18SOURCES = $(libORXguiGL_a_SOURCES)
     19
    1620srcdir = @srcdir@
    1721top_srcdir = @top_srcdir@
     
    2024pkglibdir = $(libdir)/@PACKAGE@
    2125pkgincludedir = $(includedir)/@PACKAGE@
    22 top_builddir = ../../..
     26top_builddir = ../../../..
    2327am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
    2428INSTALL = @INSTALL@
     
    3539POST_UNINSTALL = :
    3640host_triplet = @host@
    37 subdir = src/lib/gui
    38 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
     41subdir = src/lib/gui/gui_opengl
     42DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.am \
     43        $(srcdir)/Makefile.in
    3944ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
    4045am__aclocal_m4_deps = $(top_srcdir)/configure.ac
     
    4449CONFIG_HEADER = $(top_builddir)/config.h
    4550CONFIG_CLEAN_FILES =
    46 SOURCES =
    47 DIST_SOURCES =
    48 RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
    49         html-recursive info-recursive install-data-recursive \
    50         install-exec-recursive install-info-recursive \
    51         install-recursive installcheck-recursive installdirs-recursive \
    52         pdf-recursive ps-recursive uninstall-info-recursive \
    53         uninstall-recursive
     51LIBRARIES = $(noinst_LIBRARIES)
     52AR = ar
     53ARFLAGS = cru
     54libORXguiGL_a_AR = $(AR) $(ARFLAGS)
     55libORXguiGL_a_LIBADD =
     56am_libORXguiGL_a_OBJECTS = libORXguiGL_a-glmenu_imagescreen.$(OBJEXT)
     57libORXguiGL_a_OBJECTS = $(am_libORXguiGL_a_OBJECTS)
     58DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
     59depcomp = $(SHELL) $(top_srcdir)/depcomp
     60am__depfiles_maybe = depfiles
     61@AMDEP_TRUE@DEP_FILES =  \
     62@AMDEP_TRUE@    ./$(DEPDIR)/libORXguiGL_a-glmenu_imagescreen.Po
     63CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
     64        $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
     65CXXLD = $(CXX)
     66CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \
     67        -o $@
     68SOURCES = $(libORXguiGL_a_SOURCES)
     69DIST_SOURCES = $(libORXguiGL_a_SOURCES)
     70HEADERS = $(noinst_HEADERS)
    5471ETAGS = etags
    5572CTAGS = ctags
    56 DIST_SUBDIRS = $(SUBDIRS)
    5773DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
    5874ACLOCAL = @ACLOCAL@
     
    164180target_os = @target_os@
    165181target_vendor = @target_vendor@
    166 SUBDIRS = gui_gtk         
    167 all: all-recursive
     182MAINSRCDIR = ../../..
     183AM_LDFLAGS =
     184noinst_LIBRARIES = libORXguiGL.a
     185libORXguiGL_a_CPPFLAGS = -DBUILD_ORXONOX
     186libORXguiGL_a_SOURCES = glmenu/glmenu_imagescreen.cc
     187noinst_HEADERS = glmenu/glmenu_imagescreen.h
     188EXTRA_DIST =
     189all: all-am
    168190
    169191.SUFFIXES:
     192.SUFFIXES: .cc .o .obj
    170193$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
    171194        @for dep in $?; do \
     
    177200          esac; \
    178201        done; \
    179         echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  src/lib/gui/Makefile'; \
     202        echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  src/lib/gui/gui_opengl/Makefile'; \
    180203        cd $(top_srcdir) && \
    181           $(AUTOMAKE) --gnu  src/lib/gui/Makefile
     204          $(AUTOMAKE) --foreign  src/lib/gui/gui_opengl/Makefile
    182205.PRECIOUS: Makefile
    183206Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     
    197220$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
    198221        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
     222
     223clean-noinstLIBRARIES:
     224        -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
     225libORXguiGL.a: $(libORXguiGL_a_OBJECTS) $(libORXguiGL_a_DEPENDENCIES)
     226        -rm -f libORXguiGL.a
     227        $(libORXguiGL_a_AR) libORXguiGL.a $(libORXguiGL_a_OBJECTS) $(libORXguiGL_a_LIBADD)
     228        $(RANLIB) libORXguiGL.a
     229
     230mostlyclean-compile:
     231        -rm -f *.$(OBJEXT)
     232
     233distclean-compile:
     234        -rm -f *.tab.c
     235
     236@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libORXguiGL_a-glmenu_imagescreen.Po@am__quote@
     237
     238.cc.o:
     239@am__fastdepCXX_TRUE@   if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
     240@am__fastdepCXX_TRUE@   then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
     241@AMDEP_TRUE@@am__fastdepCXX_FALSE@      source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
     242@AMDEP_TRUE@@am__fastdepCXX_FALSE@      depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
     243@AMDEP_TRUE@@am__fastdepCXX_FALSE@      $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
     244@am__fastdepCXX_FALSE@  $(CXXCOMPILE) -c -o $@ $<
     245
     246.cc.obj:
     247@am__fastdepCXX_TRUE@   if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
     248@am__fastdepCXX_TRUE@   then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
     249@AMDEP_TRUE@@am__fastdepCXX_FALSE@      source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
     250@AMDEP_TRUE@@am__fastdepCXX_FALSE@      depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
     251@AMDEP_TRUE@@am__fastdepCXX_FALSE@      $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
     252@am__fastdepCXX_FALSE@  $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
     253
     254libORXguiGL_a-glmenu_imagescreen.o: glmenu/glmenu_imagescreen.cc
     255@am__fastdepCXX_TRUE@   if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libORXguiGL_a_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libORXguiGL_a-glmenu_imagescreen.o -MD -MP -MF "$(DEPDIR)/libORXguiGL_a-glmenu_imagescreen.Tpo" -c -o libORXguiGL_a-glmenu_imagescreen.o `test -f 'glmenu/glmenu_imagescreen.cc' || echo '$(srcdir)/'`glmenu/glmenu_imagescreen.cc; \
     256@am__fastdepCXX_TRUE@   then mv -f "$(DEPDIR)/libORXguiGL_a-glmenu_imagescreen.Tpo" "$(DEPDIR)/libORXguiGL_a-glmenu_imagescreen.Po"; else rm -f "$(DEPDIR)/libORXguiGL_a-glmenu_imagescreen.Tpo"; exit 1; fi
     257@AMDEP_TRUE@@am__fastdepCXX_FALSE@      source='glmenu/glmenu_imagescreen.cc' object='libORXguiGL_a-glmenu_imagescreen.o' libtool=no @AMDEPBACKSLASH@
     258@AMDEP_TRUE@@am__fastdepCXX_FALSE@      depfile='$(DEPDIR)/libORXguiGL_a-glmenu_imagescreen.Po' tmpdepfile='$(DEPDIR)/libORXguiGL_a-glmenu_imagescreen.TPo' @AMDEPBACKSLASH@
     259@AMDEP_TRUE@@am__fastdepCXX_FALSE@      $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
     260@am__fastdepCXX_FALSE@  $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libORXguiGL_a_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libORXguiGL_a-glmenu_imagescreen.o `test -f 'glmenu/glmenu_imagescreen.cc' || echo '$(srcdir)/'`glmenu/glmenu_imagescreen.cc
     261
     262libORXguiGL_a-glmenu_imagescreen.obj: glmenu/glmenu_imagescreen.cc
     263@am__fastdepCXX_TRUE@   if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libORXguiGL_a_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libORXguiGL_a-glmenu_imagescreen.obj -MD -MP -MF "$(DEPDIR)/libORXguiGL_a-glmenu_imagescreen.Tpo" -c -o libORXguiGL_a-glmenu_imagescreen.obj `if test -f 'glmenu/glmenu_imagescreen.cc'; then $(CYGPATH_W) 'glmenu/glmenu_imagescreen.cc'; else $(CYGPATH_W) '$(srcdir)/glmenu/glmenu_imagescreen.cc'; fi`; \
     264@am__fastdepCXX_TRUE@   then mv -f "$(DEPDIR)/libORXguiGL_a-glmenu_imagescreen.Tpo" "$(DEPDIR)/libORXguiGL_a-glmenu_imagescreen.Po"; else rm -f "$(DEPDIR)/libORXguiGL_a-glmenu_imagescreen.Tpo"; exit 1; fi
     265@AMDEP_TRUE@@am__fastdepCXX_FALSE@      source='glmenu/glmenu_imagescreen.cc' object='libORXguiGL_a-glmenu_imagescreen.obj' libtool=no @AMDEPBACKSLASH@
     266@AMDEP_TRUE@@am__fastdepCXX_FALSE@      depfile='$(DEPDIR)/libORXguiGL_a-glmenu_imagescreen.Po' tmpdepfile='$(DEPDIR)/libORXguiGL_a-glmenu_imagescreen.TPo' @AMDEPBACKSLASH@
     267@AMDEP_TRUE@@am__fastdepCXX_FALSE@      $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
     268@am__fastdepCXX_FALSE@  $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libORXguiGL_a_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libORXguiGL_a-glmenu_imagescreen.obj `if test -f 'glmenu/glmenu_imagescreen.cc'; then $(CYGPATH_W) 'glmenu/glmenu_imagescreen.cc'; else $(CYGPATH_W) '$(srcdir)/glmenu/glmenu_imagescreen.cc'; fi`
    199269uninstall-info-am:
    200 
    201 # This directory's subdirectories are mostly independent; you can cd
    202 # into them and run `make' without going through this Makefile.
    203 # To change the values of `make' variables: instead of editing Makefiles,
    204 # (1) if the variable is set in `config.status', edit `config.status'
    205 #     (which will cause the Makefiles to be regenerated when you run `make');
    206 # (2) otherwise, pass the desired values on the `make' command line.
    207 $(RECURSIVE_TARGETS):
    208         @set fnord $$MAKEFLAGS; amf=$$2; \
    209         dot_seen=no; \
    210         target=`echo $@ | sed s/-recursive//`; \
    211         list='$(SUBDIRS)'; for subdir in $$list; do \
    212           echo "Making $$target in $$subdir"; \
    213           if test "$$subdir" = "."; then \
    214             dot_seen=yes; \
    215             local_target="$$target-am"; \
    216           else \
    217             local_target="$$target"; \
    218           fi; \
    219           (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
    220            || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
    221         done; \
    222         if test "$$dot_seen" = "no"; then \
    223           $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
    224         fi; test -z "$$fail"
    225 
    226 mostlyclean-recursive clean-recursive distclean-recursive \
    227 maintainer-clean-recursive:
    228         @set fnord $$MAKEFLAGS; amf=$$2; \
    229         dot_seen=no; \
    230         case "$@" in \
    231           distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
    232           *) list='$(SUBDIRS)' ;; \
    233         esac; \
    234         rev=''; for subdir in $$list; do \
    235           if test "$$subdir" = "."; then :; else \
    236             rev="$$subdir $$rev"; \
    237           fi; \
    238         done; \
    239         rev="$$rev ."; \
    240         target=`echo $@ | sed s/-recursive//`; \
    241         for subdir in $$rev; do \
    242           echo "Making $$target in $$subdir"; \
    243           if test "$$subdir" = "."; then \
    244             local_target="$$target-am"; \
    245           else \
    246             local_target="$$target"; \
    247           fi; \
    248           (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
    249            || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
    250         done && test -z "$$fail"
    251 tags-recursive:
    252         list='$(SUBDIRS)'; for subdir in $$list; do \
    253           test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
    254         done
    255 ctags-recursive:
    256         list='$(SUBDIRS)'; for subdir in $$list; do \
    257           test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
    258         done
    259270
    260271ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
     
    268279tags: TAGS
    269280
    270 TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
     281TAGS: $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
    271282                $(TAGS_FILES) $(LISP)
    272283        tags=; \
    273284        here=`pwd`; \
    274         if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
    275           include_option=--etags-include; \
    276           empty_fix=.; \
    277         else \
    278           include_option=--include; \
    279           empty_fix=; \
    280         fi; \
    281         list='$(SUBDIRS)'; for subdir in $$list; do \
    282           if test "$$subdir" = .; then :; else \
    283             test ! -f $$subdir/TAGS || \
    284               tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
    285           fi; \
    286         done; \
    287285        list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
    288286        unique=`for i in $$list; do \
     
    297295        fi
    298296ctags: CTAGS
    299 CTAGS: ctags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
     297CTAGS: $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
    300298                $(TAGS_FILES) $(LISP)
    301299        tags=; \
     
    320318
    321319distdir: $(DISTFILES)
     320        $(mkdir_p) $(distdir)/glmenu
    322321        @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
    323322        topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
     
    346345          fi; \
    347346        done
    348         list='$(SUBDIRS)'; for subdir in $$list; do \
    349           if test "$$subdir" = .; then :; else \
    350             test -d "$(distdir)/$$subdir" \
    351             || mkdir "$(distdir)/$$subdir" \
    352             || exit 1; \
    353             (cd $$subdir && \
    354               $(MAKE) $(AM_MAKEFLAGS) \
    355                 top_distdir="../$(top_distdir)" \
    356                 distdir="../$(distdir)/$$subdir" \
    357                 distdir) \
    358               || exit 1; \
    359           fi; \
    360         done
    361347check-am: all-am
    362 check: check-recursive
    363 all-am: Makefile
    364 installdirs: installdirs-recursive
    365 installdirs-am:
    366 install: install-recursive
    367 install-exec: install-exec-recursive
    368 install-data: install-data-recursive
    369 uninstall: uninstall-recursive
     348check: check-am
     349all-am: Makefile $(LIBRARIES) $(HEADERS)
     350installdirs:
     351install: install-am
     352install-exec: install-exec-am
     353install-data: install-data-am
     354uninstall: uninstall-am
    370355
    371356install-am: all-am
    372357        @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
    373358
    374 installcheck: installcheck-recursive
     359installcheck: installcheck-am
    375360install-strip:
    376361        $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
     
    388373        @echo "This command is intended for maintainers to use"
    389374        @echo "it deletes files that may require special tools to rebuild."
    390 clean: clean-recursive
    391 
    392 clean-am: clean-generic mostlyclean-am
    393 
    394 distclean: distclean-recursive
     375clean: clean-am
     376
     377clean-am: clean-generic clean-noinstLIBRARIES mostlyclean-am
     378
     379distclean: distclean-am
     380        -rm -rf ./$(DEPDIR)
    395381        -rm -f Makefile
    396 distclean-am: clean-am distclean-generic distclean-tags
    397 
    398 dvi: dvi-recursive
     382distclean-am: clean-am distclean-compile distclean-generic \
     383        distclean-tags
     384
     385dvi: dvi-am
    399386
    400387dvi-am:
    401388
    402 html: html-recursive
    403 
    404 info: info-recursive
     389html: html-am
     390
     391info: info-am
    405392
    406393info-am:
     
    410397install-exec-am:
    411398
    412 install-info: install-info-recursive
     399install-info: install-info-am
    413400
    414401install-man:
     
    416403installcheck-am:
    417404
    418 maintainer-clean: maintainer-clean-recursive
     405maintainer-clean: maintainer-clean-am
     406        -rm -rf ./$(DEPDIR)
    419407        -rm -f Makefile
    420408maintainer-clean-am: distclean-am maintainer-clean-generic
    421409
    422 mostlyclean: mostlyclean-recursive
    423 
    424 mostlyclean-am: mostlyclean-generic
    425 
    426 pdf: pdf-recursive
     410mostlyclean: mostlyclean-am
     411
     412mostlyclean-am: mostlyclean-compile mostlyclean-generic
     413
     414pdf: pdf-am
    427415
    428416pdf-am:
    429417
    430 ps: ps-recursive
     418ps: ps-am
    431419
    432420ps-am:
     
    434422uninstall-am: uninstall-info-am
    435423
    436 uninstall-info: uninstall-info-recursive
    437 
    438 .PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am \
    439         clean clean-generic clean-recursive ctags ctags-recursive \
    440         distclean distclean-generic distclean-recursive distclean-tags \
    441         distdir dvi dvi-am html html-am info info-am install \
    442         install-am install-data install-data-am install-exec \
    443         install-exec-am install-info install-info-am install-man \
    444         install-strip installcheck installcheck-am installdirs \
    445         installdirs-am maintainer-clean maintainer-clean-generic \
    446         maintainer-clean-recursive mostlyclean mostlyclean-generic \
    447         mostlyclean-recursive pdf pdf-am ps ps-am tags tags-recursive \
    448         uninstall uninstall-am uninstall-info-am
    449 
     424.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
     425        clean-noinstLIBRARIES ctags distclean distclean-compile \
     426        distclean-generic distclean-tags distdir dvi dvi-am html \
     427        html-am info info-am install install-am install-data \
     428        install-data-am install-exec install-exec-am install-info \
     429        install-info-am install-man install-strip installcheck \
     430        installcheck-am installdirs maintainer-clean \
     431        maintainer-clean-generic mostlyclean mostlyclean-compile \
     432        mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \
     433        uninstall-am uninstall-info-am
     434
     435include $(MAINSRCDIR)/defs/include_paths.am
    450436# Tell versions [3.59,3.63) of GNU make to not export all variables.
    451437# Otherwise a system limit (for SysV at least) may be exceeded.
Note: See TracChangeset for help on using the changeset viewer.