"Fossies" - the Fresh Open Source Software Archive

Member "yudit-3.0.7/Makefile.conf" (7 Jun 2020, 2535 Bytes) of package /linux/misc/yudit-3.0.7.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Generic config files source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "Makefile.conf": 3.0.5_vs_3.0.7.

    1 ifeq ($(wildcard /etc/passwd),/etc/passwd)
    2 
    3 TOPDIR = /Users/gsinai/Build/yudit-3.0.7
    4 MSGMERGE=:
    5 HAVE_LOCALE = 
    6 HAVE_SET_IM_VALUES=
    7 NEED_SET_IM_VALUES_PROTO=
    8 prefix = /Applications/Yudit.app/Contents/MacOS
    9 exec_prefix = ${prefix}
   10 libexecdir = ${exec_prefix}/libexec
   11 bindir = ${exec_prefix}/bin
   12 datarootdir = ${prefix}/share
   13 datadir = ${prefix}/share
   14 mandir = ${datarootdir}/man
   15 LPR_COMMAND = /usr/bin/lpr
   16 LPR_CFLAGS = -DLPR_COMMAND=\"/usr/bin/lpr\"
   17 CXX = g++
   18 CXXFLAGS = -g -O2
   19 CFLAGS = -g -O2
   20 LDFLAGS = 
   21 LIBS = 
   22 TRANSLATE_LFLAGS = 
   23 CPPFLAGS = -I$(TOPDIR) -DHAVE_LONG_LONG   -Wall -DHAVE_MMAP $(CFLAGS)
   24 INSTALL = @INSTALL@
   25 YUDIT_DATA = /Applications/Yudit.app/Contents/MacOS/share/yudit
   26 INSTALL = $(TOPDIR)/bin/install-sh -c
   27 # Strip binary
   28 INSTALL_PROGRAM = $(TOPDIR)/bin/install-sh -c -s
   29 INSTALL_DATA = $(TOPDIR)/bin/install-sh -c -m 644
   30 
   31 X_CFLAGS = 
   32 X_LIBS = 
   33 X_PRE_LIBS = 
   34 X_EXTRA_LIBS = 
   35 USE_X11 = -DUSE_X11=0
   36 X11_LIB = 
   37 
   38 AR = ar cr
   39 #
   40 # For Sun's SUNWspro compiler you need to have CC's AR 
   41 # otherwise you get linking errors, like:
   42 #
   43 # SVector<SString>::__vtbl    ../stoolkit/libstoolkit.a(SStringVector.o)
   44 # [Hint: try checking whether the first non-inlined, 
   45 # non-pure virtual function of class SVector<SString> is defined]
   46 #
   47 # Todo: put this in configure.
   48 # AR = CC -xar -o 
   49 #
   50 #ALL_LIBS=wsock32.lib
   51 RANLIB=ranlib
   52 LD= $(CXX) $(LDFLAGS)
   53 LOCALE_DIR=$(YUDIT_DATA)/locale
   54 #INSTALL_DATA=/bin/cp
   55 #INSTALL_PROGRAM=/bin/cp
   56 MESSAGES=messages
   57 
   58 OBJS=$(MODULES)
   59 SPLATFORM=UNIX
   60 
   61 # Mac Support
   62 ifeq ($(shell uname -s),Darwin)
   63 SWINDOWS=OSX
   64 SWINDOW_FLAGS=-DUSE_X11=0 
   65 CPPFLAGS:=$(CPPFLAGS) -DUSE_OSX
   66 else
   67 SWINDOWS=X11
   68 SWINDOW_FLAGS=$(USE_X11) $(X_CFLAGS)
   69 endif
   70 
   71 #
   72 # This TRANSLATE_LFLAGS  should not be here. But this works on solaris...
   73 # or, does it?
   74 ALL_LIBS=$(X_EXTRA_LIBS) $(X_LIBS) $(X11_LIB) $(LIBS) $(TRANSLATE_LFLAGS)
   75 
   76 else
   77 #
   78 # TOPDIR and YUDIT_DATA is all your need.
   79 #
   80 UNIX_TOPDIR = /Users/gsinai/Build/yudit-3.0.7
   81 TOPDIR=/Build/Yudit/$(notdir $(UNIX_TOPDIR:%/=%))
   82 YUDIT_DATA=/usr/share/yudit
   83 
   84 CPPFLAGS:=$(CPPFLAGS) -nologo -DUSE_WINAPI -I$(TOPDIR)
   85 # Zi is debug on
   86 CXX=cl /Zi
   87 LD=cl  /Zi
   88 AR=lib /out:
   89 ALL_LIBS=advapi32.lib wsock32.lib shell32.lib
   90 SPLATFORM=WINDOWS
   91 SWINDOWS=WIN32
   92 SWINDOW_FLAGS=
   93 #
   94 # Do not define HAVE_WS2_32_DLL 
   95 # because it wont work on Windows95
   96 #
   97 #SWINDOW_LIBS=user32.lib ws2_32.lib gdi32.lib imm32.lib
   98 SWINDOW_LIBS=user32.lib gdi32.lib imm32.lib
   99 HAVE_LOCALE=
  100 HAVE_SET_IM_VALUES=
  101 NEED_SET_IM_VALUES_PROTO=
  102 endif
  103 
  104 ifeq (x${YUDIT_MYTOOL},x)
  105   MYTOOL := $(TOPDIR)/mytool/mytool
  106 else
  107   MYTOOL := ${YUDIT_MYTOOL}
  108 endif