2004-03-02 03:23:26 +01:00
|
|
|
DEFS = \
|
|
|
|
-DINCLUDEDIR="\"$(includedir)\"" \
|
|
|
|
-DDLLDIR="\"$(dlldir)\"" \
|
|
|
|
-DLIBDIR="\"$(libdir)\"" \
|
|
|
|
-DDLLFLAGS="\"@DLLFLAGS@\"" \
|
2004-03-24 04:34:00 +01:00
|
|
|
-DLDDLLFLAGS="\"@LDDLLFLAGS@\"" \
|
2004-03-02 03:23:26 +01:00
|
|
|
-DCC="\"$(CC)\"" \
|
2004-03-03 21:30:46 +01:00
|
|
|
-DCPP="\"@CPPBIN@\"" \
|
2004-10-08 23:11:18 +02:00
|
|
|
-DCXX="\"$(CXX)\"" \
|
|
|
|
-DLD="\"$(LD)\""
|
2004-03-02 03:23:26 +01:00
|
|
|
|
2003-09-11 23:27:58 +02:00
|
|
|
TOPSRCDIR = @top_srcdir@
|
|
|
|
TOPOBJDIR = ../..
|
|
|
|
SRCDIR = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
2004-03-25 01:13:21 +01:00
|
|
|
EXEEXT = @EXEEXT@
|
2003-09-11 23:27:58 +02:00
|
|
|
MODULE = none
|
|
|
|
|
2004-03-25 01:13:21 +01:00
|
|
|
PROGRAMS = winegcc$(EXEEXT)
|
2003-09-11 23:27:58 +02:00
|
|
|
|
|
|
|
C_SRCS = \
|
2003-09-12 00:16:33 +02:00
|
|
|
utils.c \
|
2004-02-24 02:00:53 +01:00
|
|
|
winegcc.c
|
2003-09-11 23:27:58 +02:00
|
|
|
|
|
|
|
all: $(PROGRAMS)
|
|
|
|
|
|
|
|
@MAKE_RULES@
|
|
|
|
|
2004-03-25 01:13:21 +01:00
|
|
|
winegcc$(EXEEXT): winegcc.o utils.o
|
2003-09-12 00:16:33 +02:00
|
|
|
$(CC) $(CFLAGS) -o $@ winegcc.o utils.o $(LIBPORT)
|
2003-09-11 23:27:58 +02:00
|
|
|
|
|
|
|
install:: $(PROGRAMS)
|
|
|
|
$(MKINSTALLDIRS) $(bindir)
|
2004-03-25 01:13:21 +01:00
|
|
|
$(INSTALL_PROGRAM) winegcc$(EXEEXT) $(bindir)/winegcc$(EXEEXT)
|
|
|
|
cd $(bindir) && $(RM) wineg++$(EXEEXT) && $(LN_S) winegcc$(EXEEXT) wineg++$(EXEEXT)
|
|
|
|
cd $(bindir) && $(RM) winecpp$(EXEEXT) && $(LN_S) winegcc$(EXEEXT) winecpp$(EXEEXT)
|
2003-09-11 23:27:58 +02:00
|
|
|
|
|
|
|
uninstall::
|
2004-04-17 01:29:30 +02:00
|
|
|
$(RM) $(bindir)/winegcc$(EXEEXT) $(bindir)/wineg++$(EXEEXT) $(bindir)/winecpp$(EXEEXT)
|
2003-09-11 23:27:58 +02:00
|
|
|
|
|
|
|
### Dependencies:
|