2004-03-02 03:23:26 +01:00
|
|
|
DEFS = \
|
|
|
|
-DINCLUDEDIR="\"$(includedir)\"" \
|
|
|
|
-DDLLDIR="\"$(dlldir)\"" \
|
|
|
|
-DLIBDIR="\"$(libdir)\"" \
|
|
|
|
-DDLLFLAGS="\"@DLLFLAGS@\"" \
|
|
|
|
-DLDDLLFLAGS="\"$(LDDLLFLAGS)\"" \
|
|
|
|
-DCC="\"$(CC)\"" \
|
2004-03-03 21:30:46 +01:00
|
|
|
-DCPP="\"@CPPBIN@\"" \
|
2004-03-02 03:23:26 +01:00
|
|
|
-DCXX="\"$(CXX)\""
|
|
|
|
|
2003-09-11 23:27:58 +02:00
|
|
|
TOPSRCDIR = @top_srcdir@
|
|
|
|
TOPOBJDIR = ../..
|
|
|
|
SRCDIR = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
|
|
|
MODULE = none
|
|
|
|
|
2004-02-24 02:00:53 +01:00
|
|
|
PROGRAMS = winegcc
|
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@
|
|
|
|
|
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
|
|
|
|
|
|
|
install:: $(PROGRAMS)
|
|
|
|
$(MKINSTALLDIRS) $(bindir)
|
|
|
|
$(INSTALL_PROGRAM) winegcc $(bindir)/winegcc
|
|
|
|
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::
|
2004-02-24 02:00:53 +01:00
|
|
|
$(RM) $(bindir)/winegcc $(bindir)/wineg++ $(bindir)/winecpp
|
2003-09-11 23:27:58 +02:00
|
|
|
|
|
|
|
### Dependencies:
|