2000-11-11 00:45:20 +01:00
|
|
|
DEFS = @DLLFLAGS@
|
|
|
|
LDDLLFLAGS = @LDDLLFLAGS@
|
|
|
|
TOPSRCDIR = @top_srcdir@
|
|
|
|
TOPOBJDIR = ../..
|
|
|
|
SRCDIR = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
|
|
|
MODULE = none
|
|
|
|
PROGRAMS = icinfo aviinfo aviplay
|
2000-12-06 01:05:14 +01:00
|
|
|
ALL_LIBS = $(LIBWINE) $(LIBS)
|
1999-01-29 16:12:10 +01:00
|
|
|
|
2000-02-03 02:37:23 +01:00
|
|
|
SPEC_SRCS = \
|
|
|
|
icinfo.spec \
|
|
|
|
aviinfo.spec \
|
|
|
|
aviplay.spec
|
1999-01-29 16:12:10 +01:00
|
|
|
|
2000-10-23 23:39:39 +02:00
|
|
|
all: $(PROGRAMS)
|
1999-01-29 16:12:10 +01:00
|
|
|
|
|
|
|
@MAKE_RULES@
|
|
|
|
|
2000-11-11 00:45:20 +01:00
|
|
|
aviinfo.spec.c: aviinfo.spec aviinfo.o $(WINEBUILD)
|
|
|
|
$(LDPATH) $(WINEBUILD) @DLLFLAGS@ -L $(DLLDIR) -sym aviinfo.o -o aviinfo.spec.c -spec aviinfo.spec
|
2000-02-03 02:37:23 +01:00
|
|
|
|
2000-11-11 00:45:20 +01:00
|
|
|
aviplay.spec.c: aviplay.spec aviplay.o $(WINEBUILD)
|
|
|
|
$(LDPATH) $(WINEBUILD) @DLLFLAGS@ -L $(DLLDIR) -sym aviplay.o -o aviplay.spec.c -spec aviplay.spec
|
1999-01-29 16:12:10 +01:00
|
|
|
|
2000-11-11 00:45:20 +01:00
|
|
|
icinfo.spec.c: icinfo.spec icinfo.o $(WINEBUILD)
|
|
|
|
$(LDPATH) $(WINEBUILD) @DLLFLAGS@ -L $(DLLDIR) -sym icinfo.o -o icinfo.spec.c -spec icinfo.spec
|
1999-01-29 16:12:10 +01:00
|
|
|
|
2000-11-11 00:45:20 +01:00
|
|
|
aviinfo.so: aviinfo.o aviinfo.spec.o
|
|
|
|
$(LDSHARED) $(LDDLLFLAGS) -o aviinfo.so aviinfo.o aviinfo.spec.o $(ALL_LIBS)
|
|
|
|
|
|
|
|
aviplay.so: aviplay.o aviplay.spec.o
|
|
|
|
$(LDSHARED) $(LDDLLFLAGS) -o aviplay.so aviplay.o aviplay.spec.o $(ALL_LIBS)
|
|
|
|
|
|
|
|
icinfo.so: icinfo.o icinfo.spec.o
|
|
|
|
$(LDSHARED) $(LDDLLFLAGS) -o icinfo.so icinfo.o icinfo.spec.o $(ALL_LIBS)
|
|
|
|
|
|
|
|
aviinfo: aviinfo.so
|
|
|
|
$(RM) aviinfo && $(LN_S) $(TOPOBJDIR)/wine aviinfo
|
|
|
|
|
|
|
|
aviplay: aviplay.so
|
|
|
|
$(RM) aviplay && $(LN_S) $(TOPOBJDIR)/wine aviplay
|
|
|
|
|
|
|
|
icinfo: icinfo.so
|
|
|
|
$(RM) icinfo && $(LN_S) $(TOPOBJDIR)/wine icinfo
|
|
|
|
|
|
|
|
install:: $(PROGRAMS:%=%.so)
|
|
|
|
[ -d $(bindir) ] || $(MKDIR) $(bindir)
|
|
|
|
$(INSTALL_PROGRAM) aviinfo.so $(bindir)/aviinfo.so
|
|
|
|
$(INSTALL_PROGRAM) aviplay.so $(bindir)/aviplay.so
|
|
|
|
$(INSTALL_PROGRAM) icinfo.so $(bindir)/icinfo.so
|
|
|
|
cd $(bindir) && $(LN_S) wine aviinfo && $(LN_S) wine aviplay && $(LN_S) wine icinfo
|
1999-01-29 16:12:10 +01:00
|
|
|
|
2000-01-31 06:02:49 +01:00
|
|
|
uninstall::
|
2000-11-11 00:45:20 +01:00
|
|
|
$(RM) $(bindir)/aviinfo.so $(bindir)/aviplay.so $(bindir)/icinfo.so
|
|
|
|
$(RM) $(bindir)/aviinfo $(bindir)/aviplay $(bindir)/icinfo
|
|
|
|
|
|
|
|
checklink:: $(PROGRAMS:%=%.so)
|
|
|
|
$(CC) -o checklink $(TOPSRCDIR)/library/checklink.c aviinfo.so $(ALL_LIBS) && $(RM) checklink
|
|
|
|
$(CC) -o checklink $(TOPSRCDIR)/library/checklink.c aviplay.so $(ALL_LIBS) && $(RM) checklink
|
|
|
|
$(CC) -o checklink $(TOPSRCDIR)/library/checklink.c icinfo.so $(ALL_LIBS) && $(RM) checklink
|
1999-01-29 16:12:10 +01:00
|
|
|
|
|
|
|
### Dependencies:
|