2003-11-28 23:10:55 +00:00
|
|
|
DEFS = -DINCLUDEDIR="\"$(includedir)\"" -DDLLDIR="\"$(dlldir)\"" -DLIBDIR="\"$(libdir)\""
|
2003-09-11 21:27:58 +00:00
|
|
|
TOPSRCDIR = @top_srcdir@
|
|
|
|
TOPOBJDIR = ../..
|
|
|
|
SRCDIR = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
|
|
|
MODULE = none
|
|
|
|
|
|
|
|
PROGRAMS = \
|
|
|
|
winegcc \
|
|
|
|
winewrap
|
|
|
|
|
|
|
|
C_SRCS = \
|
2003-09-11 22:16:33 +00:00
|
|
|
utils.c \
|
2003-09-11 21:27:58 +00:00
|
|
|
winegcc.c \
|
|
|
|
winewrap.c
|
|
|
|
|
|
|
|
all: $(PROGRAMS)
|
|
|
|
|
|
|
|
@MAKE_RULES@
|
|
|
|
|
2003-09-11 22:16:33 +00:00
|
|
|
winegcc: winegcc.o utils.o
|
|
|
|
$(CC) $(CFLAGS) -o $@ winegcc.o utils.o $(LIBPORT)
|
2003-09-11 21:27:58 +00:00
|
|
|
|
2003-09-11 22:16:33 +00:00
|
|
|
winewrap: winewrap.o utils.o
|
|
|
|
$(CC) $(CFLAGS) -o $@ winewrap.o utils.o $(LIBPORT)
|
2003-09-11 21:27:58 +00:00
|
|
|
|
|
|
|
install:: $(PROGRAMS)
|
|
|
|
$(MKINSTALLDIRS) $(bindir)
|
|
|
|
$(INSTALL_PROGRAM) winegcc $(bindir)/winegcc
|
|
|
|
$(INSTALL_PROGRAM) winewrap $(bindir)/winewrap
|
|
|
|
cd $(bindir) && $(RM) wineg++ && $(LN_S) winegcc wineg++
|
2003-09-15 20:02:30 +00:00
|
|
|
cd $(bindir) && $(RM) winecpp && $(LN_S) winegcc winecpp
|
2003-09-11 21:27:58 +00:00
|
|
|
|
|
|
|
uninstall::
|
2003-09-15 20:02:30 +00:00
|
|
|
$(RM) $(bindir)/winegcc $(bindir)/wineg++ \
|
|
|
|
$(bindir)/winecpp $(bindir)/winewrap
|
2003-09-11 21:27:58 +00:00
|
|
|
|
|
|
|
### Dependencies:
|