Ignore:
Timestamp:
Feb 16, 2009, 10:14:30 AM (15 years ago)
Author:
garnier
Message:

en test de gl2ps. Problemes de libraries

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/config/sys/Linux-g++.gmk

    r893 r921  
    4646  FCFLAGS += -fno-automatic -fno-backslash -fno-second-underscore
    4747  FCLIBS := -lg2c -lnsl
    48   ECHO    := /bin/echo -e
    49   SHEXT   := so
     48  ECHO   := /bin/echo -e
     49  SHEXT  := so
     50  ARCH   := $(shell uname -m | cut -s -d "_" -f 2)
     51
    5052  ifndef X11FLAGS
    5153    X11FLAGS  := -I/usr/include/X11/extensions -I/usr/include/X11
    5254  endif
    5355  ifndef X11LIBS
    54     X11LIBS   := -L/usr/X11R6/lib  -lXmu -lXt -lXext -lX11 -lSM -lICE
     56    X11LIBS   := -L/usr/X11R6/lib$(ARCH)  -lXmu -lXt -lXext -lX11 -lSM -lICE
    5557  endif
    5658  ifndef XMFLAGS
     
    5961  ifndef XMLIBS
    6062    XMLIBS    := -lXm -lXpm
     63  endif
     64  ifndef XAWFLAGS
     65    XAWFLAGS   := -I/usr/X11R6/include
     66  endif
     67  ifndef XAWLIBS
     68    XAWLIBS    := -lXaw
     69  endif
     70  DLDLIBS   := -ldl
     71  ifndef OGLFLAGS
     72    OGLFLAGS  := -I$(OGLHOME)/include
     73  endif
     74  ifndef OGLLIBS
     75    OGLLIBS   := -L$(OGLHOME)/lib$(ARCH) -lGLU -lGL
    6176  endif
    6277
     
    95110    QTLIBS   := -L$(QTHOME)$(QTLIBPATH)
    96111    ifeq ($(QT_VERSION),3)
    97       QT3_MT  := $(shell ls  $(QTHOME)$(QTLIBPATH)/libqt-mt.* | wc -l )
     112      QT3_MT  := $(shell ls  $(QTHOME)$(QTLIBPATH)/libqt-mt.* 2>/dev/null | wc -l )
    98113      ifneq ($(QT3_MT),0)
    99114        QTLIBS  += -lqt-mt
     
    116131#----------------------------------------------------------------------------
    117132
    118   ifndef XAWFLAGS
    119     XAWFLAGS   := -I/usr/X11R6/include
    120   endif
    121   ifndef XAWLIBS
    122     XAWLIBS    := -lXaw
    123   endif
    124   DLDLIBS   := -ldl
    125   ifndef OGLFLAGS
    126     OGLFLAGS  := -I$(OGLHOME)/include
    127   endif
    128   ifndef OGLLIBS
    129     OGLLIBS   := -L$(OGLHOME)/lib -lGLU -lGL
    130   endif
    131133  define build-granular-shared-lib
    132134    @libdir=`(cd $(@D);/bin/pwd)`; \
Note: See TracChangeset for help on using the changeset viewer.