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
24 exec_prefix = @
exec_prefix@
31 includedir = $(prefix)/include
37 INSTALL_PROGRAM
= @INSTALL_PROGRAM@
38 INSTALL_DATA
= @INSTALL_DATA@
40 CPPFLAGS
= @ident_support@
-I
$(srcdir) -I
$(srcdir)/..
-I.. @CPPFLAGS@ @DEFS@ @PICFLAG@
41 CFLAGS
= -Wall @CFLAGS@
48 all: dep cadpli.vpl
$(ALL32
)
50 # No specific check operations.
57 $(CC
) $(CPPFLAGS
) $(CFLAGS
) -MD
-c
$<
62 SYSTEM_VPI_LDFLAGS
= -L..
/vvp
-lvpi
64 SYSTEM_VPI_LDFLAGS
+= @EXTRALIBS@
67 cadpli.vpl
: $O ..
/vvp
/libvpi.a ..
/libveriuser
/libveriuser.o
68 $(CC
) @shared@
-o
$@
$O ..
/libveriuser
/libveriuser.o
$(SYSTEM_VPI_LDFLAGS
)
71 rm -rf
*.o dep cadpli.vpl bin32
74 rm -f Makefile config.status config.log config.cache
76 install: all installdirs $(vpidir
)/cadpli.vpl
$(INSTALL32
)
78 $(vpidir
)/cadpli.vpl
: .
/cadpli.vpl
79 $(INSTALL_PROGRAM
) .
/cadpli.vpl
$(vpidir
)/cadpli.vpl
81 installdirs: ..
/mkinstalldirs
82 $(srcdir)/..
/mkinstalldirs
$(vpidir
)
84 uninstall: $(UNINSTALL32
)
85 rm -f
$(vpidir
)/cadpli.vpl
89 -include $(patsubst %.o
, dep
/%.d
, $O)