File: Makefile

package info (click to toggle)
libgtkada2 2.8.1-6lenny3
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 13,496 kB
  • ctags: 3,886
  • sloc: ada: 103,189; ansic: 45,411; perl: 5,500; sh: 2,812; makefile: 1,169; xml: 19
file content (30 lines) | stat: -rw-r--r-- 751 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
include ../src/Makefile.common

MKDIR = mkdir -p

SOVER=${MAJOR}.${MINOR}

install: force
	${MKDIR} $(prefix)/lib/gnat/
	${MKDIR} $(prefix)/lib/gnat/gtkada
	$(MKDIR) $(prefix)/lib/pkgconfig/
	${CP} gtkada.pc $(prefix)/lib/pkgconfig/
	-${RM} ${prefix}/projects/gtkada*
	./generate_prj.sh GtkAda "${prefix}" ${BUILD_SHARED} ${SOVER}
ifeq ($(HAVE_LIBGLADE), True)
	./generate_prj.sh GtkAda_Glade "${prefix}" ${BUILD_SHARED} ${SOVER}
endif	
ifeq ($(HAVE_OPENGL), True)
	./generate_prj.sh GtkAda_GL "${prefix}" ${BUILD_SHARED} ${SOVER}
endif	
ifeq ($(HAVE_GNOME), True)
	./generate_prj.sh GtkAda_Gnome "${prefix}" ${BUILD_SHARED} ${SOVER}
endif	
	${CP} *.gpr ${prefix}/lib/gnat/
	${CP} *.lgpr ${prefix}/lib/gnat/gtkada

clean: force
	${RM} *.gpr 

force: