summaryrefslogtreecommitdiff
path: root/Build/source/texk/xdvik/gui/Makefile.in
blob: affe40e0b51199cb343650da34fcbff2cc84b174 (plain)
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
72
73
74
75
76
77
78
79
80
81
# @configure_input@
# Makefile for xdvik 
#
# - 1999/05/08: janl: Removed submakes for libwww and kpathsea.  That's what
#   the top makefile is for!
#


### NOTE: ac_include paths must be relative to texk/xdvik, since that
### is from where the configure is run!
kpse_include ../make/paths.mk
kpse_include ../make/library.mk
kpse_include ../make/common.mk
kpse_include ../make/programs.mk

kpathsea_parent = ../..

CPP = @CPP@
RANLIB = @RANLIB@

# Make `#include <X11/...>' and `-lX...' work.
# This matches web2c (needed only for Metafont).
x_cppflags = @X_CFLAGS@

# Extra xdvi-specific compiler options.
ps_def = @PS_DEF@ -DXSERVER_INFO
prog_cflags = @XTRA_WARN_CFLAGS@ -I.. -I$(srcdir)/.. $(x_cppflags) $(ps_def)

# Note: to be able to use one depend.mk file for both Motif/Xaw (which
# is needed since only maintainers are supposed to invoke `make depend')
# we include *all* object files and have tests for #ifdef MOTIF/XAW inside
# the files.
objects = \
    help-window.o \
    message-window.o \
    mag.o \
    menu.o \
    Panner.o \
    pagesel.o \
    print-dialog.o \
    print-log.o \
    search-dialog.o \
    selection.o \
    sfDir.o \
    sfDraw.o \
    sfPath.o \
    sfSelFile.o \
    statusline.o \
    Tip.o \
    topic-window.o \
    xaw_bitmaps.o \
    xaw_menu.o \
    xicon.o \
    xlwradio.o \
    xm_colorsel.o \
    xm_filesel.o \
    xm_menu.o \
    xm_prefs.o \
    xm_prefs_appearance.o \
    xm_prefs_fonts.o \
    xm_prefs_page.o \
    xm_prefs_scroll.o \
    xm_prefs_helpers.o \
    xm_toolbar.o

libgui.a: $(objects)
### hmm, I don't understand ar ... sometimes objects were NOT replaced.
### Play it safe and always remove the archive before creating new one.
	rm -f $@
	$(AR) $(ARFLAGS) $@ $(objects)
	$(RANLIB) $@

kpse_include ../make/dist.mk
kpse_include ../make/clean.mk

clean::
	rm -f *.o *.a

c_auto_h_dir = ..
kpse_include ../make/rdepend.mk
kpse_include ./gui/depend.mk