diff options
author | Kristian Høgsberg <krh@redhat.com> | 2008-12-03 19:57:55 -0500 |
---|---|---|
committer | Kristian Høgsberg <krh@redhat.com> | 2008-12-03 22:10:39 -0500 |
commit | 18b302ba98dda7d53b43433e2da8801f72ee7223 (patch) | |
tree | ff504f9259cbacd9f9e6c2d87976ec083e7f9d1f /Makefile.in | |
parent | a5859321caff7e3575a8f68454014c99eca09664 (diff) |
Use autoconf instead of the flaky config.mk hack.
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in new file mode 100644 index 0000000..152abb1 --- /dev/null +++ b/Makefile.in @@ -0,0 +1,43 @@ +CFLAGS = -fPIC -g @GCC_CFLAGS@ @EAGLE_CFLAGS@ +LDLIBS = @EAGLE_LIBS@ -ldl + +prefix = @prefix@ +exec_prefix = @exec_prefix@ + +all : libeagle.so test + +x11_dri2_objs = x11-dri2.o libdri2.o + +objs = eagle.o intel.o $(x11_dri2_objs) glapi/glapi.o glapi/dispatch.o glapi/glthread.o glapi/glapi_getproc.o + +$(objs) : eagle.h eagle-internal.h + +libeagle.so : $(objs) + gcc -o $@ $(objs) -shared $(LDLIBS) + +test_objs = test.o gears.o + +test : libeagle.so $(test_objs) + gcc -o $@ -L. -leagle -lm $(test_objs) + +import-glapi : + cp $(MESA_SRC)/src/mesa/main/glheader.h glapi + cp $(MESA_SRC)/src/glx/mini/dispatch.c glapi + cp $(MESA_SRC)/src/mesa/glapi/glapitemp.h glapi + cp $(MESA_SRC)/src/mesa/glapi/glprocs.h glapi + cp $(MESA_SRC)/src/mesa/glapi/glapitable.h glapi + cp $(MESA_SRC)/src/mesa/glapi/glapioffsets.h glapi + cp $(MESA_SRC)/src/mesa/glapi/glthread.h glapi + cp $(MESA_SRC)/src/mesa/glapi/glthread.c glapi + cp $(MESA_SRC)/src/mesa/glapi/glapi.h glapi + cp $(MESA_SRC)/src/mesa/glapi/glapi.c glapi + cp $(MESA_SRC)/src/mesa/glapi/glapi_getproc.c glapi + +install : libeagle.so eagle.pc + install -d @libdir@ @includedir@ @libdir@/pkgconfig + install libeagle.so @libdir@ + install eagle.h @includedir@ + install eagle.pc @libdir@/pkgconfig + +clean : + rm -f *.o glapi/*.o libeagle.so test |