2001-11-24 18:07:08 +01:00
|
|
|
DEFS = @DLLFLAGS@ -DSTRICT -DNONAMELESSUNION -DNONAMELESSSTRUCT
|
2000-11-11 00:45:20 +01:00
|
|
|
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-10-23 23:39:39 +02:00
|
|
|
all: $(PROGRAMS)
|
1999-01-29 16:12:10 +01:00
|
|
|
|
|
|
|
@MAKE_RULES@
|
|
|
|
|
2002-05-12 01:06:32 +02:00
|
|
|
aviinfo.spec.c: aviinfo.o $(WINEBUILD)
|
|
|
|
$(LDPATH) $(WINEBUILD) @DLLFLAGS@ -sym aviinfo.o -o aviinfo.spec.c -exe aviinfo -mgui -L$(DLLDIR) -lkernel32 -lntdll
|
2000-02-03 02:37:23 +01:00
|
|
|
|
2002-05-12 01:06:32 +02:00
|
|
|
aviplay.spec.c: aviplay.o $(WINEBUILD)
|
|
|
|
$(LDPATH) $(WINEBUILD) @DLLFLAGS@ -sym aviplay.o -o aviplay.spec.c -exe aviplay -mgui -L$(DLLDIR) -lddraw -lkernel32 -lntdll
|
1999-01-29 16:12:10 +01:00
|
|
|
|
2002-05-12 01:06:32 +02:00
|
|
|
icinfo.spec.c: icinfo.o $(WINEBUILD)
|
|
|
|
$(LDPATH) $(WINEBUILD) @DLLFLAGS@ -sym icinfo.o -o icinfo.spec.c -exe icinfo -mgui -L$(DLLDIR) -lmsvfw32 -lkernel32 -lntdll
|
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)
|
2002-05-09 06:31:39 +02:00
|
|
|
$(MKINSTALLDIRS) $(bindir)
|
2000-11-11 00:45:20 +01:00
|
|
|
$(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)
|
2002-05-09 02:05:48 +02:00
|
|
|
$(CC) -o checklink $(TOPSRCDIR)/library/checklink.c aviinfo.so && $(RM) checklink
|
|
|
|
$(CC) -o checklink $(TOPSRCDIR)/library/checklink.c aviplay.so && $(RM) checklink
|
|
|
|
$(CC) -o checklink $(TOPSRCDIR)/library/checklink.c icinfo.so && $(RM) checklink
|
1999-01-29 16:12:10 +01:00
|
|
|
|
|
|
|
### Dependencies:
|