2003-09-12 01:11:33 +02:00
|
|
|
DEFS = -DINCLUDEDIR="\"$(includedir)\"" -DDLLDIR="\"$(dlldir)\""
|
2003-09-11 23:27:58 +02:00
|
|
|
TOPSRCDIR = @top_srcdir@
|
|
|
|
TOPOBJDIR = ../..
|
|
|
|
SRCDIR = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
|
|
|
MODULE = none
|
|
|
|
|
|
|
|
PROGRAMS = \
|
|
|
|
winegcc \
|
|
|
|
winewrap
|
|
|
|
|
|
|
|
C_SRCS = \
|
2003-09-12 00:16:33 +02:00
|
|
|
utils.c \
|
2003-09-11 23:27:58 +02:00
|
|
|
winegcc.c \
|
|
|
|
winewrap.c
|
|
|
|
|
|
|
|
all: $(PROGRAMS)
|
|
|
|
|
|
|
|
@MAKE_RULES@
|
|
|
|
|
2003-09-12 00:16:33 +02:00
|
|
|
winegcc: winegcc.o utils.o
|
|
|
|
$(CC) $(CFLAGS) -o $@ winegcc.o utils.o $(LIBPORT)
|
2003-09-11 23:27:58 +02:00
|
|
|
|
2003-09-12 00:16:33 +02:00
|
|
|
winewrap: winewrap.o utils.o
|
|
|
|
$(CC) $(CFLAGS) -o $@ winewrap.o utils.o $(LIBPORT)
|
2003-09-11 23:27:58 +02: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 22:02:30 +02:00
|
|
|
cd $(bindir) && $(RM) winecpp && $(LN_S) winegcc winecpp
|
2003-09-11 23:27:58 +02:00
|
|
|
|
|
|
|
uninstall::
|
2003-09-15 22:02:30 +02:00
|
|
|
$(RM) $(bindir)/winegcc $(bindir)/wineg++ \
|
|
|
|
$(bindir)/winecpp $(bindir)/winewrap
|
2003-09-11 23:27:58 +02:00
|
|
|
|
|
|
|
### Dependencies:
|