VirtualBox

Ignore:
Timestamp:
Feb 12, 2009 12:47:57 PM (16 years ago)
Author:
vboxsync
Message:

cbinding: Added a new example to use dlopen/dlclose to avoid
multiple dependencies on other .so file.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/cbinding/makefile.tstLinuxC

    r16684 r16705  
    3232
    3333.PHONY: all
    34 all: tstLinuxC
     34all: tstLinuxC tstdlOpen
    3535
    3636.PHONY: clean
    3737clean:
    38         rm -f tstLinuxC.o tstLinuxC
     38        rm -f tstLinuxC.o tstLinuxC tstdlOpen.o tstdlOpen
    3939
    4040tstLinuxC: tstLinuxC.o
     
    4343tstLinuxC.o: tstLinuxC.c
    4444        $(CC) $(CFLAGS) -DRT_OS_LINUX -DMOZ_UNICODE $(INCS_XPCOM) -o $@ -c $<
     45
     46tstdlOpen: tstdlOpen.o
     47        $(CC) -o $@ $^ -ldl
     48
     49tstdlOpen.o: tstdlOpen.c
     50        $(CC) $(CFLAGS) -DRT_OS_LINUX -DMOZ_UNICODE $(INCS_XPCOM) -o $@ -c $<
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette