Makefile.in 921 Bytes
Newer Older
1 2 3 4
TOPSRCDIR = @top_srcdir@
TOPOBJDIR = ../..
SRCDIR    = @srcdir@
VPATH     = @srcdir@
Steven Edwards's avatar
Steven Edwards committed
5
EXEEXT    = @EXEEXT@
6

7
PROGRAMS = winebuild$(EXEEXT)
8
MANPAGES = winebuild.man
9 10 11
MODULE   = none

C_SRCS = \
12
	import.c \
13 14 15
	main.c \
	parser.c \
	relay.c \
16
	res16.c \
17
	res32.c \
18 19 20 21
	spec16.c \
	spec32.c \
	utils.c

22 23
INSTALLDIRS = $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man$(prog_manext)

24
all: $(PROGRAMS) $(MANPAGES)
25 26 27

@MAKE_RULES@

28
winebuild$(EXEEXT): $(OBJS)
29
	$(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBPORT) $(LDFLAGS)
30

31
install install-dev:: $(PROGRAMS) $(MANPAGES) $(INSTALLDIRS)
32 33
	$(INSTALL_PROGRAM) winebuild$(EXEEXT) $(DESTDIR)$(bindir)/winebuild$(EXEEXT)
	$(INSTALL_DATA) winebuild.man $(DESTDIR)$(mandir)/man$(prog_manext)/winebuild.$(prog_manext)
34 35

uninstall::
36
	$(RM) $(DESTDIR)$(bindir)/winebuild$(EXEEXT) $(DESTDIR)$(mandir)/man$(prog_manext)/winebuild.$(prog_manext)
37

38
@DEPENDENCIES@  # everything below this line is overwritten by make depend