File: Makefile.in

package info (click to toggle)
mc 4.1.35-1
  • links: PTS
  • area: main
  • in suites: hamm
  • size: 6,924 kB
  • ctags: 9,665
  • sloc: ansic: 84,273; tcl: 1,779; makefile: 1,266; sh: 864; perl: 262; awk: 148; sed: 93; csh: 1
file content (84 lines) | stat: -rw-r--r-- 1,664 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
72
73
74
75
76
77
78
79
80
81
82
83
84
srcdir = @srcdir@
VPATH = @srcdir@

rootdir = $(srcdir)/..
@MCFG@@MCF@

CFLAGS = $(XCFLAGS)
CPPFLAGS = $(XCPPFLAGS)
LDFLAGS = $(XLDFLAGS) 
DEFS = $(XDEFS)
LIBS = @SHADOWLIB@ $(XLIBS) @TERMNET@ @PAMLIBS@ $(XLIB)
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@
AR = @AR@

#
# Distribution variables
#

EDITSRC = edit.c editcmd.c editwidget.c edit_key_translator.c editdraw.c \
	  edit.h editmenu.c editcmddef.h wordproc.c syntax.c editoptions.c

EDITOBJS = edit.o editcmd.o editwidget.o editdraw.o editmenu.o wordproc.o \
	  syntax.o editoptions.o

DIST = 	Makefile.in README.edit $(EDITSRC)

all: @LIBEDIT_A@

.c.o:
	$(CC) -c $(CPPFLAGS) $(DEFS) $(CFLAGS) -DMIDNIGHT $<

check:
	@echo no tests are supplied.

libedit.a: $(EDITOBJS)
	$(RMF) $@
	$(AR) cr $@ $(EDITOBJS)
	-$(RANLIB) $@

mcedit:
	-$(RMF) $(DESTDIR)$(bindir)/$(binprefix)mcedit
	$(LN_S) mc $(DESTDIR)$(bindir)/$(binprefix)mcedit

showlibdep:
	@echo 'OBJS="$(EDITOBJS)"'

cross:
	$(MAKE) CC=gcc-linux CPP="gcc-linux -E" \
	CPPFLAGS="$(CPPFLAGS) -I/usr/local/lib/gcc-lib/i386-linux-linux/include/ncurses "

TAGS: $(EDITSRC)
	etags $(EDITSRC)

clean:
	$(RMF) *.o core a.out libedit.a

realclean: clean
	$(RMF) .depend
	$(RMF) TAGS
	$(RMF) *~

distclean:
	-$(RMF) $(srcdir)/*~ $(srcdir)/*.o $(srcdir)/a.out
	-$(RMF) $(srcdir)/core $(srcdir)/libedit.a
	-if test $(srcdir) = .; then $(MAKE) realclean; fi
	-$(RMF) $(srcdir)/Makefile

install: @MCEDIT@

uninstall:
	-$(RMF) $(DESTDIR)$(bindir)/$(binprefix)mcedit

distcopy:
	$(CP) $(DIST) ../../mc-$(VERSION)/edit

depend dep: mcdep

fastdeploc:

# ***Dependencies***Do not edit***
@DOTDEPEND@
# ***End of dependencies***