File: Makefile.conf.in

package info (click to toggle)
yudit 2.5.4-2
  • links: PTS
  • area: main
  • in suites: woody
  • size: 8,528 kB
  • ctags: 8,403
  • sloc: cpp: 59,394; ansic: 2,585; perl: 2,398; makefile: 864; sh: 321
file content (71 lines) | stat: -rw-r--r-- 1,618 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
ifeq ($(wildcard /etc/passwd),/etc/passwd)

TOPDIR = @TOPDIR@
MSGMERGE=@MSGMERGE@
prefix = @prefix@
exec_prefix = @exec_prefix@
libexecdir = @libexecdir@
bindir = @bindir@
datadir = @datadir@
mandir = @mandir@
LPR_COMMAND = @LPR_COMMAND@
LPR_CFLAGS = @LPR_CFLAGS@
CXX = @CXX@
CXXFLAGS = @CXXFLAGS@
CFLAGS = @CFLAGS@
LDFLAGS = @LDFLAGS@
LIBS = @LIBS@
TRANSLATE_LFLAGS = @GETTEXT_LFLAGS@
CPPFLAGS = -I$(TOPDIR) @CPPFLAGS@ -Wall -DHAVE_MMAP $(CFLAGS)
INSTALL = @INSTALL@
YUDIT_DATA = @YUDIT_DATA@
INSTALL = $(TOPDIR)/bin/install-sh -c
# Strip binary
INSTALL_PROGRAM = $(TOPDIR)/bin/install-sh -c -s
INSTALL_DATA = $(TOPDIR)/bin/install-sh -c -m 644

X_CFLAGS = @X_CFLAGS@
X_LIBS = @X_LIBS@
X_PRE_LIBS = @X_PRE_LIBS@
X_EXTRA_LIBS = @X_EXTRA_LIBS@

AR = ar cr
RANLIB=ranlib
LD= $(CXX) $(LDFLAGS)
LOCALE_DIR=$(YUDIT_DATA)/locale
#INSTALL_DATA=/bin/cp
#INSTALL_PROGRAM=/bin/cp
MESSAGES=messages

OBJS=$(MODULES)
SPLATFORM=UNIX
SWINDOWS=X11
SWINDOW_FLAGS=-DUSE_X11=1 $(X_CFLAGS)
#
# This TRANSLATE_LFLAGS  should not be here. But this works on solaris...
# or, does it?
ALL_LIBS=$(X_EXTRA_LIBS) $(X_LIBS) -lX11 $(LIBS) $(TRANSLATE_LFLAGS)

else
#
# TOPDIR and YUDIT_DATA is all your need.
#
TOPDIR=/Yudit/yudit-2.5.4
YUDIT_DATA=/usr/share/yudit

CPPFLAGS:=$(CPPFLAGS) -nologo -DUSE_WINAPI -I$(TOPDIR)
# Zi is debug on
CXX=cl /Zi
LD=cl  /Zi
AR=lib /out:
#ALL_LIBS=wsock32.lib
ALL_LIBS=advapi32.lib wsock32.lib
SPLATFORM=WINDOWS
SWINDOWS=WIN32
SWINDOW_FLAGS=
#SWINDOW_LIBS=user32.lib
#SWINDOW_LIBS=user32.lib ws2_32.lib
#SWINDOW_LIBS=user32.lib ws2_32.lib gdi32.lib
SWINDOW_LIBS=user32.lib ws2_32.lib gdi32.lib imm32.lib
endif