2 # This source code is free software; you can redistribute it
3 # and/or modify it in source code form under the terms of the GNU
4 # Library General Public License as published by the Free Software
5 # Foundation; either version 2 of the License, or (at your option)
8 # This program is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY; without even the implied warranty of
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 # GNU Library General Public License for more details.
13 # You should have received a copy of the GNU Library General Public
14 # License along with this program; if not, write to the Free
15 # Software Foundation, Inc.,
16 # 59 Temple Place - Suite 330
17 # Boston, MA 02111-1307, USA
19 #ident "$Id: Makefile.in,v 1.13 2007/02/06 05:07:31 steve Exp $"
27 exec_prefix = @
exec_prefix@
34 includedir = $(prefix)/include
36 vpidir
= @
libdir@
/ivl
/@vpidir1@
40 INSTALL_PROGRAM
= @INSTALL_PROGRAM@
41 INSTALL_DATA
= @INSTALL_DATA@
43 CPPFLAGS
= @ident_support@
-I
$(srcdir) -I
$(srcdir)/..
-I.. @CPPFLAGS@ @DEFS@ @PICFLAG@
44 CFLAGS
= -Wall @CFLAGS@
51 ifeq (@enable_vvp32@
,yes
)
52 vpidir32
= $(libdir)/ivl
/@vpidir2@
55 UNINSTALL32
= uninstall32
56 include $(srcdir)/enable_vvp32.mk
59 all: dep cadpli.vpl
$(ALL32
)
61 # No specific check operations.
68 $(CC
) $(CPPFLAGS
) $(CFLAGS
) -MD
-c
$<
73 SYSTEM_VPI_LDFLAGS
= -L..
/vvp
-lvpi
75 SYSTEM_VPI_LDFLAGS
+= @EXTRALIBS@
78 cadpli.vpl
: $O ..
/vvp
/libvpi.a ..
/libveriuser
/libveriuser.o
79 $(CC
) @shared@
-o
$@
$O ..
/libveriuser
/libveriuser.o
$(SYSTEM_VPI_LDFLAGS
)
82 rm -rf
*.o dep cadpli.vpl bin32
85 rm -f Makefile config.status config.log config.cache
87 install: all installdirs $(vpidir
)/cadpli.vpl
$(INSTALL32
)
89 $(vpidir
)/cadpli.vpl
: .
/cadpli.vpl
90 $(INSTALL_PROGRAM
) .
/cadpli.vpl
$(vpidir
)/cadpli.vpl
92 installdirs: ..
/mkinstalldirs
93 $(srcdir)/..
/mkinstalldirs
$(vpidir
)
95 uninstall: $(UNINSTALL32
)
96 rm -f
$(vpidir
)/cadpli.vpl
100 ifeq (@enable_vvp32@
,yes
)
101 include $(srcdir)/enable_vvp32.mk
104 -include $(patsubst %.o
, dep
/%.d
, $O)